Expand description
Utilities runner for the Blockchain Application.
Functions used by the main menu.
List, transact and reset the blockchain sample application.
Functionsยง
- commit_
mine_ crypto - Commit the mined transaction to the database.
- get_
pending_ transactions - Get pending transactions.
- get_
pending_ txrn - Get pending transactions.
- get_
previous_ hash - Retrieve the last hash in the chain.
- get_
transaction - Retrieve the tx_id from the existing map.
- get_
wallet_ addresses - Get wallet data.
- list_
blockchain - List blockchain data.
- load_
blockchain - Load blockchain data.
- mine_
crypto - Mine a pending transaction.
- mine_
transactions ๐ - Mine Transactions from Mempool.
- reset_
sample_ data - Reset Sample Data.
- save_
to_ ๐db - Save to mongoDB.
- send_
crypto - Crypto transaction from one wallet to another.
- validate_
txn ๐ - Validate the transaction details.
- view_
wallet - View wallet data.