Skip to main content

accept_block

Function accept_block 

Source
pub async fn accept_block(
    light_node_state: &SharedLightNodeState,
    new_block: Block,
) -> Result<(), PeerError>
Expand description

Accept a new block to the local blockchain, and forward it to all peers