Documentation
¶
Index ¶
- type Bootstrapper
- type Options
- type Snapshotter
- type Superviser
- func (s *Superviser) GetCommand() string
- func (s *Superviser) GetName() string
- func (s *Superviser) HasData() bool
- func (s *Superviser) LastSeenBlockNum() uint64
- func (s *Superviser) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (s *Superviser) ServerID() (string, error)
- func (s *Superviser) Start(options ...nodeManager.StartOption) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bootstrapper ¶
type Bootstrapper struct {
// contains filtered or unexported fields
}
func NewBootstrapper ¶
func NewBootstrapper(dataURL string, dataDirPath string, logger *zap.Logger) *Bootstrapper
func (*Bootstrapper) Bootstrap ¶
func (b *Bootstrapper) Bootstrap() error
type Options ¶
type Options struct { BinaryPath string Arguments []string DataDirPath string RCPPort string LogToZap bool DebugFirehoseLogs bool HeadBlockUpdateFunc nodeManager.HeadBlockUpdater }
type Snapshotter ¶
type Snapshotter struct {
// contains filtered or unexported fields
}
func NewSnapshotter ¶
func NewSnapshotter(localDir, genesisURL string, snapshotStore, mergedBlockStore dstore.Store) *Snapshotter
func (*Snapshotter) RequiresStop ¶
func (s *Snapshotter) RequiresStop() bool
func (*Snapshotter) Restore ¶
func (s *Snapshotter) Restore(snapshotName string) error
type Superviser ¶
type Superviser struct { *superviser.Superviser // contains filtered or unexported fields }
func NewSuperviser ¶
func (*Superviser) GetCommand ¶
func (s *Superviser) GetCommand() string
func (*Superviser) GetName ¶
func (s *Superviser) GetName() string
func (*Superviser) HasData ¶
func (s *Superviser) HasData() bool
func (*Superviser) LastSeenBlockNum ¶
func (s *Superviser) LastSeenBlockNum() uint64
func (*Superviser) MarshalLogObject ¶
func (s *Superviser) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*Superviser) ServerID ¶
func (s *Superviser) ServerID() (string, error)
func (*Superviser) Start ¶
func (s *Superviser) Start(options ...nodeManager.StartOption) error
Click to show internal directories.
Click to hide internal directories.