Skip to main content

Module light_node

Module light_node 

Source
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

Type Aliases§

SharedLightNodeState