Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { GenesisFilePath string `yaml:"genesis_file_path,omitempty"` Workers int64 `yaml:"workers"` StartHeight int64 `yaml:"start_height"` AvgBlockTime *time.Duration `yaml:"average_block_time"` ParseNewBlocks bool `yaml:"listen_new_blocks"` ParseOldBlocks bool `yaml:"parse_old_blocks"` ParseGenesis bool `yaml:"parse_genesis"` FastSync bool `yaml:"fast_sync,omitempty"` }
func DefaultParsingConfig ¶
func DefaultParsingConfig() Config
DefaultParsingConfig returns the default instance of Config
Click to show internal directories.
Click to hide internal directories.