The highest tagged major version is
v16.
package
Version:
v14.1.0-rc3
Opens a new window with list of versions in this module.
Published: Jul 5, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Vote is a vote cast by a node.
VoteFromData hashes the given data and converts it to a vote.
VoteFromHash converts the given byte slice containing a hash into a vote.
Bytes returns a byte slice containing the hash.
String returns the hex representation of the vote hash.
VoteHash is the hash structure used to compute a Vote from arbitrary data.
NewVoteHash returns a new VoteHash.
Vote hashes all data written into VoteHash and returns the resulting Vote.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.