Code Monkey home page Code Monkey logo

Comments (6)

SomberNight avatar SomberNight commented on August 25, 2024 1

Maybe bitcoind responded to getrawmempool with garbage?

hex_hashes = await self.api.mempool_hashes()
if height != await self.api.height():
continue
hashes = {hex_str_to_hash(hh) for hh in hex_hashes}

async def mempool_hashes(self):
'''Update our record of the daemon's mempool hashes.'''
return await self._send_single('getrawmempool')

from electrumx.

github12101 avatar github12101 commented on August 25, 2024

I am not sure how I can check that. Both bitcoind and electrumX have been started 7 days ago. Bitcoind continues to operate, its uptime is 7d 19h, it works just fine but electrumX has crashed like explained above. I am using newest bitcoind binary 0.20.1.

from electrumx.

atroxes avatar atroxes commented on August 25, 2024

I also seem to be experiencing this exact issue.

from electrumx.

atroxes avatar atroxes commented on August 25, 2024

Yep, keeps happening here as well:

Sep 28 11:41:26 INFO:ElectrumX:[74666] disconnected whilst throttled
Sep 28 11:41:26 INFO:ElectrumX:[45710] disconnected whilst throttled
Sep 28 11:41:26 INFO:ElectrumX:[414] disconnected whilst throttled
Sep 28 11:41:26 INFO:ElectrumX:[28204] disconnected whilst throttled
Sep 28 11:41:26 INFO:ElectrumX:[32754] disconnected whilst throttled
Sep 28 11:41:26 INFO:Prefetcher:cancelled; prefetcher stopping
Sep 28 11:41:26 INFO:BlockProcessor:flushing to DB for a clean shutdown...
Sep 28 11:41:26 INFO:Controller:shutting down
Sep 28 11:41:26 INFO:Controller:shutdown complete
Sep 28 11:41:26 ERROR:electrumx:ElectrumX server terminated abnormally

from electrumx.

atroxes avatar atroxes commented on August 25, 2024

Anecdotal update: Was using aiorpcX 0.18.3. Forced update to aiorpcX 0.18.4 and no crashes for 8 hours. So far so good.

Update to aiorpcX 0.18.4:
pip install -Ifv aiorpcX==0.18.4

from electrumx.

github12101 avatar github12101 commented on August 25, 2024

Anecdotal update: Was using aiorpcX 0.18.3. Forced update to aiorpcX 0.18.4 and no crashes for 8 hours. So far so good.

Update to aiorpcX 0.18.4:
pip install -Ifv aiorpcX==0.18.4

8 hours is nothing. My electrumx crashes regularly with different errors with uptime from less than 1 day up to 10 days, and I have aiorpcX at 0.18.4. Test for longer period of time.

from electrumx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.