docs: clarify txpool docs (#16833)

This commit is contained in:
Skylar Ray
2025-06-16 22:20:29 +03:00
committed by GitHub
parent c4da80abaa
commit b4a0823063
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ use reth_storage_errors::provider::{ProviderError, ProviderResult};
/// Enum to control transaction hash inclusion.
///
/// This serves as a hint to the provider to include or omit exclude hashes because hashes are
/// This serves as a hint to the provider to include or omit hashes because hashes are
/// stored separately and are not always needed.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Default)]
pub enum TransactionVariant {

View File

@@ -14,7 +14,7 @@ bitflags::bitflags! {
pub(crate) struct TxState: u8 {
/// Set to `1` if all ancestor transactions are pending.
const NO_PARKED_ANCESTORS = 0b10000000;
/// Set to `1` of the transaction is either the next transaction of the sender (on chain nonce == tx.nonce) or all prior transactions are also present in the pool.
/// Set to `1` if the transaction is either the next transaction of the sender (on chain nonce == tx.nonce) or all prior transactions are also present in the pool.
const NO_NONCE_GAPS = 0b01000000;
/// Bit derived from the sender's balance.
///