python app.py
Runs a light-weight node made available via Flask webserver
- /chain/list - GET
retrieves a list of blocks which makes up the blochain on the current node. - /transaction/new - POST
submits a new transaction to be added to the current node's blockchain when the next block mined. - /mine - POST
instructs the node to mine the next block - /node/register - POST
submits a list of active nodes on the blockchain network - /node/resolve - POST
attempts to identify the longest chain on the network and replaces the chain on the current node with the longest chain.