Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Announcements = make(chan blockchainGrpc.AnnounceCandidateRequest)
Announcements broadcasts winning validator to all nodes in POS blockchain
View Source
var Blockchain []Block
View Source
var BlockchainServer chan []Block
View Source
var CandidateBlocks = make(chan Block)
CandidateBlocks handles incoming blocks for validation in POS blockchain
View Source
var Cluster []string
Cluster is the array of servers that make up the blockchain system in the local network. Hardcoded for now
View Source
var InputMsgChan chan Message
View Source
var Mutex = &sync.Mutex{}
View Source
var TempCandidateBlocks []Block
View Source
var Validators = make(map[string]int)
Validators keeps track of open validators and balances in POS blockchain
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.