An efficient implementation of Electrum Server.
The motivation behind this project is to improve the Bitcoin Cash infrastructure for lightweight clients, providing them with efficient backend services.
ElectrsCash extends the original Electrum protocol, supporting additional technology well established in the ecosystem such as CashAccounts.
The server indexes the entire Bitcoin Cash blockchain, and the resulting index enables fast queries for any given user wallet, allowing the user to keep real-time track of his balances and his transaction history using the Electron Cash wallet. Since it runs on the user's own machine, there is no need for the wallet to communicate with external Electrum servers, thus preserving the privacy of the user's addresses and balances.
txindex
is not required for the Bitcoin node, however it does improve performanceSee here for installation, build and usage instructions.
The database schema is described here.
Run unit tests with cargo test
.
Integration tests are included in the Bitcoin Unlimited test set. Look for tests prefixed with electrum_
.
To run the tests, you need to:
- Clone and build Bitcoin Unlimited.
- run ./contrib/run_functional_tests.sh
.