Skip to main content

add_fee_accounts_to_state

Function add_fee_accounts_to_state 

Source
pub async fn add_fee_accounts_to_state<I: NodeImplementation<SeqTypes>>(
    consensus_handle: &ConsensusHandle<SeqTypes, I>,
    view: &ViewNumber,
    accounts: &[FeeAccount],
    tree: &FeeMerkleTree,
    leaf: Leaf2,
) -> Result<()>
Expand description

Add accounts to the in-memory consensus state. We use this during catchup after receiving verified accounts.