This repository is now maintained at https://code.samourai.io/dojo/addrindexrs
An efficient addresses indexer based on Electrs by Roman Zeyde.
The server indexes the entire Bitcoin blockchain, and the resulting index enables fast queries allowing to keep real-time track of the transaction history of Bitcoin addresses. Since it runs on the user's own machine, there is no need for the wallet to communicate with external servers, thus preserving the privacy of the user's addresses and balances.
- Maintains an index over transaction inputs and outputs, allowing fast queries of the history of a Bitcoin address
- Fast synchronization of the Bitcoin blockchain (~2 hours for ~187GB @ July 2018) on modest hardware
- Low index storage overhead (~20%), relying on a local full node for transaction retrieval
- Efficient mempool tracker
- Low CPU & memory usage (after initial indexing)
- Uses a single RocksDB database, for better consistency and crash recovery
See here for installation, build and usage instructions.
The database schema is described here.