Kagome
Polkadot Runtime Engine in C++17
|
#include <vote_crypto_provider.hpp>
Public Member Functions | |
virtual | ~VoteCryptoProvider ()=default |
virtual bool | verifyPrimaryPropose (const SignedMessage &primary_propose) const =0 |
virtual bool | verifyPrevote (const SignedMessage &prevote) const =0 |
virtual bool | verifyPrecommit (const SignedMessage &precommit) const =0 |
virtual std::optional< SignedMessage > | signPrimaryPropose (const PrimaryPropose &primary_propose) const =0 |
virtual std::optional< SignedMessage > | signPrevote (const Prevote &prevote) const =0 |
virtual std::optional< SignedMessage > | signPrecommit (const Precommit &precommit) const =0 |
Statelessly verifies signatures of votes and signs votes
Definition at line 16 of file vote_crypto_provider.hpp.
|
virtualdefault |
|
pure virtual |
Implemented in kagome::consensus::grandpa::VoteCryptoProviderImpl.
|
pure virtual |
Implemented in kagome::consensus::grandpa::VoteCryptoProviderImpl.
|
pure virtual |
Implemented in kagome::consensus::grandpa::VoteCryptoProviderImpl.
|
pure virtual |
Implemented in kagome::consensus::grandpa::VoteCryptoProviderImpl.
|
pure virtual |
Implemented in kagome::consensus::grandpa::VoteCryptoProviderImpl.
|
pure virtual |
Implemented in kagome::consensus::grandpa::VoteCryptoProviderImpl.