dcrd/blockchain/indexers
2018-02-18 12:26:52 -06:00
..
addrindex_test.go multi: fix misspell linter warnings 2018-02-18 12:26:52 -06:00
addrindex.go multi: fix misspell linter warnings 2018-02-18 12:26:52 -06:00
common.go blockchain/indexers: Allow interrupts. 2018-02-18 11:18:52 -06:00
existsaddrindex.go blockchain/indexers: Allow interrupts. 2018-02-18 11:18:52 -06:00
log.go indexers: Implement optional tx/address indexes. 2016-08-18 15:42:18 -04:00
manager.go blockchain/indexers: Allow interrupts. 2018-02-18 11:18:52 -06:00
README.md multi: Update markdown in README files to match change in github parser. 2017-05-26 12:06:19 -04:00
txindex.go multi: fix misspell linter warnings 2018-02-18 12:26:52 -06:00

indexers

Build Status ISC License GoDoc

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
    • Requires the transaction-by-hash index

Installation

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

License

Package indexers is licensed under the copyfree ISC License.