lbcd/blockchain/indexers
Dave Collins 915fa6639b
multi: Simplify code per gosimple linter.
This simplifies the code based on the recommendations of the gosimple
lint tool.
2016-11-03 13:00:35 -05:00
..
addrindex.go multi: Correct misspellings detected by misspell. 2016-10-28 09:43:38 -05:00
addrindex_test.go multi: Correct misspellings detected by misspell. 2016-10-28 09:43:38 -05:00
blocklogger.go indexers: Implement optional tx/address indexes. 2016-04-11 17:16:42 -05:00
common.go database: Replace with new version. 2016-04-12 14:55:15 -05:00
log.go indexers: Implement optional tx/address indexes. 2016-04-11 17:16:42 -05:00
manager.go multi: Simplify code per gosimple linter. 2016-11-03 13:00:35 -05:00
README.md indexers: Implement optional tx/address indexes. 2016-04-11 17:16:42 -05:00
txindex.go chainhash: Abstract hash logic to new package. (#729) 2016-08-08 14:04:33 -05:00

indexers

[Build Status] (https://travis-ci.org/btcsuite/btcd)

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

Documentation

[GoDoc] (http://godoc.org/github.com/btcsuite/btcd/blockchain/indexers)

Full go doc style documentation for the project can be viewed online without installing this package by using the GoDoc site here: http://godoc.org/github.com/btcsuite/btcd/blockchain/indexers

You can also view the documentation locally once the package is installed with the godoc tool by running godoc -http=":6060" and pointing your browser to http://localhost:6060/pkg/github.com/btcsuite/btcd/blockchain/indexers

Installation

$ go get -u github.com/btcsuite/btcd/blockchain/indexers

License

Package indexers is licensed under the copyfree ISC License.