Documentation
¶
Index ¶
Constants ¶
View Source
const DUST_LIMIT = ONE_DOGE / 100 // 0.01 DOGE
View Source
const ONE_DOGE = 100_000_000 // 1 DOGE
View Source
const RETRY_DELAY = 5 * time.Second // for RPC and Database errors.
Variables ¶
View Source
var Zeroes = [32]byte{}
Functions ¶
func NewIndexer ¶
func NewIndexer(db spec.Store, blocks chan walker.BlockOrUndo, trimSpentAfter int64) governor.Service
* NewIndexer creates an Indexer service that tracks the ChainState. * * `onlyScriptType` is an optional ScriptType to index (if this is 0, * all standard spendable UTXOs are indexed, including multisig.
Types ¶
Click to show internal directories.
Click to hide internal directories.