Trait sc_service_test::TestNetNode[][src]

pub trait TestNetNode: Clone + Future<Item = (), Error = Error> + Send + 'static {
    type Block: BlockT;
    type Backend: Backend<Self::Block>;
    type Executor: CallExecutor<Self::Block> + Send + Sync;
    type RuntimeApi: Send + Sync;
    type TransactionPool: TransactionPool<Block = Self::Block>;
    fn client(
        &self
    ) -> Arc<Client<Self::Backend, Self::Executor, Self::Block, Self::RuntimeApi>>;
fn transaction_pool(&self) -> Arc<Self::TransactionPool>;
fn network(
        &self
    ) -> Arc<NetworkService<Self::Block, <Self::Block as BlockT>::Hash>>;
fn spawn_handle(&self) -> SpawnTaskHandle; }

Associated Types

Required methods

Implementors