Expand description
The blockchain manager interface.
This module contains all the functions to mutate the blockchain’s state in any way, through the blockchain manager.
Enums§
- Incoming
Block Error - An error that can be returned from
handle_incoming_block
.
Statics§
- COMMAND_
TX 🔒 - The channel used to send
BlockchainManagerCommand
s to the blockchain manager.
Functions§
- block_
exists 🔒 - Check if we have a block with the given hash.
- handle_
incoming_ block - Try to add a new block to the blockchain.