Is there a way to limit time of queued transaction or remove them ?

I am using PoA network (Geth)


You can manually remove transactions by shutting down the node and deleting transactions.rlp in your geth folder.

As for limiting transactions, like your previous comment mentions --txpool.lifetime controls the amount of time a txn will sit in the queue. You may set it to be more or less than default value of 3 hours like so: --txpool.lifetime 0h5m0s

  • and what happens after the "0h5m0s" ? what the rpc client got as a response?
    – maroodb
    Oct 30 '19 at 7:51
  • I set --txpool.lifetime 0h0m3s but it didn't work for me
    – maroodb
    Oct 30 '19 at 9:07
  • This only affects on the txpool.queued txns.
    – fixanoid
    Oct 30 '19 at 13:51
  • it didnt affects anything
    – maroodb
    Oct 30 '19 at 13:55
  • can anyone help?
    – maroodb
    Oct 31 '19 at 15:54

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.