Struct ethcore::transaction::SignedTransaction [] [src]

pub struct SignedTransaction { /* fields omitted */ }

A UnverifiedTransaction with successfully recovered sender.

Methods

impl SignedTransaction
[src]

Try to verify transaction and recover sender.

Returns transaction sender.

Returns a public key of the sender.

Methods from Deref<Target=UnverifiedTransaction>

Reference to unsigned part of this transaction.

0 if v would have been 27 under "Electrum" notation, 1 if 28 or 4 if invalid.

The v value that appears in the RLP.

The network ID, or None if this is a global transaction.

Construct a signature object from the sig.

Checks whether the signature has a low 's' value.

Get the hash of this header (sha3 of the RLP).

Recovers the public key of the sender.

Trait Implementations

impl From<Transaction> for SignedTransaction
[src]

Performs the conversion.

impl Debug for SignedTransaction
[src]

Formats the value using the given formatter.

impl Clone for SignedTransaction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for SignedTransaction
[src]

impl PartialEq for SignedTransaction
[src]

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

This method tests for !=.

impl HeapSizeOf for SignedTransaction
[src]

Measure the size of any heap-allocated structures that hang off this value, but not the space taken up by the value itself (i.e. what size_of:: measures, more or less); that space is handled by the implementation of HeapSizeOf for Box below. Read more

impl Encodable for SignedTransaction
[src]

Append a value to the stream

Get rlp-encoded bytes for this instance

impl Deref for SignedTransaction
[src]

The resulting type after dereferencing

The method called to dereference a value