Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource limits for transaction pool #2156

Open
JamesHinshelwood opened this issue Jan 14, 2025 · 0 comments
Open

Resource limits for transaction pool #2156

JamesHinshelwood opened this issue Jan 14, 2025 · 0 comments

Comments

@JamesHinshelwood
Copy link
Contributor

Add limits on how users can enter transactions into the transaction pool.

See https://docs.erigon.tech/advanced/configuring#txpool for inspiration.

--txpool.api.addr: Set the txPool api network address (default: use value of --private.api.addr)
--txpool.disable Experimental external pool and block producer, see ./cmd/txpool/readme.md for more info. Disabling internal txpool and block producer. (default: false)
--txpool.pricebump Price bump percentage to replace an already existing transaction (default: 10)
--txpool.pricelimit Minimum gas price (fee cap) limit to enforce for acceptance into the pool (default: 1)
--txpool.locals: Comma separated accounts to treat as locals (no flush, priority inclusion)
--txpool.nolocals: Disables price exemptions for locally submitted transactions (default: false)
--txpool.accountslots: Set the minimum number of executable transaction slots guaranteed per account (default: 16)
--txpool.blobslots: Set the max allowed total number of blobs (within type-3 txs) per account (default: 48)
--txpool.blobpricebump: Price bump percentage to replace existing (type-3) blob transaction (default: 100)
--txpool.totalblobpoollimit: Set the total limit of number of all blobs in txs within the txpool (default: 480)
--txpool.globalslots: Set the maximum number of executable transaction slots for all accounts (default: 10000)
--txpool.globalbasefeeslots: Set the maximum number of non-executable transactions where only not enough baseFee (default: 30000)
--txpool.accountqueue: Set the maximum number of non-executable transaction slots permitted per account (default: 64)
--txpool.globalqueue: Set the maximum number of non-executable transaction slots for all accounts (default: 30000)
--txpool.lifetime: Set the maximum amount of time non-executable transaction are queued (default: 3h0m0s)
--txpool.trace.senders: Set the comma-separated list of addresses, whose transactions will traced in transaction pool with debug printing
--txpool.commit.every: Set the how often transactions should be committed to the storage (default: 15s)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant