pub type BftLeaderBindingSignature = SingleAccountBindingSignature;

Aliased Type§

struct BftLeaderBindingSignature(pub(crate) Signature<TransactionBindingAuthDataPhantom, Ed25519>);

Fields§

§0: Signature<TransactionBindingAuthDataPhantom, Ed25519>

Implementations§

source§

impl SingleAccountBindingSignature

source

pub fn verify_slice( &self, pk: &PublicKey<Ed25519>, data: &TransactionBindingAuthData<'_> ) -> Verification

source

pub fn new<'a, F>(data: &TransactionBindingAuthData<'a>, sign: F) -> Selfwhere F: FnOnce(&TransactionBindingAuthData<'a>) -> Signature<TransactionBindingAuthDataPhantom, Ed25519>,

source

pub fn serialize_in(&self, bb: ByteBuilder<Self>) -> ByteBuilder<Self>

Trait Implementations§

source§

impl Arbitrary for SingleAccountBindingSignature

source§

fn arbitrary<G: Gen>(g: &mut G) -> Self

§

fn shrink(&self) -> Box<dyn Iterator<Item = Self>, Global>

source§

impl AsRef<[u8]> for SingleAccountBindingSignature

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for SingleAccountBindingSignature

source§

fn clone(&self) -> SingleAccountBindingSignature

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SingleAccountBindingSignature

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl DeserializeFromSlice for SingleAccountBindingSignature

source§

fn deserialize_from_slice(codec: &mut Codec<&[u8]>) -> Result<Self, ReadError>

§

fn deserialize_validate_from_slice( codec: &mut Codec<&[u8]> ) -> Result<(), ReadError>