Function darkfi::validator::verification::apply_transaction

source ยท
async fn apply_transaction(
    overlay: &BlockchainOverlayPtr,
    verifying_block_height: u32,
    block_target: u32,
    tx: &Transaction,
    tree: &mut MerkleTree,
) -> Result<()>
Expand description

Apply given Transaction to the provided overlay. Additionally, append its hash to the provided Merkle tree.