Documentation ¶
Index ¶
Constants ¶
View Source
const (
// VoteSizeLimit is the maximum size of vote allowed
VoteSizeLimit = 278
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Protocol ¶
type Protocol struct {
// contains filtered or unexported fields
}
Protocol defines the protocol of handling votes
func NewProtocol ¶
func NewProtocol(cm protocol.ChainManager) *Protocol
NewProtocol instantiates the protocol of vote
Click to show internal directories.
Click to hide internal directories.