Function sc_rpc::state::new_full

source ·
pub fn new_full<BE, Block, Client>(
    client: Arc<Client>,
    executor: SubscriptionTaskExecutor,
    deny_unsafe: DenyUnsafe
) -> (State<Block, Client>, ChildState<Block, Client>)where
    Block: BlockT + 'static,
    Block::Hash: Unpin,
    BE: Backend<Block> + 'static,
    Client: ExecutorProvider<Block> + StorageProvider<Block, BE> + ProofProvider<Block> + HeaderMetadata<Block, Error = Error> + BlockchainEvents<Block> + CallApiAt<Block> + HeaderBackend<Block> + BlockBackend<Block> + ProvideRuntimeApi<Block> + Send + Sync + 'static,
    Client::Api: Metadata<Block>,
Expand description

Create new state API that works on full node.