Git Product home page Git Product logo

defichain-electrumx's Introduction

image

image

DeFiChain ElectrumX - Reimplementation of electrum-server

Licence

MIT

Language

Python (>= 3.8)

Original Author

Neil Booth

This project is a fork of spesmilo/electrumx with expanded features to work with DeFiChain. Refer to defichain-electrum for integration.

DeFiChain ElectrumX allows users to run their own DeFiChain Electrum server. It connects to your full node and indexes the blockchain, allowing efficient querying of the history and DeFiChain token balance of arbitrary addresses. The server can be exposed publicly, and joined to the public network of servers via peer discovery.

Documentation

DeFiChain ElectrumX is using identical dependencies as upstream. See original documentation readthedocs for setup detail.

defichain-electrumx's People

Contributors

bauerj avatar cipig avatar cryptcoin-junkey avatar cunhasb avatar ddude1 avatar domob1812 avatar ecdsa avatar erasmospunk avatar eukreign avatar evil-maid avatar fr3aker avatar ivan-zynesis avatar jeremyrand avatar justintarthur avatar laodc avatar lclc avatar peerchemist avatar pooler avatar romanz avatar shsmith avatar sombernight avatar sphericale avatar subpar42 avatar thelazier avatar valesi avatar wakiyamap avatar whizz avatar wo01 avatar yakimka avatar zebra-lucky avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

defichain-electrumx's Issues

Service crash: DB cursor counter overflow

Background:

Oct 14 15:49:52 electrum-server electrumx_server[1354572]:   File "/home/ubuntu/.local/lib/python3.8/site-packages/electrumx/server/block_processor.py", line 356, in flush
Oct 14 15:49:52 electrum-server electrumx_server[1354572]:     self.db.flush_dbs(self.flush_data(), flush_utxos,
Oct 14 15:49:52 electrum-server electrumx_server[1354572]:   File "/home/ubuntu/.local/lib/python3.8/site-packages/electrumx/server/db.py", line 244, in flush_dbs
Oct 14 15:49:52 electrum-server electrumx_server[1354572]:     self.flush_history()
Oct 14 15:49:52 electrum-server electrumx_server[1354572]:   File "/home/ubuntu/.local/lib/python3.8/site-packages/electrumx/server/db.py", line 313, in flush_history
Oct 14 15:49:52 electrum-server electrumx_server[1354572]:     self.history.flush()
Oct 14 15:49:52 electrum-server electrumx_server[1354572]:   File "/home/ubuntu/.local/lib/python3.8/site-packages/electrumx/server/history.py", line 160, in flush
Oct 14 15:49:52 electrum-server electrumx_server[1354572]:     flush_id = pack_be_uint16(self.flush_count)
Oct 14 15:49:52 electrum-server electrumx_server[1354572]: struct.error: 'H' format requires 0 <= number <= 65535
Oct 14 15:49:52 electrum-server systemd[1]: electrumx.service: Succeeded.

related to spesmilo#88
Unable to flush history due to DB cursor counter > 64k

Proposed solution:

Setup cron job for electrumx_compact_history

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.