Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoreContext ¶
type CoreContext struct { P2pClient *p2p.P2pClient VmManager provider.Manager Cm *config.ConfigManager ReportClient chain.ReportClient SubstrateApi *gsrpc.SubstrateAPI TimerService *utils.TimerService EventContext *event.EventContext EventService event.IEventService ChainListener *listener.ChainListener }
CoreContext the application context , wrapped with some bean
func (*CoreContext) GetConfig ¶
func (c *CoreContext) GetConfig() *config.Config
func (*CoreContext) InitP2p ¶ added in v1.3.0
func (c *CoreContext) InitP2p() error
func (*CoreContext) InitSubstrate ¶ added in v1.2.0
func (c *CoreContext) InitSubstrate() error
func (*CoreContext) ResetSubstrate ¶ added in v1.3.0
func (c *CoreContext) ResetSubstrate() error
Click to show internal directories.
Click to hide internal directories.