Struct emerald_rs::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

‘recovery id’, a 1 byte value specifying the sign and finiteness of the curve point

ECDSA signature first point (0 < r < secp256k1n)

ECDSA signature second point (0 < s < secp256k1n ÷ 2 + 1)

Trait Implementations

impl Clone for Signature
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Signature
[src]

Formats the value using the given formatter. Read more

impl Default for Signature
[src]

Returns the "default value" for a type. Read more

impl PartialEq for Signature
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Signature
[src]

impl From<[u8; 65]> for Signature
[src]

Performs the conversion.

impl Into<(u8, [u8; 32], [u8; 32])> for Signature
[src]

Performs the conversion.

impl Into<String> for Signature
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Signature

impl Sync for Signature