Skip to content

An efficient index of bitcoin addresses based on electrs. Fork of addrindexrs of Samourai Wallet

License

Notifications You must be signed in to change notification settings

CounterpartyXCP/addrindexrs

Repository files navigation

Bitcoin Address Indexer in Rust

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.

Features

  • 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

Usage

See here for installation, build and usage instructions.

Index database

The database schema is described here.

About

An efficient index of bitcoin addresses based on electrs. Fork of addrindexrs of Samourai Wallet

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages