pub type BftLeaderBindingSignature = SingleAccountBindingSignature;
Aliased Type§
struct BftLeaderBindingSignature(pub(crate) Signature<TransactionBindingAuthDataPhantom, Ed25519>);
Fields§
§0: Signature<TransactionBindingAuthDataPhantom, Ed25519>
Implementations§
source§impl SingleAccountBindingSignature
impl SingleAccountBindingSignature
pub fn verify_slice( &self, pk: &PublicKey<Ed25519>, data: &TransactionBindingAuthData<'_> ) -> Verification
pub fn new<'a, F>(data: &TransactionBindingAuthData<'a>, sign: F) -> Selfwhere F: FnOnce(&TransactionBindingAuthData<'a>) -> Signature<TransactionBindingAuthDataPhantom, Ed25519>,
pub fn serialize_in(&self, bb: ByteBuilder<Self>) -> ByteBuilder<Self>
Trait Implementations§
source§impl Arbitrary for SingleAccountBindingSignature
impl Arbitrary for SingleAccountBindingSignature
source§impl AsRef<[u8]> for SingleAccountBindingSignature
impl AsRef<[u8]> for SingleAccountBindingSignature
source§impl Clone for SingleAccountBindingSignature
impl Clone for SingleAccountBindingSignature
source§fn clone(&self) -> SingleAccountBindingSignature
fn clone(&self) -> SingleAccountBindingSignature
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more