reth::core::primitives::revm_primitives::alloy_primitives

Function normalize_v

pub const fn normalize_v(v: u64) -> Option<bool>
Expand description

Attempts to normalize the v value to a boolean parity value.

Returns None if the value is invalid for any of the known Ethereum parity encodings.