Questions tagged [txpool]

Questions about Ethereum's pool of pending transactions: the txpool / mempool.

Questions about Ethereum's pool of pending transactions: the txpool / mempool.

178 questions
25
votes
1 answer

What is the max size of transactions can clients like geth keep in txpool?

What is the limit of transactions Ethereum clients can keep in transaction pool? Geth can keep 64 transactions per address according to this answer, but what is the max size of total transactions in txpool?
Satoshi Nakanishi
  • 5,749
  • 7
  • 38
  • 57
6
votes
2 answers

How to configure max txpool memory size

What is the default txpool memory size in geth? How can I change the txpool memory size? According to What is the max size of transactions can clients like geth keep in txpool?, "The number of transactions in the pending transaction pool is…
Satoshi Nakanishi
  • 5,749
  • 7
  • 38
  • 57
3
votes
0 answers

What explains the "saw teeth" shape of the pending transactions graph?

The graph of pending Ethereum transaction does not seem to show a flat line, rather, it looks like "saw teeth" with the number of pending transactions rising slowly for an hour or so and then dropping off sharpy within a minute. What explains this…
Poglavar
  • 103
  • 1
  • 6
2
votes
1 answer

Can my transaction be confirmed after I've cancelled it?

Title is self-explanatory. It is my understanding that the way blocks are mined, the miner takes a snapshot of a collection o transactions at time T and starts solving the puzzle. But what happens if I cancel my transaction at T+1sec? Will the…
Hiperfly
  • 459
  • 4
  • 11
1
vote
1 answer

How does the tx pool handle txs from same address with consecutive nonce?

I have two questions here. First one is about the txs from same address with consecutive nonce. When we use promoteExecutables to move txs from future queue to pending list, it compares the balance of all the txs with consecutive nonce with the…
1
vote
0 answers

"Dropped" transaction - is it rejected or will it come back?

I have a dropped transaction. Now I am wondering: Should I create a new transaction or will that same transaction maybe "go back" into the txpool? So is this transaction now completely cancelled or will it be put in again? Thanks!
dkb
  • 723
  • 1
  • 5
  • 20
0
votes
0 answers

Encountering Error in Token Swap: TRANSFER_FROM_FAILED Slippage

I'm encountering an issue while attempting to execute a token swap using the contract function swapExactTokensForETHSupportingFeeOnTransferTokens. The transaction reverted with the error message: TransferHelper: TRANSFER_FROM_FAILED Slippage. Could…
0
votes
1 answer

How accurate is the ethers js pending transactions listener?

My understanding is that the lib's wsProvider.on('pending') method acts as a wrapper around the appropriate geth json-rpc method to listen for transactions in the mempool (pending transactions). I tried to dig up documentation on this rpc method,…
0
votes
0 answers

How to tell if a tx on etherscan is private?

What is the easiest way to take a tx hash and see if it's true or false that is a private tx? Would be nice to not have to manually compare so any suggestions to circumvent that would be greatly regarded.
0
votes
1 answer

Txpool contains pre or post smart contract execution state?

I am trying to learn more about txpool and at what state transactions in it are in the overall lifecycle of an Ethereum transaction. If I have a transaction that is going to call a smart contract, the transaction will have data that will be passed…
elgringo
  • 3
  • 1
0
votes
0 answers

How can I speed up my node mempool to fetching pendding tx faster

My node seems too slow to get pending transaction and broadcast my transaction. Is there some way to speed up?