Struct ethcore::transaction::UnverifiedTransaction [] [src]

pub struct UnverifiedTransaction { /* fields omitted */ }

Signed transaction information.

Methods

impl UnverifiedTransaction
[src]

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.

Methods from Deref<Target=Transaction>

Append object with a without signature into RLP stream

The message hash of the transaction.

Signs the transaction as coming from sender.

Signs the transaction with signature.

Specify the sender; this won't survive the serialize/deserialize process, but can be cloned.

Get the transaction cost in gas for this transaction.

Trait Implementations

impl From<Transaction> for UnverifiedTransaction
[src]

Performs the conversion.

impl Debug for UnverifiedTransaction
[src]

Formats the value using the given formatter.

impl Clone for UnverifiedTransaction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for UnverifiedTransaction
[src]

impl PartialEq for UnverifiedTransaction
[src]

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

This method tests for !=.

impl Deref for UnverifiedTransaction
[src]

The resulting type after dereferencing

The method called to dereference a value

impl Decodable for UnverifiedTransaction
[src]

Decode a value from RLP bytes

impl Encodable for UnverifiedTransaction
[src]

Append a value to the stream

Get rlp-encoded bytes for this instance

impl From<SignedTransaction> for UnverifiedTransaction
[src]

Performs the conversion.