votes

package
v0.0.0-...-dfc2b99 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2024 License: ISC Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VOTE      byte = 0x00
	CANDIDATE byte = 0x01
)
View Source
const EpochBlocks = 60 * 24 * 7
View Source
const VoteExpirationBlocks = VoteExpirationEpochs * EpochBlocks
View Source
const VoteExpirationEpochs = 52

Variables

This section is empty.

Functions

This section is empty.

Types

type NsVote

type NsVote struct {
	VoterPkScript           []byte
	VoterIsWillingCandidate bool
	VoteCastInBlock         uint32
	VoteForPkScript         []byte
}

func GetVote

func GetVote(outputScript []byte) *NsVote

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL