6 #ifndef KAGOME_CORE_CONSENSUS_GRANDPA_VOTE_CRYPTO_PROVIDER_HPP 7 #define KAGOME_CORE_CONSENSUS_GRANDPA_VOTE_CRYPTO_PROVIDER_HPP 28 const Prevote &prevote)
const = 0;
35 #endif // KAGOME_CORE_CONSENSUS_GRANDPA_VOTE_CRYPTO_PROVIDER_HPP
virtual std::optional< SignedMessage > signPrimaryPropose(const PrimaryPropose &primary_propose) const =0
virtual bool verifyPrecommit(const SignedMessage &precommit) const =0
virtual bool verifyPrevote(const SignedMessage &prevote) const =0
virtual bool verifyPrimaryPropose(const SignedMessage &primary_propose) const =0
virtual std::optional< SignedMessage > signPrecommit(const Precommit &precommit) const =0
virtual ~VoteCryptoProvider()=default
virtual std::optional< SignedMessage > signPrevote(const Prevote &prevote) const =0