Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientProxy ¶
func NewClientProxy(cfg types.Config) (client.ClientProxy, error)
NewClientProxy allows to build a new Proxy instance
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 GetFixContext ¶
GetFixContext setups all the things that should be later passed in order to fix the chain data of missing blocks properly.
Click to show internal directories.
Click to hide internal directories.