pub type SignedTransaction = Signed;
Expand description

Signed consensus transaction.

Aliased Type§

struct SignedTransaction {
    pub blob: Vec<u8>,
    pub signature: SignatureBundle,
}

Fields§

§blob: Vec<u8>

Signed blob.

§signature: SignatureBundle

Signature over the blob.

Implementations§

source§

impl SignedTransaction

source

pub fn verify(&self, chain_context: &String) -> bool

Returns true iff the signature is valid.