to be
a problem slover

purge local queued tx in geth

本地交易阻塞

通过本地节点发的交易因为 nonce 值没控制好,在本地造成了阻塞,44 笔交易在本地没发出去。

geth attach ./geth.ipc
> txpool.status
{
  pending: 44,
  queued: 1
}

导致这个账号通过本地节点再也不能发交易。

解决办法

step1: 将 geth 节点停掉

step2: 找到 geth data 目录,删除transactions.rlp文件, 这个文件就是 rlp encoded transaction 数据

step3: 重启 geth 节点

参考资料

https://github.com/ethereum/go-ethereum/issues/16284#issuecomment-371450865

https://ethereum.stackexchange.com/questions/1774/geth-how-to-clear-queued-transactions

赞(2) 打赏
欢迎转载,注明出处:刘世明的博客 » purge local queued tx in geth

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下作者

支付宝扫一扫打赏

微信扫一扫打赏