diff --git a/domain_eth_service/provider/struct.EthProvider.html b/domain_eth_service/provider/struct.EthProvider.html index 6869a310f5..06bf73a85d 100644 --- a/domain_eth_service/provider/struct.EthProvider.html +++ b/domain_eth_service/provider/struct.EthProvider.html @@ -6,10 +6,10 @@ ) -> Self
source

pub fn with_configuration( base_path: Option<&Path>, eth_config: EthConfiguration -) -> Self

Trait Implementations§

source§

impl<Block, RuntimeApi, CT, EC> BlockImportProvider<Block, Client<Backend<Block>, LocalCallExecutor<Block, Backend<Block>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, Block, RuntimeApi>> for EthProvider<CT, EC>
where +) -> Self

Trait Implementations§

source§

impl<Block, RuntimeApi, CT, EC> BlockImportProvider<Block, Client<Backend<Block>, LocalCallExecutor<Block, Backend<Block>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, Block, RuntimeApi>> for EthProvider<CT, EC>
where Block: BlockT, - RuntimeApi: ConstructRuntimeApi<Block, FullClient<Block, RuntimeApi>> + Send + Sync + 'static, - RuntimeApi::RuntimeApi: ApiExt<Block> + Core<Block> + BlockBuilder<Block> + EthereumRuntimeRPCApi<Block>,

§

type BI = FrontierBlockImport<Block, Arc<Client<Backend<Block>, LocalCallExecutor<Block, Backend<Block>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, Block, RuntimeApi>>, Client<Backend<Block>, LocalCallExecutor<Block, Backend<Block>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, Block, RuntimeApi>>

source§

fn block_import(&self, client: Arc<FullClient<Block, RuntimeApi>>) -> Self::BI

source§

impl<Block, Client, BE, TxPool, CA, AccountId, CT, EC, CIDP> RpcProvider<Block, Client, TxPool, CA, BE, AccountId, CIDP> for EthProvider<CT, EC>
where + RuntimeApi: ConstructRuntimeApi<Block, FullClient<Block, RuntimeApi>> + Send + Sync + 'static, + RuntimeApi::RuntimeApi: ApiExt<Block> + Core<Block> + BlockBuilder<Block> + EthereumRuntimeRPCApi<Block>,

§

type BI = FrontierBlockImport<Block, Arc<Client<Backend<Block>, LocalCallExecutor<Block, Backend<Block>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, Block, RuntimeApi>>, Client<Backend<Block>, LocalCallExecutor<Block, Backend<Block>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, Block, RuntimeApi>>

source§

fn block_import(&self, client: Arc<FullClient<Block, RuntimeApi>>) -> Self::BI

source§

impl<Block, Client, BE, TxPool, CA, AccountId, CT, EC, CIDP> RpcProvider<Block, Client, TxPool, CA, BE, AccountId, CIDP> for EthProvider<CT, EC>
where Block: BlockT<Hash = H256>, BE: Backend<Block> + 'static, Client: ProvideRuntimeApi<Block> + BlockchainEvents<Block> + StorageProvider<Block, BE> + HeaderBackend<Block> + CallApiAt<Block> + HeaderMetadata<Block, Error = Error> + BlockBackend<Block> + AuxStore + Send + Sync + 'static, @@ -19,12 +19,12 @@ TxPool: TransactionPool<Block = Block> + Sync + Send + 'static, CA: ChainApi<Block = Block> + 'static, AccountId: DeserializeOwned + Encode + Debug + Decode + Display + Clone + Sync + Send + 'static, - CIDP: CreateInherentDataProviders<Block, ()> + Send + Clone + 'static,

§

type Deps = EthDeps<Client, TxPool, CA, CT, Block, BE, CIDP>

source§

