Documentation
¶
Index ¶
Constants ¶
View Source
const (
CmdConfirm = "confirm"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockMsg ¶
type BlockMsg struct {
// contains filtered or unexported fields
}
func NewBlockMsg ¶
type ConfirmMsg ¶
func NewConfirmMsg ¶
func NewConfirmMsg(confirm *payload.Confirm, height uint64) *ConfirmMsg
func (*ConfirmMsg) CMD ¶
func (msg *ConfirmMsg) CMD() string
func (*ConfirmMsg) Deserialize ¶
func (msg *ConfirmMsg) Deserialize(r io.Reader) error
func (*ConfirmMsg) MaxLength ¶
func (msg *ConfirmMsg) MaxLength() uint32
type RequestConsensus ¶
type RequestConsensus struct {
Height uint64
}
func (*RequestConsensus) CMD ¶
func (msg *RequestConsensus) CMD() string
func (*RequestConsensus) Deserialize ¶
func (msg *RequestConsensus) Deserialize(r io.Reader) error
func (*RequestConsensus) MaxLength ¶
func (msg *RequestConsensus) MaxLength() uint32
Click to show internal directories.
Click to hide internal directories.