mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
docs: clarify txpool docs (#16833)
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user