Expand description
Full node logic
Modules§
- auto_
peer - Handles public node discovery, and connection. A daemon
- ibd
- IBD Logic
- mempool
- Stores all currently pending transactions, that are waiting to be mined
- node_
state - Stores current node state, shared between threads
- p2p_
server - Listens for incoming peer connections
Functions§
- accept_
block - Accept a new block to the local blockchain, and forward it to all peers
- accept_
transaction - Accept a new block to the local blockchain, and forward it to all peers
- connect_
peer - Connect to a peer
- create_
full_ node - Creates a full node (SharedBlockchain and SharedNodeState), connecting to peers, accepting blocks and transactions
- to_
peers - Forward a message to all peers