Skip to main content

zcash_deserialize_block_transactions

Function zcash_deserialize_block_transactions 

Source
fn zcash_deserialize_block_transactions<R: Read>(
    reader: &mut Take<R>,
) -> Result<Vec<Arc<Transaction>>, SerializationError>
Expand description

Deserializes a block’s transactions, rejecting them once they average fewer than MIN_TRANSPARENT_TX_SIZE bytes, so a small message can’t parse into many transactions.