Expand description
Main Web runner for the Blockchain Application.
Function main.
List, transact and reset the blockchain sample application.
Structsยง
- AppState ๐
- Struct AppState.
- Send
Crypto ๐Request - Struct SendCryptoRequest.
Staticsยง
- STATIC_
DIR ๐ - Path definition to static file location.
Functionsยง
- commit_
mine_ ๐trxn - Save mined transaction to database.
- get_
pending_ ๐transactions - Get pending transactions.
- get_
previous_ ๐hash - Get previous hash.
- get_
wallet_ ๐addresses - Get the wallet address.
- index ๐
- Index page for the server.
- list_
blockchain ๐ - List the blockchain.
- main ๐
- Function main for the Web blockchain application.
- mine_
trxn ๐ - Mine a pending transaction.
- reset_
sample_ ๐data - Reset sample data to genesis block.
- send_
crypto ๐ - Send crypto one wallet to another.
- serve_
static_ ๐file - Function to server static files.
- view_
wallet ๐ - Display wallet details.
- websocket_
handler ๐ - Start web socket for mining transaction.