dcrd/blockchain/indexers
Matheus Degiovani 893802fc06 multi: Use database/v3 module
This updates all users of the github.com/decred/dcrd/databasev/2 module
to use the recently introduced v3 version.

Replace directives are added as needed to ease development while the
final version of the database/v3 v3.0.0 isn't tagged.

The relevant documentation is also updated to use the new database/v3
module.
2021-08-02 09:13:45 -05:00
..
addrindex_test.go multi: Correct typos. 2019-08-22 10:20:03 -05:00
addrindex.go multi: Use database/v3 module 2021-08-02 09:13:45 -05:00
common.go multi: Use database/v3 module 2021-08-02 09:13:45 -05:00
dropcfindex.go multi: Use database/v3 module 2021-08-02 09:13:45 -05:00
existsaddrindex.go multi: Use database/v3 module 2021-08-02 09:13:45 -05:00
log.go blockchain: Remove deprecated code. 2019-08-08 13:10:21 -05:00
manager.go multi: Use database/v3 module 2021-08-02 09:13:45 -05:00
README.md multi: Update README.md files for go modules. 2021-01-22 14:39:23 -06:00
txindex.go multi: Use database/v3 module 2021-08-02 09:13:45 -05: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.