Expand description
Light node logic
Modules§
- block_
meta_ store - Handles storing downloaded block meta
- initial_
block_ download - Starts initial block download
- interesting_
blocks - Handles storing blocks that the node might be interested in
- light_
node_ state - Handles Light Node State
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_
light_ node - Creates a full node (SharedBlockchain and SharedNodeState), connecting to peers, accepting blocks and transactions