7

I logged both getBlock('pending').transactions.length and txpool.status.pending while the Aragon ICO was ongoing. I'm interested in seeing transactions as they are coming to my node.

The two graphs are significantly different. The txpool pending txs counts goes up well above 2000 (which is sort of the number I remember seeing on Etherscan), yet the getBlock('pending').transactions.length never goes above 500, and seems to reset to 0 once in a while.

One explanation could be that getBlock('pending').transactions give me transactions that my node has witnessed since the start of the current pending block? Is that correct?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.