dcrd/blockchain/indexers
2020-07-01 00:56:08 -05:00
..
addrindex_test.go multi: Correct typos. 2019-08-22 10:20:03 -05:00
addrindex.go chaincfg: Start v3 module dev cycle. 2020-01-29 13:24:14 -06:00
cfindex.go chaincfg: Start v3 module dev cycle. 2020-01-29 13:24:14 -06:00
common.go indexers: convert to contexts 2019-11-19 11:19:32 -06:00
existsaddrindex.go chaincfg: Start v3 module dev cycle. 2020-01-29 13:24:14 -06:00
log.go blockchain: Remove deprecated code. 2019-08-08 13:10:21 -05:00
manager.go chaincfg: Start v3 module dev cycle. 2020-01-29 13:24:14 -06:00
README.md indexers: Fix existsaddridx description. 2020-07-01 00:56:08 -05:00
txindex.go indexers: convert to contexts 2019-11-19 11:19:32 -06:00

indexers

Build Status ISC License Doc

Package indexers implements optional block chain indexes.

These indexes are typically used to enhance the amount of information available via an RPC interface.

Supported Indexers

  • Transaction-by-hash (txbyhashidx) Index
    • Creates a mapping from the hash of each transaction to the block that contains it along with its offset and length within the serialized block
  • Transaction-by-address (txbyaddridx) Index
    • Creates a mapping from every address to all transactions which either credit or debit the address
    • Requires the transaction-by-hash index
  • Address-ever-seen (existsaddridx) Index
    • Stores a key with an empty value for every address that has ever existed and was seen by the client
  • Committed Filter (cfindexparentbucket) Index
    • Stores all committed filters and committed filter headers for all blocks in the main chain

Installation

$ go get -u github.com/decred/dcrd/blockchain/indexers

License

Package indexers is licensed under the copyfree ISC License.