Startup error with bitcoin core 23.0
See original GitHub issueINFO:2022-04-25 17:11:27,328: Synchronizing mempool . . .
Traceback (most recent call last):
File "/home/norbert/.local/bin/electrum-personal-server", line 8, in <module>
sys.exit(main())
File "/home/norbert/.local/lib/python3.8/site-packages/electrumpersonalserver/server/common.py", line 494, in main
run_electrum_server(rpc, txmonitor, config)
File "/home/norbert/.local/lib/python3.8/site-packages/electrumpersonalserver/server/common.py", line 121, in run_electrum_server
mempool_sync.initial_sync(logger)
File "/home/norbert/.local/lib/python3.8/site-packages/electrumpersonalserver/server/mempoolhistogram.py", line 57, in initial_sync
self.poll_update(-1)
File "/home/norbert/.local/lib/python3.8/site-packages/electrumpersonalserver/server/mempoolhistogram.py", line 111, in poll_update
fee_rate = 1e8*mempool_tx["fee"] // mempool_tx["vsize"]
KeyError: 'fee'
Issue Analytics
- State:
- Created a year ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Bitcoin Core 0.23 installer incompatible with Windows ...
Try downloading the current version 0.23 of Bitcoin Core for Windows from the official site : the installer (EXE) is corrupted (won't run, ......
Read more >bitcoind 23.0 crashed mysteriously after 2 hours, what do I do ...
This made me start to suspect disk hardware errors. So I ran this check: $ sudo apt-get install smartmontools $ sudo smartctl -H...
Read more >Bitcoin Core 23.0
This release includes new features, various bug fixes and performance improvements, as well as updated translations. Please report bugs using the issue tracker ......
Read more >[bitcoin-core-dev] Bitcoin Core 23.0 released
Please report bugs using the issue tracker at GitHub: ... Upgrading directly from a version of Bitcoin Core that has reached its EOL...
Read more >Running A Full Node - Bitcoin.org
To start Bitcoin Core daemon, first open a command window: press the Windows key ( ⊞ Win ) and type “cmd”. Choose the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As well as what @hMsats wrote, you can also fix this by adding
deprecatedrpc=fees
to yourbitcoin.conf
file and then restarting Bitcoin Core.The same kind of thing happened with this other issue: https://github.com/chris-belcher/electrum-personal-server/issues/247
I found a work around for now:
In
/home/user/.local/lib/python3.8/site-packages/electrumpersonalserver/server/mempoolhistogram.py
I changed line 108:
mempool_tx = self.rpc.call("getmempoolentry", [txid])
into
mempool_tx = self.rpc.call("getmempoolentry -deprecatedrpc=fees", [txid])
and EPS was working again. This was changed in version 23 of Bitcoin Core