package
Version:
v0.10.5
Opens a new window with list of versions in this module.
Published: Nov 1, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
TxIndex is the simplest possible indexer, backed by Key-Value storage (levelDB).
It could only index transaction by its identifier.
NewTxIndex returns new instance of TxIndex.
Batch writes a batch of transactions into the TxIndex storage.
Get gets transaction from the TxIndex storage and returns it or nil if the
transaction is not found.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.