zipcontext

package
v0.0.0-...-24e5678 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2023 License: LGPL-3.0 Imports: 16 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL