Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZipContextService ¶
type ZipContextService struct { types.ServiceBase // contains filtered or unexported fields }
ZipContextService is provides initContext info files
func NewZipContextService ¶
func NewZipContextService(api *apiserver.APIServer, st *chain.Store, savePath string, zipInterval uint32) *ZipContextService
NewZipContextService returns a ZipContextService
func (*ZipContextService) Name ¶
func (s *ZipContextService) Name() string
Name returns the name of the service
func (*ZipContextService) OnBlockConnected ¶
func (s *ZipContextService) OnBlockConnected(b *types.Block, loader types.Loader)
OnBlockConnected called when a block is connected to the chain
func (*ZipContextService) ZipContext ¶
func (s *ZipContextService) ZipContext(savePath string) (filePath string, err error)
Click to show internal directories.
Click to hide internal directories.