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.

Checks is signature is empty.

Deconstructs this transaction back into UnverifiedTransaction

Methods from Deref<Target = UnverifiedTransaction>

Checks is signature is empty.

Reference to unsigned part of this transaction.

The v value that appears in the RLP.

The chain 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 transaction (keccak of the RLP).

Recovers the public key of the sender.

Verify basic signature params. Does not attempt sender recovery.

Trait Implementations

impl From<Transaction> for SignedTransaction
[src]

Performs the conversion.

impl Debug for SignedTransaction
[src]

Formats the value using the given formatter. Read more

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.

Dereferences the value.

impl From<SignedTransaction> for UnverifiedTransaction
[src]

Performs the conversion.

impl From<SignedTransaction> for PendingTransaction
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for SignedTransaction

impl Sync for SignedTransaction