Struct emerald_core::Signature
[−]
[src]
pub struct Signature { pub v: u8, pub r: [u8; 32], pub s: [u8; 32], }
Transaction sign data (see Appendix F. "Signing Transactions" from Yellow Paper)
Fields
v: u8
‘recovery id’, a 1 byte value specifying the sign and finiteness of the curve point
r: [u8; 32]
ECDSA signature first point (0 < r < secp256k1n)
s: [u8; 32]
ECDSA signature second point (0 < s < secp256k1n ÷ 2 + 1)
Trait Implementations
impl Clone for Signature
[src]
fn clone(&self) -> Signature
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Signature
[src]
impl Default for Signature
[src]
impl PartialEq for Signature
[src]
fn eq(&self, __arg_0: &Signature) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Signature) -> bool
This method tests for !=
.