fn deps( + CIDP: CreateInherentDataProviders<Block, ()> + Send + Clone + 'static,

§

type Deps = EthDeps<Client, TxPool, CA, CT, Block, BE, CIDP>

source§

fn deps( &self, - full_deps: FullDeps<Block, Client, TxPool, CA, BE, CIDP> -) -> Result<Self::Deps, Error>

source§

fn rpc_id(&self) -> Option<Box<dyn RpcSubscriptionIdProvider>>

source§

fn rpc_builder<SE>( + full_deps: FullDeps<Block, Client, TxPool, CA, BE, CIDP> +) -> Result<Self::Deps, Error>

source§

fn rpc_id(&self) -> Option<Box<dyn RpcSubscriptionIdProvider>>

source§

fn rpc_builder<SE>( &self, - deps: Self::Deps, + deps: Self::Deps, subscription_task_executor: SubscriptionTaskExecutor, essential_task_spawner: SE ) -> Result<RpcModule<()>, Box<dyn Error + Send + Sync>>
where diff --git a/domain_service/struct.DomainParams.html b/domain_service/struct.DomainParams.html index f6e066641e..f95e69b0a7 100644 --- a/domain_service/struct.DomainParams.html +++ b/domain_service/struct.DomainParams.html @@ -10,11 +10,11 @@ pub consensus_offchain_tx_pool_factory: OffchainTransactionPoolFactory<CBlock>, pub consensus_network_sync_oracle: Arc<dyn SyncOracle + Send + Sync>, pub operator_streams: OperatorStreams<CBlock, IBNS, CIBNS, NSNS, ASS>, - pub gossip_message_sink: GossipMessageSink, + pub gossip_message_sink: GossipMessageSink, pub domain_message_receiver: TracingUnboundedReceiver<ChainTxPoolMsg>, pub provider: Provider, pub skip_empty_bundle_production: bool, -

}

Fields§

§domain_id: DomainId§domain_config: Configuration§domain_created_at: NumberFor<CBlock>§maybe_operator_id: Option<OperatorId>§consensus_client: Arc<CClient>§consensus_network: Arc<CNetwork>§consensus_offchain_tx_pool_factory: OffchainTransactionPoolFactory<CBlock>§consensus_network_sync_oracle: Arc<dyn SyncOracle + Send + Sync>§operator_streams: OperatorStreams<CBlock, IBNS, CIBNS, NSNS, ASS>§gossip_message_sink: GossipMessageSink§domain_message_receiver: TracingUnboundedReceiver<ChainTxPoolMsg>§provider: Provider§skip_empty_bundle_production: bool

Auto Trait Implementations§

§

impl<CBlock, CClient, IBNS, CIBNS, NSNS, ASS, Provider, CNetwork> !RefUnwindSafe for DomainParams<CBlock, CClient, IBNS, CIBNS, NSNS, ASS, Provider, CNetwork>

§

impl<CBlock, CClient, IBNS, CIBNS, NSNS, ASS, Provider, CNetwork> Send for DomainParams<CBlock, CClient, IBNS, CIBNS, NSNS, ASS, Provider, CNetwork>
where +}

Fields§

§domain_id: DomainId§domain_config: Configuration§domain_created_at: NumberFor<CBlock>§maybe_operator_id: Option<OperatorId>§consensus_client: Arc<CClient>§consensus_network: Arc<CNetwork>§consensus_offchain_tx_pool_factory: OffchainTransactionPoolFactory<CBlock>§consensus_network_sync_oracle: Arc<dyn SyncOracle + Send + Sync>§operator_streams: OperatorStreams<CBlock, IBNS, CIBNS, NSNS, ASS>§gossip_message_sink: GossipMessageSink§domain_message_receiver: TracingUnboundedReceiver<ChainTxPoolMsg>§provider: Provider§skip_empty_bundle_production: bool

Auto Trait Implementations§

§

impl<CBlock, CClient, IBNS, CIBNS, NSNS, ASS, Provider, CNetwork> !RefUnwindSafe for DomainParams<CBlock, CClient, IBNS, CIBNS, NSNS, ASS, Provider, CNetwork>

§

