Documentation ¶
Index ¶
- func CreateAcc(accName, accKey, creatorKey string, css iservices.IConsensus) error
- func DisableBP(name, sk string, css iservices.IConsensus) error
- func EnableBP(name, sk string, css iservices.IConsensus) error
- func RegisterBP(name, sk string, css iservices.IConsensus) error
- type CommitInfo
- type Components
- type Monitor
- type NodeState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBP ¶
func RegisterBP(name, sk string, css iservices.IConsensus) error
Types ¶
type CommitInfo ¶
func NewCommitInfo ¶
func NewCommitInfo() *CommitInfo
func (*CommitInfo) Commit ¶
func (ci *CommitInfo) Commit(b common.ISignedBlock)
func (*CommitInfo) ConfirmationTimeInfo ¶
func (ci *CommitInfo) ConfirmationTimeInfo() []float64
func (*CommitInfo) MarginStepInfo ¶
func (ci *CommitInfo) MarginStepInfo() []float64
type Components ¶
type Components struct { ConsensusSvc iservices.IConsensus P2pSvc iservices.IP2P State NodeState }
type Monitor ¶
func NewMonitor ¶
func NewMonitor(c []*Components) *Monitor
Click to show internal directories.
Click to hide internal directories.