Struct ethcore_transaction::LocalizedTransaction[][src]

pub struct LocalizedTransaction {
    pub signed: UnverifiedTransaction,
    pub block_number: u64,
    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>

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

Formats the value using the given formatter. Read more

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.

Dereferences the value.

Auto Trait Implementations

impl Send for LocalizedTransaction

impl Sync for LocalizedTransaction