impl<CBlock, CClient, IBNS, CIBNS, NSNS, ASS, Provider, CNetwork> Send for DomainParams<CBlock, CClient, IBNS, CIBNS, NSNS, ASS, Provider, CNetwork>
where ASS: Send, CClient: Sync + Send, CIBNS: Send, diff --git a/sc_proof_of_time/fn.start_slot_worker.html b/sc_proof_of_time/fn.start_slot_worker.html index 468a8b7903..b73611204a 100644 --- a/sc_proof_of_time/fn.start_slot_worker.html +++ b/sc_proof_of_time/fn.start_slot_worker.html @@ -10,7 +10,7 @@ )
where Block: BlockT, Client: ProvideRuntimeApi<Block> + HeaderBackend<Block>, - Client::Api: SubspaceRuntimeApi<Block, FarmerPublicKey>, + Client::Api: SubspaceRuntimeApi<Block, FarmerPublicKey>, SC: SelectChain<Block>, Worker: PotSlotWorker<Block> + SimpleSlotWorker<Block> + Send + Sync, SO: SyncOracle + Send, diff --git a/sc_proof_of_time/source/struct.PotSourceWorker.html b/sc_proof_of_time/source/struct.PotSourceWorker.html index 08c774c1dd..e3f1c84d98 100644 --- a/sc_proof_of_time/source/struct.PotSourceWorker.html +++ b/sc_proof_of_time/source/struct.PotSourceWorker.html @@ -5,7 +5,7 @@

Implementations§

source§

impl<Block, Client, SO> PotSourceWorker<Block, Client, SO>
where Block: BlockT, Client: BlockchainEvents<Block> + HeaderBackend<Block> + ProvideRuntimeApi<Block>, - Client::Api: SubspaceRuntimeApi<Block, FarmerPublicKey>, + Client::Api: SubspaceRuntimeApi<Block, FarmerPublicKey>, SO: SyncOracle + Clone + Send + Sync + 'static,

source

pub fn new<Network, GossipSync>( is_timekeeper: bool, timekeeper_cpu_cores: HashSet<usize>, diff --git a/sc_proof_of_time/verifier/struct.PotVerifier.html b/sc_proof_of_time/verifier/struct.PotVerifier.html index 69449fd072..9b4132728c 100644 --- a/sc_proof_of_time/verifier/struct.PotVerifier.html +++ b/sc_proof_of_time/verifier/struct.PotVerifier.html @@ -20,10 +20,10 @@ ) -> Option<PotCheckpoints>

Try to get checkpoints quickly without waiting for potentially locked mutex or proving

source

pub fn is_output_valid( &self, - input: PotNextSlotInput, + input: PotNextSlotInput, slots: Slot, output: PotOutput, - maybe_parameters_change: Option<PotParametersChange> + maybe_parameters_change: Option<PotParametersChange> ) -> bool

Verify sequence of proofs of time that covers slots slots starting at slot with provided initial seed.

In case maybe_parameters_change is present, it will not affect provided seed and @@ -33,10 +33,10 @@ whenever possible.

source

pub fn try_is_output_valid( &self, - input: PotNextSlotInput, + input: PotNextSlotInput, slots: Slot, output: PotOutput, - maybe_parameters_change: Option<PotParametersChange> + maybe_parameters_change: Option<PotParametersChange> ) -> bool

Does the same verification as Self::is_output_valid() except it relies on proofs being pre-validated before and will return false in case proving is necessary, this is meant to be a quick and cheap version of the function.

diff --git a/sc_subspace_block_relay/fn.build_consensus_relay.html b/sc_subspace_block_relay/fn.build_consensus_relay.html index dd9a9822e4..835a06cedf 100644 --- a/sc_subspace_block_relay/fn.build_consensus_relay.html +++ b/sc_subspace_block_relay/fn.build_consensus_relay.html @@ -7,6 +7,6 @@ ) -> Result<BlockRelayParams<Block>, BlockRelayConfigurationError>
where Block: BlockT, Client: HeaderBackend<Block> + BlockBackend<Block> + ProvideRuntimeApi<Block> + 'static, - Client::Api: SubspaceApi<Block, FarmerPublicKey>, + Client::Api: SubspaceApi<Block, FarmerPublicKey>, Pool: TransactionPool<Block = Block> + 'static,
Expand description

Sets up the relay components.

