[−][src]Trait tendermint::amino_types::signature::SignableMsg
Amino messages which are signable within a Tendermint network
Required methods
fn sign_bytes<B: BufMut>(
&self,
chain_id: Id,
sign_bytes: &mut B
) -> Result<bool, EncodeError>
&self,
chain_id: Id,
sign_bytes: &mut B
) -> Result<bool, EncodeError>
Sign this message as bytes
fn set_signature(&mut self, sig: &Signature)
Set the Ed25519 signature on the underlying message
fn validate(&self) -> Result<(), ValidationError>
fn consensus_state(&self) -> Option<State>
fn height(&self) -> Option<i64>
Implementors
impl SignableMsg for SignProposalRequest
[src]
fn sign_bytes<B>(
&self,
chain_id: Id,
sign_bytes: &mut B
) -> Result<bool, EncodeError> where
B: BufMut,
[src]
&self,
chain_id: Id,
sign_bytes: &mut B
) -> Result<bool, EncodeError> where
B: BufMut,
fn set_signature(&mut self, sig: &Signature)
[src]
fn validate(&self) -> Result<(), ValidationError>
[src]
fn consensus_state(&self) -> Option<State>
[src]
fn height(&self) -> Option<i64>
[src]
impl SignableMsg for SignVoteRequest
[src]
fn sign_bytes<B>(
&self,
chain_id: Id,
sign_bytes: &mut B
) -> Result<bool, EncodeError> where
B: BufMut,
[src]
&self,
chain_id: Id,
sign_bytes: &mut B
) -> Result<bool, EncodeError> where
B: BufMut,