Struct ethcore::transaction::LocalizedTransaction [] [src]

pub struct LocalizedTransaction {
    pub signed: UnverifiedTransaction,
    pub block_number: BlockNumber,
    pub block_hash: H256,
    pub transaction_index: usize,
    pub cached_sender: Option<Address>,
}

Signed Transaction that is a part of canon blockchain.

Fields

Signed part.

Block number.

Block hash.

Transaction index within block.

Cached sender

Methods

impl LocalizedTransaction
[src]

Returns transaction sender. Panics if LocalizedTransaction is constructed using invalid UnverifiedTransaction.

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 Debug for LocalizedTransaction
[src]

Formats the value using the given formatter.

impl Clone for LocalizedTransaction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for LocalizedTransaction
[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 LocalizedTransaction
[src]

impl Deref for LocalizedTransaction
[src]

The resulting type after dereferencing

The method called to dereference a value