\ No newline at end of file diff --git a/trait.impl/domain_service/providers/trait.BlockImportProvider.js b/trait.impl/domain_service/providers/trait.BlockImportProvider.js index 670ec2fe74..c06b43c034 100644 --- a/trait.impl/domain_service/providers/trait.BlockImportProvider.js +++ b/trait.impl/domain_service/providers/trait.BlockImportProvider.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"domain_eth_service":[["impl<Block, RuntimeApi, CT, EC> BlockImportProvider<Block, Client<Backend<Block>, LocalCallExecutor<Block, Backend<Block>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, Block, RuntimeApi>> for EthProvider<CT, EC>
where\n Block: BlockT,\n RuntimeApi: ConstructRuntimeApi<Block, FullClient<Block, RuntimeApi>> + Send + Sync + 'static,\n RuntimeApi::RuntimeApi: ApiExt<Block> + Core<Block> + BlockBuilder<Block> + EthereumRuntimeRPCApi<Block>,
"]], +"domain_eth_service":[["impl<Block, RuntimeApi, CT, EC> BlockImportProvider<Block, Client<Backend<Block>, LocalCallExecutor<Block, Backend<Block>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, Block, RuntimeApi>> for EthProvider<CT, EC>
where\n Block: BlockT,\n RuntimeApi: ConstructRuntimeApi<Block, FullClient<Block, RuntimeApi>> + Send + Sync + 'static,\n RuntimeApi::RuntimeApi: ApiExt<Block> + Core<Block> + BlockBuilder<Block> + EthereumRuntimeRPCApi<Block>,
"]], "domain_service":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/domain_service/providers/trait.RpcProvider.js b/trait.impl/domain_service/providers/trait.RpcProvider.js index ccb2b50c92..d0b83d84c5 100644 --- a/trait.impl/domain_service/providers/trait.RpcProvider.js +++ b/trait.impl/domain_service/providers/trait.RpcProvider.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"domain_eth_service":[["impl<Block, Client, BE, TxPool, CA, AccountId, CT, EC, CIDP> RpcProvider<Block, Client, TxPool, CA, BE, AccountId, CIDP> for EthProvider<CT, EC>
where\n Block: BlockT<Hash = H256>,\n BE: Backend<Block> + 'static,\n Client: ProvideRuntimeApi<Block> + BlockchainEvents<Block> + StorageProvider<Block, BE> + HeaderBackend<Block> + CallApiAt<Block> + HeaderMetadata<Block, Error = Error> + BlockBackend<Block> + AuxStore + Send + Sync + 'static,\n Client::Api: TransactionPaymentRuntimeApi<Block, Balance> + EthereumRuntimeRPCApi<Block> + AccountNonceApi<Block, AccountId, Nonce> + ConvertTransactionRuntimeApi<Block> + BlockBuilder<Block>,\n CT: ConvertTransaction<<Block as BlockT>::Extrinsic> + Clone + Default + Send + Sync + 'static,\n EC: EthConfig<Block, Client>,\n TxPool: TransactionPool<Block = Block> + Sync + Send + 'static,\n CA: ChainApi<Block = Block> + 'static,\n AccountId: DeserializeOwned + Encode + Debug + Decode + Display + Clone + Sync + Send + 'static,\n CIDP: CreateInherentDataProviders<Block, ()> + Send + Clone + 'static,
"]], +"domain_eth_service":[["impl<Block, Client, BE, TxPool, CA, AccountId, CT, EC, CIDP> RpcProvider<Block, Client, TxPool, CA, BE, AccountId, CIDP> for EthProvider<CT, EC>
where\n Block: BlockT<Hash = H256>,\n BE: Backend<Block> + 'static,\n Client: ProvideRuntimeApi<Block> + BlockchainEvents<Block> + StorageProvider<Block, BE> + HeaderBackend<Block> + CallApiAt<Block> + HeaderMetadata<Block, Error = Error> + BlockBackend<Block> + AuxStore + Send + Sync + 'static,\n Client::Api: TransactionPaymentRuntimeApi<Block, Balance> + EthereumRuntimeRPCApi<Block> + AccountNonceApi<Block, AccountId, Nonce> + ConvertTransactionRuntimeApi<Block> + BlockBuilder<Block>,\n CT: ConvertTransaction<<Block as BlockT>::Extrinsic> + Clone + Default + Send + Sync + 'static,\n EC: EthConfig<Block, Client>,\n TxPool: TransactionPool<Block = Block> + Sync + Send + 'static,\n CA: ChainApi<Block = Block> + 'static,\n AccountId: DeserializeOwned + Encode + Debug + Decode + Display + Clone + Sync + Send + 'static,\n CIDP: CreateInherentDataProviders<Block, ()> + Send + Clone + 'static,
"]], "domain_service":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file