package
4.0.4+incompatible
Repository: https://github.com/deso-protocol/core.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
When timing out for a view, validators sign the payload sha3-256(TimeoutOpCode, View, HighQCView) with their BLS private key.
When voting on a block, validators sign the payload sha3-256(ViewOpCode, View, BlockHash) with their BLS private key.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IsValidSuperMajorityAggregateQuorumCertificate validates that the aggregate QC is properly formed and signed by a super-majority of validators in the network.
Given a QC and a sorted validator list, this function returns true if the QC contains a valid super-majority of signatures from the validator list for the QC's (View, BlockHash) pair.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
ScheduledTask is a thread-safe wrapper around time.Timer that allows for creating tasks that can be scheduled to execute at a later time with pre-specified params.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
BlockHash is a 32-byte hash of a block used to uniquely identify a block.
FastHotStuffEventLoop is the public facing interface for the consensus event loop.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
Create an alias type of the 32 bit block hash so that the raw [32]byte type isn't ambiguously repeated in the code base.
No description provided by the author
SignatureOpCode is a way for the FastHotStuffEventLoop to differentiate between different types of BLS signatures.