Skip to main content

Module full_node

Module full_node 

Source
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

Type Aliases§

SharedBlockchain