Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PeersInfo ¶
type PeersInfo struct {
LastLib uint64
LastBlock uint64
Addr string
Port string
Account string
NodeType string
ChainId string
Version uint32
IsActive bool
}
PeersInfo peersinfo for rest
type ProtocolInstance ¶
type ProtocolInstance interface {
ProtocolInterface
Start()
SetChainActor(tpid *actor.PID)
SetTrxPreHandleActor(tpid *actor.PID)
SetConsensusActor(tpid *actor.PID)
SendNewTrx(notify *message.NotifyTrx)
SendNewBlock(notify *message.NotifyBlock)
SendPrevote(notify *message.SendPrevote)
SendPrecommit(notify *message.SendPrecommit)
SendCommit(notify *message.SendCommit)
}
Click to show internal directories.
Click to hide internal directories.