Function reth_basic_payload_builder::is_better_payload
source ยท pub fn is_better_payload(
best_payload: Option<impl BuiltPayload>,
new_fees: U256,
) -> bool
Expand description
Checks if the new payload is better than the current best.
This compares the total fees of the blocks, higher is better.