Struct tendermint::vote::SignedVote
source[−]pub struct SignedVote { /* private fields */ }
Expand description
SignedVote is the union of a canonicalized vote, the signature on the sign bytes of that vote and the id of the validator who signed it.
Implementations
Create new SignedVote
from provided canonicalized vote, validator id, and
the signature of that validator.
Create a new SignedVote
from the provided Vote
, which may or may not be signed.
If the vote is not signed, this function will return None
.
Return the id of the validator that signed this vote.
Return the bytes (of the canonicalized vote) that were signed.