service

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2020 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCheckpointService added in v0.5.10

func NewCheckpointService(ethServ *eth.Ethereum) (node.Service, error)

func NewMasternodeService

func NewMasternodeService(ethServ *eth.Ethereum, owner common.Address) (node.Service, error)

Types

type CheckpointProposalEvent added in v0.6.0

type CheckpointProposalEvent struct {
	core.Checkpoint
	Proposal common.Address
}

type CheckpointService added in v0.5.10

type CheckpointService struct {
	// contains filtered or unexported fields
}

func (*CheckpointService) APIs added in v0.5.10

func (c *CheckpointService) APIs() []rpc.API

func (*CheckpointService) Protocols added in v0.5.10

func (c *CheckpointService) Protocols() []p2p.Protocol

func (*CheckpointService) Start added in v0.5.10

func (c *CheckpointService) Start(server *p2p.Server) (err error)

func (*CheckpointService) Stop added in v0.5.10

func (c *CheckpointService) Stop() error

type MasternodeService

type MasternodeService struct {
	// contains filtered or unexported fields
}

func (*MasternodeService) APIs

func (m *MasternodeService) APIs() []rpc.API

func (*MasternodeService) Protocols

func (m *MasternodeService) Protocols() []p2p.Protocol

func (*MasternodeService) Start

func (m *MasternodeService) Start(server *p2p.Server) error

func (*MasternodeService) Stop

func (m *MasternodeService) Stop() error

Jump to

Keyboard shortcuts

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