Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = module.Module{ {Constructor: NewConfig}, {Constructor: NewIndexer}, }
Module indexer worker
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Addresses []string ChainSize int ScanTimeout time.Duration SyncTimeout time.Duration }
Config is worker settings
type Indexer ¶
type Indexer struct {
// contains filtered or unexported fields
}
Indexer - is a worker, that find transactions in block-chain
func (*Indexer) SyncBlocks ¶
SyncBlocks to sync blocks and transactions:
Click to show internal directories.
Click to hide internal directories.