package
0.3.13-beta.0
Repository: https://github.com/spacemeshos/go-spacemesh.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
NewEligibilityValidator returns a new EligibilityValidator.
NewHandler creates new Handler.
NewMockballotDecoder creates a new mock instance.
NewMockeligibilityValidator creates a new mock instance.
NewMocklayerClock creates a new mock instance.
NewMockmeshProvider creates a new mock instance.
NewMocknonceFetcher creates a new mock instance.
NewMockvrfVerifier creates a new mock instance.
SerializeVRFMessage serializes a message for generating/verifying a VRF signature.
WithConfig defines protocol parameters.
WithLogger defines logger for Handler.
No description provided by the author
# Variables
No description provided by the author
ComputeWeightPerEligibility computes the ballot weight per eligibility w.r.t the active set recorded in its reference ballot.
No description provided by the author
# Structs
Config defines configuration for the handler.
Handler processes Proposal from gossip and, if deems it valid, propagates it to peers.
MockballotDecoder is a mock of ballotDecoder interface.
MockballotDecoderMockRecorder is the mock recorder for MockballotDecoder.
MockeligibilityValidator is a mock of eligibilityValidator interface.
MockeligibilityValidatorMockRecorder is the mock recorder for MockeligibilityValidator.
MocklayerClock is a mock of layerClock interface.
MocklayerClockMockRecorder is the mock recorder for MocklayerClock.
MockmeshProvider is a mock of meshProvider interface.
MockmeshProviderMockRecorder is the mock recorder for MockmeshProvider.
MocknonceFetcher is a mock of nonceFetcher interface.
MocknonceFetcherMockRecorder is the mock recorder for MocknonceFetcher.
MockvrfVerifier is a mock of vrfVerifier interface.
MockvrfVerifierMockRecorder is the mock recorder for MockvrfVerifier.
Validator validates the eligibility of a Ballot.
VrfMessage is a verification message.