Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseCmd ¶
ParseCmd returns the command that should be run when we want to start parsing a chain state.
func StartParsing ¶
StartParsing represents the function that should be called when the parse command is executed
Types ¶
type Config ¶
type Config interface { GetRegistrar() registrar.Registrar GetConfigParser() types.ConfigParser GetDBBuilder() db.Builder GetLogger() logging.Logger }
Config contains all the configuration for the "parse" command
type Context ¶
type Context struct { GlobalCfg types.Config Proxy client.ClientProxy Database db.Database Logger logging.Logger Modules []modules.Module Pool pool.Pool SlotQueue types.SlotQueue }
Context contains the parsing context
func GetParsingContext ¶
GetParsingContext setups all the things that should be later passed to StartParsing in order to parse the chain data properly.
Click to show internal directories.
Click to hide internal directories.