reth_primitives::proofs

Function calculate_transaction_root

Source
pub fn calculate_transaction_root<T>(transactions: &[T]) -> B256
Expand description

Calculate a transaction root.

(rlp(index), encoded(tx)) pairs.