p2p

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Poll

type Poll struct {
	NodeID      string       `json:"nodeId"`
	OnPeriodID  uint64       `json:"onPeriodId"`
	ClosingTime uint64       `json:"closingTime"`
	Ballots     vote.Ballots `json:"blockIDs"`
}

Poll ...

type Vote

type Vote struct {
	NodeID          string     `json:"nodeId"`
	OnPeriodID      uint64     `json:"onPeriodId"`
	PreviousBlockID model.Hash `json:"previousBlockId"`
	VotedBlockID    model.Hash `json:"vote"`
}

Vote ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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