dcrd/blockchain/indexers
Donald Adu-Poku daf6c25c9f indexers: update indexer error types.
This updates the wire error types to leverage go 1.13 errors.Is/As
functionality as well as confirm to the error infrastructure best
practices outlined in #2181.
2021-12-05 01:38:15 -06:00
..
addrindex_test.go indexers: Convert to use stdscript. 2021-11-18 12:55:10 -06:00
addrindex.go indexers: update indexer error types. 2021-12-05 01:38:15 -06:00
common.go indexers: update indexer error types. 2021-12-05 01:38:15 -06:00
dropcfindex.go multi: Use database/v3 module 2021-08-02 09:13:45 -05:00
error_test.go indexers: update indexer error types. 2021-12-05 01:38:15 -06:00
error.go indexers: update indexer error types. 2021-12-05 01:38:15 -06:00
existsaddrindex_test.go indexers: Convert to use stdscript. 2021-11-18 12:55:10 -06:00
existsaddrindex.go indexers: update indexer error types. 2021-12-05 01:38:15 -06:00
indexsubscriber_test.go multi: avoid using subscriber lifecycle in catchup. 2021-10-12 18:52:50 -05:00
indexsubscriber.go indexers: update indexer error types. 2021-12-05 01:38:15 -06:00
log.go blockchain: Remove deprecated code. 2019-08-08 13:10:21 -05:00
README.md multi: Update README.md files for go modules. 2021-01-22 14:39:23 -06:00
spendconsumer_test.go blockchain: Don't use deprecated ioutil package. 2021-10-28 03:13:14 -05:00
spendconsumer.go multi: avoid using subscriber lifecycle in catchup. 2021-10-12 18:52:50 -05:00
txindex_test.go blockchain: Don't use deprecated ioutil package. 2021-10-28 03:13:14 -05:00
txindex.go indexers: update indexer error types. 2021-12-05 01:38:15 -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 and Updating

This package is part of the github.com/decred/dcrd/blockchain/v3 module. Use the standard go tooling for working with modules to incorporate it.

License

Package indexers is licensed under the copyfree ISC License.