Function darkfi::validator::verification::apply_producer_transaction
source ยท async fn apply_producer_transaction(
overlay: &BlockchainOverlayPtr,
verifying_block_height: u32,
block_target: u32,
tx: &Transaction,
tree: &mut MerkleTree,
) -> Result<PublicKey>
Expand description
Apply given producer Transaction
to the provided overlay, without formal verification.
Returns transaction signature public key. Additionally, append its hash to the provided Merkle tree.