Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Iterator ¶
type Iterator interface { // Each calls `fn` for each tick of transactions it queries. An optional "ranges" may be given which will control // the start and end ticks queried. If neither are supplied, each will call `fn` from tick 0 to the last tick stored // onchain. If only a single number is supplied, `Each` assumes this to be the tick from which to start the queries. // If both are supplied, `Each` will call `fn` for ticks ranges[0] and ranges[1] (inclusive). Each(fn func(batch []*TxBatch, tick, timestamp uint64) error, ranges ...uint64) error }
Iterator provides functionality to iterate over transactions stored onchain.
Click to show internal directories.
Click to hide internal directories.