dcrd/blockchain/indexers
Ryan Staudt 065222e2bc multi: Remove treasury flag from several funcs.
This removes the treasury agenda flag from the several functions since
it is now unused due to it being removed from the stake.IsSSGen
function.
2022-05-08 11:47:32 -05:00
..
addrindex_test.go indexers: fix indexer wait for sync. 2022-03-28 18:25:34 -05:00
addrindex.go multi: Remove treasury flag from several funcs. 2022-05-08 11:47:32 -05:00
common.go blockchain: Remove unused params. 2022-04-11 17:22:18 -05:00
dropcfindex.go blockchain: Remove unused params. 2022-04-11 17:22:18 -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: fix indexer wait for sync. 2022-03-28 18:25:34 -05:00
existsaddrindex.go blockchain/stake: Start v5 module dev cycle. 2022-05-08 11:47:32 -05:00
indexsubscriber_test.go indexers: fix indexer wait for sync. 2022-03-28 18:25:34 -05:00
indexsubscriber.go indexers: fix indexer wait for sync. 2022-03-28 18:25:34 -05: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: Start v5 module dev cycle. 2022-03-24 12:44:05 -05:00
spendconsumer.go multi: avoid using subscriber lifecycle in catchup. 2021-10-12 18:52:50 -05:00
txindex_test.go indexers: fix indexer wait for sync. 2022-03-28 18:25:34 -05:00
txindex.go blockchain: Remove unused params. 2022-04-11 17:22:18 -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.