Comments (3)
Any success in getting it to work?
from electrumx.
Using rocksdb, my sync got caught at block 3,611,692, where it crashes trying to deserialize inputs. Although prior to that it had actually been working without issue for about 3 weeks.
Mar 16 16:55:20 fl electrumx_server[2062428]: INFO:electrumx:ElectrumX server starting
Mar 16 16:55:20 fl electrumx_server[2062428]: INFO:electrumx:logging level: INFO
Mar 16 16:55:20 fl electrumx_server[2062428]: INFO:Controller:Python version: 3.7.9 (default, Aug 18 2020, 02:07:21) [GCC 9.3.0]
Mar 16 16:55:20 fl electrumx_server[2062428]: INFO:Controller:software version: ElectrumX 1.16.0
Mar 16 16:55:20 fl electrumx_server[2062428]: INFO:Controller:aiorpcX version: 0.18.5
Mar 16 16:55:20 fl electrumx_server[2062428]: INFO:Controller:supported protocol versions: 1.4-1.4.2
Mar 16 16:55:20 fl electrumx_server[2062428]: INFO:Controller:event loop policy: None
Mar 16 16:55:20 fl electrumx_server[2062428]: INFO:Controller:reorg limit is 2,000 blocks
Mar 16 16:55:20 fl electrumx_server[2062428]: INFO:Daemon:daemon #1 at 127.0.0.1:22555/ (current)
Mar 16 16:55:20 fl electrumx_server[2062428]: INFO:DB:switching current directory to /home/ex/db
Mar 16 16:55:20 fl electrumx_server[2062428]: INFO:DB:using rocksdb for DB backend
Mar 16 16:55:21 fl electrumx_server[2062428]: INFO:DB:opened UTXO DB (for sync: True)
Mar 16 16:55:21 fl electrumx_server[2062428]: INFO:DB:UTXO DB version: 8
Mar 16 16:55:21 fl electrumx_server[2062428]: INFO:DB:coin: Dogecoin
Mar 16 16:55:21 fl electrumx_server[2062428]: INFO:DB:network: mainnet
Mar 16 16:55:21 fl electrumx_server[2062428]: INFO:DB:height: 3,611,692
Mar 16 16:55:21 fl electrumx_server[2062428]: INFO:DB:tip: fd38f9282099649d38cbd046032f413a6db4a3d5e7e7557e73d3251336640b0a
Mar 16 16:55:21 fl electrumx_server[2062428]: INFO:DB:tx count: 71,176,859
Mar 16 16:55:21 fl electrumx_server[2062428]: INFO:DB:flushing DB cache at 2,048 MB
Mar 16 16:55:22 fl electrumx_server[2062428]: INFO:History:history DB version: 1
Mar 16 16:55:22 fl electrumx_server[2062428]: INFO:History:flush count: 14,268
Mar 16 16:55:22 fl electrumx_server[2062428]: INFO:DB:deleted 16,743 stale undo entries
Mar 16 16:55:22 fl electrumx_server[2062428]: INFO:SessionManager:RPC server listening on localhost:8000
Mar 16 16:55:22 fl electrumx_server[2062428]: INFO:Prefetcher:catching up to daemon height 3,648,553 (36,861 blocks behind)
Mar 16 16:55:23 fl electrumx_server[2062428]: INFO:Prefetcher:cancelled; prefetcher stopping
Mar 16 16:55:23 fl electrumx_server[2062428]: INFO:SessionManager:closing down server for rpc://localhost:8000
Mar 16 16:55:23 fl electrumx_server[2062428]: INFO:Controller:shutting down
Mar 16 16:55:23 fl electrumx_server[2062428]: INFO:Controller:shutdown complete
Mar 16 16:55:23 fl electrumx_server[2062428]: ERROR:electrumx:ElectrumX server terminated abnormally
Mar 16 16:55:23 fl electrumx_server[2062428]: Traceback (most recent call last):
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/bin/electrumx_server", line 35, in main
Mar 16 16:55:23 fl electrumx_server[2062428]: asyncio.run(controller.run())
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/lib/python3.7/asyncio/runners.py", line 43, in run
Mar 16 16:55:23 fl electrumx_server[2062428]: return loop.run_until_complete(main)
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
Mar 16 16:55:23 fl electrumx_server[2062428]: return future.result()
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/lib/python3.7/dist-packages/electrumx/lib/server_base.py", line 129, in run
Mar 16 16:55:23 fl electrumx_server[2062428]: await server_task
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/lib/python3.7/dist-packages/electrumx/lib/server_base.py", line 102, in serve
Mar 16 16:55:23 fl electrumx_server[2062428]: await self.serve(shutdown_event)
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/lib/python3.7/dist-packages/electrumx/server/controller.py", line 134, in serve
Mar 16 16:55:23 fl electrumx_server[2062428]: await group.spawn(wait_for_catchup())
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/lib/python3.7/dist-packages/aiorpcx/curio.py", line 242, in __aexit__
Mar 16 16:55:23 fl electrumx_server[2062428]: await self.join()
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/lib/python3.7/dist-packages/aiorpcx/curio.py", line 211, in join
Mar 16 16:55:23 fl electrumx_server[2062428]: raise task.exception()
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/lib/python3.7/dist-packages/electrumx/server/block_processor.py", line 702, in fetch_and_process_blocks
Mar 16 16:55:23 fl electrumx_server[2062428]: await group.spawn(self._process_prefetched_blocks())
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/lib/python3.7/dist-packages/aiorpcx/curio.py", line 242, in __aexit__
Mar 16 16:55:23 fl electrumx_server[2062428]: await self.join()
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/lib/python3.7/dist-packages/aiorpcx/curio.py", line 211, in join
Mar 16 16:55:23 fl electrumx_server[2062428]: raise task.exception()
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/lib/python3.7/dist-packages/electrumx/server/block_processor.py", line 663, in _process_prefetched_blocks
Mar 16 16:55:23 fl electrumx_server[2062428]: await self.check_and_advance_blocks(blocks)
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/lib/python3.7/dist-packages/electrumx/server/block_processor.py", line 222, in check_and_advance_blocks
Mar 16 16:55:23 fl electrumx_server[2062428]: for n, raw_block in enumerate(raw_blocks)]
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/lib/python3.7/dist-packages/electrumx/server/block_processor.py", line 222, in <listcomp>
Mar 16 16:55:23 fl electrumx_server[2062428]: for n, raw_block in enumerate(raw_blocks)]
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/lib/python3.7/dist-packages/electrumx/lib/coins.py", line 256, in block
Mar 16 16:55:23 fl electrumx_server[2062428]: txs = cls.DESERIALIZER(raw_block, start=len(header)).read_tx_block()
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/lib/python3.7/dist-packages/electrumx/lib/tx.py", line 152, in read_tx_block
Mar 16 16:55:23 fl electrumx_server[2062428]: return [read() for _ in range(self._read_varint())]
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/lib/python3.7/dist-packages/electrumx/lib/tx.py", line 152, in <listcomp>
Mar 16 16:55:23 fl electrumx_server[2062428]: return [read() for _ in range(self._read_varint())]
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/lib/python3.7/dist-packages/electrumx/lib/tx.py", line 142, in read_tx_and_hash
Mar 16 16:55:23 fl electrumx_server[2062428]: return self.read_tx(), self.TX_HASH_FN(self.binary[start:self.cursor])
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/lib/python3.7/dist-packages/electrumx/lib/tx.py", line 130, in read_tx
Mar 16 16:55:23 fl electrumx_server[2062428]: self._read_inputs(), # inputs
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/lib/python3.7/dist-packages/electrumx/lib/tx.py", line 156, in _read_inputs
Mar 16 16:55:23 fl electrumx_server[2062428]: return [read_input() for i in range(self._read_varint())]
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/lib/python3.7/dist-packages/electrumx/lib/tx.py", line 156, in <listcomp>
Mar 16 16:55:23 fl electrumx_server[2062428]: return [read_input() for i in range(self._read_varint())]
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/lib/python3.7/dist-packages/electrumx/lib/tx.py", line 162, in _read_input
Mar 16 16:55:23 fl electrumx_server[2062428]: self._read_varbytes(), # script
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/lib/python3.7/dist-packages/electrumx/lib/tx.py", line 188, in _read_varbytes
Mar 16 16:55:23 fl electrumx_server[2062428]: return self._read_nbytes(self._read_varint())
Mar 16 16:55:23 fl electrumx_server[2062428]: File "/usr/local/lib/python3.7/dist-packages/electrumx/lib/tx.py", line 184, in _read_nbytes
Mar 16 16:55:23 fl electrumx_server[2062428]: assert self.binary_length >= end
Mar 16 16:55:23 fl electrumx_server[2062428]: AssertionError
Switched to leveldb and still a few hours away from this mark. I don't know if it's the same issue - usually 'Killed' happens when RAM runs low or too many threads are being called. I'm still a few hours away from catching back up on the sync so we'll see if it works I suppose.
EDIT: Looks like my issue is the same as #99
from electrumx.
Can confirm that solution in #99 fixed the issue for me
from electrumx.
Related Issues (20)
- I get an error: electrumx.server.block_processor.ChainError: UTXO xxx / 0 not found in "h" table HOT 2
- Build fails on Fedora 39 (worked on 38) - plyvel doesn't build HOT 1
- new release, new git tag HOT 1
- error when installing on Debian Stable: This environment is externally managed HOT 2
- Please use a LRU library available in major distributions HOT 1
- OverflowError while running python electrumx_server in latest version, previuos veron is working. HOT 1
- version not the latest HOT 2
- ssl ports randomly close HOT 5
- ElectrumX Deutsche eMark (DEM) doesn't work HOT 1
- DESERIALIZER
- PermissionError: [Errno 13] Permission denied HOT 4
- electrumx crashes on debian 12 HOT 3
- Issue Report: Inaccurate Data Retrieval for Specific Addresses
- server start normaly but after 4 or 5 mit it show this error. plaese provide correct answers. HOT 4
- please solve this. HOT 3
- electrumx_rpc returns unknown method for every command HOT 2
- Are High Disk Writes Expected? HOT 3
- Abnormal termination with hashXs[hashX].remove(tx_hash) KeyError
- Electrumx won't start because UTXO not found in "h" table, but it's a confirmed tx HOT 1
- I have a PIVX frok that does not work! HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electrumx.