Trait private_tx::Importer[][src]

pub trait Importer {
    fn import_private_transaction(&self, _rlp: &[u8]) -> Result<H256, Error>;
fn import_signed_private_transaction(
        &self,
        _rlp: &[u8]
    ) -> Result<H256, Error>;
fn private_state_synced(&self, hash: &H256) -> Result<(), String>; }

Required methods

fn import_private_transaction(&self, _rlp: &[u8]) -> Result<H256, Error>[src]

Process received private transaction

fn import_signed_private_transaction(&self, _rlp: &[u8]) -> Result<H256, Error>[src]

Add signed private transaction into the store

Creates corresponding public transaction if last required signature collected and sends it to the chain

fn private_state_synced(&self, hash: &H256) -> Result<(), String>[src]

Function called when requested private state retrieved from peer and saved to DB.

Loading content...

Implementations on Foreign Types

impl Importer for Arc<Provider>[src]

Loading content...

Implementors

Loading content...