Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BroadcastValidation ¶
type BroadcastValidation int
BroadcastValidation defines the validation to carry out prior to broadcasting proposals.
const ( // BroadcastValidationGossip means carry out lightweight gossip checks. BroadcastValidationGossip BroadcastValidation = iota // BroadcastValidationConsensus means carry out full consensus checks. BroadcastValidationConsensus // BroadcastValidationConsensusAndEquivocation means carry out consensus and equivocation checks. BroadcastValidationConsensusAndEquivocation )
func (*BroadcastValidation) MarshalJSON ¶
func (b *BroadcastValidation) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (BroadcastValidation) String ¶
func (b BroadcastValidation) String() string
func (*BroadcastValidation) UnmarshalJSON ¶
func (b *BroadcastValidation) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.