From 014e2afc0abc2c3bf53f73012af8fb6a06e29c20 Mon Sep 17 00:00:00 2001 From: "github-merge-queue[bot]" Date: Mon, 5 Feb 2024 08:37:22 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20subspace?= =?UTF-8?q?/subspace@a413a061c0a046358d4e3aa67b7c9c8dc4909381=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../provider/struct.EthProvider.html | 14 ++++++------- .../domain/struct.DomainNodeBuilder.html | 2 +- .../domain/type.DomainOperator.html | 6 +++--- .../domain/type.EvmDomainNode.html | 4 ++-- help.html | 4 ++-- index.html | 4 ++-- .../dispatchables/fn.submit_fraud_proof.html | 2 +- pallet_domains/enum.Call.html | 8 ++++---- pallet_domains/struct.Pallet.html | 4 ++-- pallet_subspace/pallet/struct.Pallet.html | 2 +- .../struct.SubspaceRpcConfig.html | 20 +++++++++---------- sc_proof_of_time/fn.start_slot_worker.html | 2 +- .../source/struct.PotSourceWorker.html | 2 +- .../verifier/struct.PotVerifier.html | 8 ++++---- .../fn.build_consensus_relay.html | 2 +- settings.html | 4 ++-- src/subspace_service/config.rs.html | 4 ++-- .../struct.DomainInstanceStarter.html | 4 ++-- .../config/struct.SubstrateConfiguration.html | 4 ++-- .../chain_spec/type.TestChainSpec.html | 2 +- subspace_test_client/type.Client.html | 2 +- .../providers/trait.BlockImportProvider.js | 2 +- .../providers/trait.RpcProvider.js | 2 +- trait.impl/scale_info/trait.TypeInfo.js | 2 +- .../trait.FindBlockRewardAddress.js | 2 +- .../trait.FindVotingRewardAddresses.js | 2 +- type.impl/pallet_domains/struct.Pallet.js | 2 +- .../pallet_subspace/pallet/struct.Pallet.js | 2 +- 28 files changed, 59 insertions(+), 59 deletions(-) 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_test_service/domain/struct.DomainNodeBuilder.html b/domain_test_service/domain/struct.DomainNodeBuilder.html index e94b0b4d86..5e49c4d6fe 100644 --- a/domain_test_service/domain/struct.DomainNodeBuilder.html +++ b/domain_test_service/domain/struct.DomainNodeBuilder.html @@ -14,7 +14,7 @@ self, role: Role, domain_id: DomainId, - mock_consensus_node: &mut MockConsensusNode + mock_consensus_node: &mut MockConsensusNode ) -> EvmDomainNode

Build a evm domain node

Auto Trait Implementations§

§

impl !RefUnwindSafe for DomainNodeBuilder

§

impl Send for DomainNodeBuilder

§

impl Sync for DomainNodeBuilder

§

impl Unpin for DomainNodeBuilder

§

impl !UnwindSafe for DomainNodeBuilder

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Any for T
where diff --git a/domain_test_service/domain/type.DomainOperator.html b/domain_test_service/domain/type.DomainOperator.html index 76850bb5f0..5c89810342 100644 --- a/domain_test_service/domain/type.DomainOperator.html +++ b/domain_test_service/domain/type.DomainOperator.html @@ -1,7 +1,7 @@ DomainOperator in domain_test_service::domain - Rust -
pub type DomainOperator<RuntimeApi> = DomainOperator<Block, Block, Client, RuntimeApi>;
Expand description

Domain executor for the test service.

+
pub type DomainOperator<RuntimeApi> = DomainOperator<Block, Block, Client, RuntimeApi>;
Expand description

Domain executor for the test service.

Aliased Type§

struct DomainOperator<RuntimeApi> {
-    pub transaction_pool: Arc<BasicPool<FullChainApiWrapper<Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions), HostFunctions, HostFunctions, HostFunctions)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>,
+    pub transaction_pool: Arc<BasicPool<FullChainApiWrapper<Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions), HostFunctions, HostFunctions, HostFunctions)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>,
     pub keystore: Arc<dyn Keystore>,
     /* private fields */
-}

Fields§

§transaction_pool: Arc<BasicPool<FullChainApiWrapper<Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions), HostFunctions, HostFunctions, HostFunctions)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>§keystore: Arc<dyn Keystore>
\ No newline at end of file +}

Fields§

§transaction_pool: Arc<BasicPool<FullChainApiWrapper<Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions), HostFunctions, HostFunctions, HostFunctions)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>§keystore: Arc<dyn Keystore>
\ No newline at end of file diff --git a/domain_test_service/domain/type.EvmDomainNode.html b/domain_test_service/domain/type.EvmDomainNode.html index 7516711188..f77b849ee8 100644 --- a/domain_test_service/domain/type.EvmDomainNode.html +++ b/domain_test_service/domain/type.EvmDomainNode.html @@ -11,7 +11,7 @@ pub sync_service: Arc<SyncingService<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>>, pub addr: MultiaddrWithPeerId, pub rpc_handlers: RpcHandlers, - pub operator: Operator<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions), HostFunctions, HostFunctions, HostFunctions)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, BasicPool<FullChainApiWrapper<Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions), HostFunctions, HostFunctions, HostFunctions)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, + pub operator: Operator<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions), HostFunctions, HostFunctions, HostFunctions)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, BasicPool<FullChainApiWrapper<Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions), HostFunctions, HostFunctions, HostFunctions)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, pub tx_pool_sink: TracingUnboundedSender<ChainTxPoolMsg>, /* private fields */ }

Fields§

§domain_id: DomainId

The domain id

@@ -25,6 +25,6 @@
§addr: MultiaddrWithPeerId

The MultiaddrWithPeerId to this node. This is useful if you want to pass it as “boot node” to other nodes.

§rpc_handlers: RpcHandlers

RPCHandlers to make RPC queries.

-
§operator: Operator<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions), HostFunctions, HostFunctions, HostFunctions)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, BasicPool<FullChainApiWrapper<Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions), HostFunctions, HostFunctions, HostFunctions)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>

Domain oeprator.

+
§operator: Operator<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions), HostFunctions, HostFunctions, HostFunctions)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, BasicPool<FullChainApiWrapper<Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions), HostFunctions, HostFunctions, HostFunctions)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Client<Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, LocalCallExecutor<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>, RuntimeApi>>, Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, Backend<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>, WasmExecutor<((HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions, HostFunctions),)>>

Domain oeprator.

§tx_pool_sink: TracingUnboundedSender<ChainTxPoolMsg>

Sink to the node’s tx pool

\ No newline at end of file diff --git a/help.html b/help.html index a0bb3ed0c0..397c9c0d51 100644 --- a/help.html +++ b/help.html @@ -1,2 +1,2 @@ -Help -

Rustdoc help

Back
\ No newline at end of file +Help +

Rustdoc help

Back
\ No newline at end of file diff --git a/index.html b/index.html index 80fddc8140..a59f9a1aaf 100644 --- a/index.html +++ b/index.html @@ -1,2 +1,2 @@ -Index of crates -
\ No newline at end of file +Index of crates +
\ No newline at end of file diff --git a/pallet_domains/dispatchables/fn.submit_fraud_proof.html b/pallet_domains/dispatchables/fn.submit_fraud_proof.html index c677f8f0df..eb96b78ff1 100644 --- a/pallet_domains/dispatchables/fn.submit_fraud_proof.html +++ b/pallet_domains/dispatchables/fn.submit_fraud_proof.html @@ -1,6 +1,6 @@ submit_fraud_proof in pallet_domains::dispatchables - Rust
pub fn submit_fraud_proof<T: Config>(
-    fraud_proof: Box<FraudProof<BlockNumberFor<T>, T::Hash, T::DomainHeader>>
+    fraud_proof: Box<FraudProof<BlockNumberFor<T>, T::Hash, T::DomainHeader>>
 )
Expand description

Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in diff --git a/pallet_domains/enum.Call.html b/pallet_domains/enum.Call.html index 3d6023746d..8bd2f515c0 100644 --- a/pallet_domains/enum.Call.html +++ b/pallet_domains/enum.Call.html @@ -4,7 +4,7 @@ opaque_bundle: OpaqueBundleOf<T>, }, submit_fraud_proof { - fraud_proof: Box<FraudProof<BlockNumberFor<T>, T::Hash, T::DomainHeader>>, + fraud_proof: Box<FraudProof<BlockNumberFor<T>, T::Hash, T::DomainHeader>>, }, register_domain_runtime { runtime_name: String, @@ -54,7 +54,7 @@ // some variants omitted

}
Expand description

Contains a variant per dispatchable extrinsic that this pallet has.

Variants§

§

submit_bundle

Fields

§opaque_bundle: OpaqueBundleOf<T>
§

submit_fraud_proof

Fields

§fraud_proof: Box<FraudProof<BlockNumberFor<T>, T::Hash, T::DomainHeader>>
§

submit_fraud_proof

Fields

§fraud_proof: Box<FraudProof<BlockNumberFor<T>, T::Hash, T::DomainHeader>>
§

register_domain_runtime

Fields

§runtime_name: String
§runtime_type: RuntimeType
§raw_genesis_storage: Vec<u8>
§

upgrade_domain_runtime

Fields

§runtime_id: RuntimeId
§raw_genesis_storage: Vec<u8>
§

register_operator

Fields

§domain_id: DomainId
§amount: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance
§config: OperatorConfig<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance>

See Pallet::register_operator.

@@ -69,7 +69,7 @@
§

force_staking_epoch_transition

Fields

§domain_id: DomainId

Implementations§

source§

impl<T: Config> Call<T>

source

pub fn new_call_variant_submit_bundle(opaque_bundle: OpaqueBundleOf<T>) -> Self

Create a call with the variant submit_bundle.

source

pub fn new_call_variant_submit_fraud_proof( - fraud_proof: Box<FraudProof<BlockNumberFor<T>, T::Hash, T::DomainHeader>> + fraud_proof: Box<FraudProof<BlockNumberFor<T>, T::Hash, T::DomainHeader>> ) -> Self

Create a call with the variant submit_fraud_proof.

source

pub fn new_call_variant_register_domain_runtime( runtime_name: String, @@ -127,7 +127,7 @@ sufficient, and should not be overridden without very good reason.

source§

impl<T> TypeInfo for Call<T>
where PhantomData<(T,)>: TypeInfo + 'static, OpaqueBundleOf<T>: TypeInfo + 'static, - Box<FraudProof<BlockNumberFor<T>, T::Hash, T::DomainHeader>>: TypeInfo + 'static, + Box<FraudProof<BlockNumberFor<T>, T::Hash, T::DomainHeader>>: TypeInfo + 'static, <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance: TypeInfo + 'static, OperatorConfig<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance>: TypeInfo + 'static, DomainConfig<T::AccountId>: TypeInfo + 'static, diff --git a/pallet_domains/struct.Pallet.html b/pallet_domains/struct.Pallet.html index 1f113cfc3a..8a3b42a54f 100644 --- a/pallet_domains/struct.Pallet.html +++ b/pallet_domains/struct.Pallet.html @@ -6,7 +6,7 @@ opaque_bundle: OpaqueBundleOf<T> ) -> DispatchResultWithPostInfo

source

pub fn submit_fraud_proof( origin: OriginFor<T>, - fraud_proof: Box<FraudProof<BlockNumberFor<T>, T::Hash, T::DomainHeader>> + fraud_proof: Box<FraudProof<BlockNumberFor<T>, T::Hash, T::DomainHeader>> ) -> DispatchResult

source

pub fn register_domain_runtime( origin: OriginFor<T>, runtime_name: String, @@ -108,7 +108,7 @@ ) -> Option<ReceiptHashFor<T>>

source§

impl<T> Pallet<T>
where T: Config + SendTransactionTypes<Call<T>>,

source

pub fn submit_bundle_unsigned(opaque_bundle: OpaqueBundleOf<T>)

Submits an unsigned extrinsic Call::submit_bundle.

source

pub fn submit_fraud_proof_unsigned( - fraud_proof: FraudProof<BlockNumberFor<T>, T::Hash, T::DomainHeader> + fraud_proof: FraudProof<BlockNumberFor<T>, T::Hash, T::DomainHeader> )

Submits an unsigned extrinsic Call::submit_fraud_proof.

Trait Implementations§

source§

impl<T: Config> BeforeAllRuntimeMigrations for Pallet<T>

source§

fn before_all_runtime_migrations() -> Weight

Something that should happen before runtime migrations are executed.
source§

impl<T: Config> Callable<T> for Pallet<T>

source§

impl<T> Clone for Pallet<T>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T> Debug for Pallet<T>

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T: Config> GetStorageVersion for Pallet<T>

§

type CurrentStorageVersion = StorageVersion

This will be filled out by the pallet macro. Read more
source§

fn current_storage_version() -> Self::CurrentStorageVersion

Returns the current storage version as supported by the pallet.
source§

fn on_chain_storage_version() -> StorageVersion

Returns the on-chain storage version of the pallet as stored in the storage.
source§

impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_initialize(block_number: BlockNumberFor<T>) -> Weight

Block initialization hook. This is called at the very beginning of block execution. Read more
source§

fn on_finalize(_: BlockNumberFor<T>)

Block finalization hook. This is called at the very end of block execution. Read more
§

fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight

Hook to consume a block’s idle time. This will run when the block is being finalized (before [Hooks::on_finalize]). Read more
§

fn on_runtime_upgrade() -> Weight

Hook executed when a code change (aka. a “runtime upgrade”) is detected by FRAME. Read more
§

fn offchain_worker(_n: BlockNumber)

Implementing this function on a pallet allows you to perform long-running tasks that are diff --git a/pallet_subspace/pallet/struct.Pallet.html b/pallet_subspace/pallet/struct.Pallet.html index 67849cdbfb..6202f1a3fe 100644 --- a/pallet_subspace/pallet/struct.Pallet.html +++ b/pallet_subspace/pallet/struct.Pallet.html @@ -61,7 +61,7 @@ signed_vote: SignedVote<BlockNumberFor<T>, T::Hash, T::AccountId> )

Submit farmer vote vote that is essentially a header with bigger solution range than acceptable for block authoring.

-

Trait Implementations§

source§

impl<T: Config> BeforeAllRuntimeMigrations for Pallet<T>

source§

fn before_all_runtime_migrations() -> Weight

Something that should happen before runtime migrations are executed.
source§

impl<T: Config> Callable<T> for Pallet<T>

source§

impl<T> Clone for Pallet<T>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T> Debug for Pallet<T>

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T: Config> FindBlockRewardAddress<<T as Config>::AccountId> for Pallet<T>

source§

fn find_block_reward_address() -> Option<T::AccountId>

Find the address for a block rewards based on the pre-runtime digests.
source§

impl<T: Config> FindVotingRewardAddresses<<T as Config>::AccountId> for Pallet<T>

source§

fn find_voting_reward_addresses() -> Vec<T::AccountId>

Find the addresses for voting rewards based on transactions found in the block.
source§

impl<T: Config> GetStorageVersion for Pallet<T>

§

type CurrentStorageVersion = NoStorageVersionSet

This will be filled out by the pallet macro. Read more
source§

fn current_storage_version() -> Self::CurrentStorageVersion

Returns the current storage version as supported by the pallet.
source§

fn on_chain_storage_version() -> StorageVersion

Returns the on-chain storage version of the pallet as stored in the storage.
source§

impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_initialize(block_number: BlockNumberFor<T>) -> Weight

Block initialization hook. This is called at the very beginning of block execution. Read more
source§

fn on_finalize(block_number: BlockNumberFor<T>)

Block finalization hook. This is called at the very end of block execution. Read more
§

fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight

Hook to consume a block’s idle time. This will run when the block is being finalized (before +

Trait Implementations§

source§

impl<T: Config> BeforeAllRuntimeMigrations for Pallet<T>

source§

fn before_all_runtime_migrations() -> Weight

Something that should happen before runtime migrations are executed.
source§

impl<T: Config> Callable<T> for Pallet<T>

source§

impl<T> Clone for Pallet<T>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T> Debug for Pallet<T>

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T: Config> FindBlockRewardAddress<<T as Config>::AccountId> for Pallet<T>

source§

fn find_block_reward_address() -> Option<T::AccountId>

Find the address for a block rewards based on the pre-runtime digests.
source§

impl<T: Config> FindVotingRewardAddresses<<T as Config>::AccountId> for Pallet<T>

source§

fn find_voting_reward_addresses() -> Vec<T::AccountId>

Find the addresses for voting rewards based on transactions found in the block.
source§

impl<T: Config> GetStorageVersion for Pallet<T>

§

type CurrentStorageVersion = NoStorageVersionSet

This will be filled out by the pallet macro. Read more
source§

fn current_storage_version() -> Self::CurrentStorageVersion

Returns the current storage version as supported by the pallet.
source§

fn on_chain_storage_version() -> StorageVersion

Returns the on-chain storage version of the pallet as stored in the storage.
source§

impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_initialize(block_number: BlockNumberFor<T>) -> Weight

Block initialization hook. This is called at the very beginning of block execution. Read more
source§

fn on_finalize(block_number: BlockNumberFor<T>)

Block finalization hook. This is called at the very end of block execution. Read more
§

fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight

Hook to consume a block’s idle time. This will run when the block is being finalized (before [Hooks::on_finalize]). Read more
§

fn on_runtime_upgrade() -> Weight

Hook executed when a code change (aka. a “runtime upgrade”) is detected by FRAME. Read more
§

fn offchain_worker(_n: BlockNumber)

Implementing this function on a pallet allows you to perform long-running tasks that are dispatched as separate threads, and entirely independent of the main wasm runtime. Read more
§

fn integrity_test()

Check the integrity of this pallet’s configuration. Read more
source§

impl<T: Config> IntegrityTest for Pallet<T>

source§

fn integrity_test()

See [Hooks::integrity_test].
source§

impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn offchain_worker(n: BlockNumberFor<T>)

This function is being called after every block import (when fully synced). Read more
source§

impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_finalize(n: BlockNumberFor<T>)

See [Hooks::on_finalize].
source§

impl<T: Config> OnGenesis for Pallet<T>

source§

fn on_genesis()

Something that should happen at genesis.
source§

impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_idle(n: BlockNumberFor<T>, remaining_weight: Weight) -> Weight

See [Hooks::on_idle].
source§

impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_initialize(n: BlockNumberFor<T>) -> Weight

See [Hooks::on_initialize].
source§

impl<T: Config> OnOffenceHandler<Public> for Pallet<T>

source§

fn on_offence(offenders: &[OffenceDetails<FarmerPublicKey>])

A handler for an offence of a particular kind. Read more
source§

impl<T: Config> OnRuntimeUpgrade for Pallet<T>

source§

fn on_runtime_upgrade() -> Weight

See [Hooks::on_runtime_upgrade].
source§

impl<T: Config> PalletInfoAccess for Pallet<T>

source§

fn index() -> usize

Index of the pallet as configured in the runtime.
source§

fn name() -> &'static str

Name of the pallet as configured in the runtime.
source§

fn name_hash() -> [u8; 16]

Two128 hash of name.
source§

fn module_name() -> &'static str

Name of the Rust module containing the pallet.
source§

fn crate_version() -> CrateVersion

Version of the crate containing the pallet.
source§

impl<T: Config> PalletsInfoAccess for Pallet<T>

source§

fn count() -> usize

The number of pallets’ information that this type represents. Read more
source§

fn infos() -> Vec<PalletInfoData>

All of the pallets’ information that this type represents.
source§

impl<T> PartialEq for Pallet<T>

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always diff --git a/sc_consensus_subspace_rpc/struct.SubspaceRpcConfig.html b/sc_consensus_subspace_rpc/struct.SubspaceRpcConfig.html index 294f069d7a..571a1df830 100644 --- a/sc_consensus_subspace_rpc/struct.SubspaceRpcConfig.html +++ b/sc_consensus_subspace_rpc/struct.SubspaceRpcConfig.html @@ -4,23 +4,23 @@ AS: AuxStore + Send + Sync + 'static,
{ pub client: Arc<Client>, pub subscription_executor: SubscriptionTaskExecutor, - pub new_slot_notification_stream: SubspaceNotificationStream<NewSlotNotification>, - pub reward_signing_notification_stream: SubspaceNotificationStream<RewardSigningNotification>, - pub archived_segment_notification_stream: SubspaceNotificationStream<ArchivedSegmentNotification>, + pub new_slot_notification_stream: SubspaceNotificationStream<NewSlotNotification>, + pub reward_signing_notification_stream: SubspaceNotificationStream<RewardSigningNotification>, + pub archived_segment_notification_stream: SubspaceNotificationStream<ArchivedSegmentNotification>, pub dsn_bootstrap_nodes: Vec<Multiaddr>, - pub segment_headers_store: SegmentHeadersStore<AS>, - pub sync_oracle: SubspaceSyncOracle<SO>, + pub segment_headers_store: SegmentHeadersStore<AS>, + pub sync_oracle: SubspaceSyncOracle<SO>, pub deny_unsafe: DenyUnsafe, pub kzg: Kzg, }
Expand description

Subspace RPC configuration

Fields§

§client: Arc<Client>

Substrate client

§subscription_executor: SubscriptionTaskExecutor

Task executor that is being used by RPC subscriptions

-
§new_slot_notification_stream: SubspaceNotificationStream<NewSlotNotification>

New slot notification stream

-
§reward_signing_notification_stream: SubspaceNotificationStream<RewardSigningNotification>

Reward signing notification stream

-
§archived_segment_notification_stream: SubspaceNotificationStream<ArchivedSegmentNotification>

Archived segment notification stream

+
§new_slot_notification_stream: SubspaceNotificationStream<NewSlotNotification>

New slot notification stream

+
§reward_signing_notification_stream: SubspaceNotificationStream<RewardSigningNotification>

Reward signing notification stream

+
§archived_segment_notification_stream: SubspaceNotificationStream<ArchivedSegmentNotification>

Archived segment notification stream

§dsn_bootstrap_nodes: Vec<Multiaddr>

DSN bootstrap nodes

-
§segment_headers_store: SegmentHeadersStore<AS>

Segment headers store

-
§sync_oracle: SubspaceSyncOracle<SO>

Subspace sync oracle

+
§segment_headers_store: SegmentHeadersStore<AS>

Segment headers store

+
§sync_oracle: SubspaceSyncOracle<SO>

Subspace sync oracle

§deny_unsafe: DenyUnsafe

Signifies whether a potentially unsafe RPC should be denied

§kzg: Kzg

Kzg instance

Auto Trait Implementations§

§

impl<Client, SO, AS> !RefUnwindSafe for SubspaceRpcConfig<Client, SO, AS>

§

impl<Client, SO, AS> Send for SubspaceRpcConfig<Client, SO, AS>
where diff --git a/sc_proof_of_time/fn.start_slot_worker.html b/sc_proof_of_time/fn.start_slot_worker.html index b73611204a..468a8b7903 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 e3f1c84d98..08c774c1dd 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 9b4132728c..69449fd072 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 835a06cedf..dd9a9822e4 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/settings.html b/settings.html index 51589d0c3f..69cf5b40ea 100644 --- a/settings.html +++ b/settings.html @@ -1,2 +1,2 @@ -Settings -

Rustdoc settings

Back
\ No newline at end of file +Settings +

Rustdoc settings

Back
\ No newline at end of file diff --git a/src/subspace_service/config.rs.html b/src/subspace_service/config.rs.html index 72bcae9192..09a34671a2 100644 --- a/src/subspace_service/config.rs.html +++ b/src/subspace_service/config.rs.html @@ -344,7 +344,7 @@

Files

/// Network configuration pub network: SubstrateNetworkConfiguration, /// State pruning settings - pub state_pruning: Option<PruningMode>, + pub state_pruning: PruningMode, /// Number of blocks to keep in the db. /// /// NOTE: only finalized blocks are subject for removal! @@ -420,7 +420,7 @@

Files

data_path: configuration.base_path.clone(), // Substrate's default trie_cache_maximum_size: Some(64 * 1024 * 1024), - state_pruning: configuration.state_pruning, + state_pruning: Some(configuration.state_pruning), blocks_pruning: configuration.blocks_pruning, wasm_method: Default::default(), wasm_runtime_overrides: None, diff --git a/subspace_malicious_operator/malicious_domain_instance_starter/struct.DomainInstanceStarter.html b/subspace_malicious_operator/malicious_domain_instance_starter/struct.DomainInstanceStarter.html index ab67efef5b..572fdeafd2 100644 --- a/subspace_malicious_operator/malicious_domain_instance_starter/struct.DomainInstanceStarter.html +++ b/subspace_malicious_operator/malicious_domain_instance_starter/struct.DomainInstanceStarter.html @@ -3,7 +3,7 @@ pub domain_cli: DomainCli, pub base_path: PathBuf, pub tokio_handle: Handle, - pub consensus_client: Arc<FullClient<RuntimeApi>>, + pub consensus_client: Arc<FullClient<RuntimeApi>>, pub consensus_keystore: KeystorePtr, pub consensus_offchain_tx_pool_factory: OffchainTransactionPoolFactory<Block>, pub block_importing_notification_stream: SubspaceNotificationStream<BlockImportingNotification<Block>>, @@ -14,7 +14,7 @@ pub consensus_network: Arc<CNetwork>, }
Expand description

DomainInstanceStarter used to start a domain instance node based on the given bootstrap result

-

Fields§

§domain_cli: DomainCli§base_path: PathBuf§tokio_handle: Handle§consensus_client: Arc<FullClient<RuntimeApi>>§consensus_keystore: KeystorePtr§consensus_offchain_tx_pool_factory: OffchainTransactionPoolFactory<Block>§block_importing_notification_stream: SubspaceNotificationStream<BlockImportingNotification<Block>>§new_slot_notification_stream: SubspaceNotificationStream<NewSlotNotification>§consensus_sync_service: Arc<SyncingService<Block>>§domain_message_receiver: TracingUnboundedReceiver<ChainTxPoolMsg>§gossip_message_sink: TracingUnboundedSender<Message>§consensus_network: Arc<CNetwork>

Implementations§

source§

impl<CNetwork> DomainInstanceStarter<CNetwork>
where +

Fields§

§domain_cli: DomainCli§base_path: PathBuf§tokio_handle: Handle§consensus_client: Arc<FullClient<RuntimeApi>>§consensus_keystore: KeystorePtr§consensus_offchain_tx_pool_factory: OffchainTransactionPoolFactory<Block>§block_importing_notification_stream: SubspaceNotificationStream<BlockImportingNotification<Block>>§new_slot_notification_stream: SubspaceNotificationStream<NewSlotNotification>§consensus_sync_service: Arc<SyncingService<Block>>§domain_message_receiver: TracingUnboundedReceiver<ChainTxPoolMsg>§gossip_message_sink: TracingUnboundedSender<Message>§consensus_network: Arc<CNetwork>

Implementations§

source§

impl<CNetwork> DomainInstanceStarter<CNetwork>
where CNetwork: NetworkPeers + Send + Sync + 'static,

source

pub async fn start( self, bootstrap_result: BootstrapResult<CBlock> diff --git a/subspace_service/config/struct.SubstrateConfiguration.html b/subspace_service/config/struct.SubstrateConfiguration.html index e505de4295..587ad10bf0 100644 --- a/subspace_service/config/struct.SubstrateConfiguration.html +++ b/subspace_service/config/struct.SubstrateConfiguration.html @@ -6,7 +6,7 @@ pub base_path: PathBuf, pub transaction_pool: TransactionPoolOptions, pub network: SubstrateNetworkConfiguration, - pub state_pruning: Option<PruningMode>, + pub state_pruning: PruningMode, pub blocks_pruning: BlocksPruning, pub rpc_options: SubstrateRpcConfiguration, pub prometheus_listen_on: Option<SocketAddr>, @@ -22,7 +22,7 @@

§base_path: PathBuf

Base path for node data

§transaction_pool: TransactionPoolOptions

Extrinsic pool configuration

§network: SubstrateNetworkConfiguration

Network configuration

-
§state_pruning: Option<PruningMode>

State pruning settings

+
§state_pruning: PruningMode

State pruning settings

§blocks_pruning: BlocksPruning

Number of blocks to keep in the db.

NOTE: only finalized blocks are subject for removal!

§rpc_options: SubstrateRpcConfiguration

RPC configuration

diff --git a/subspace_test_client/chain_spec/type.TestChainSpec.html b/subspace_test_client/chain_spec/type.TestChainSpec.html index 9918acfea7..55ad4f60dc 100644 --- a/subspace_test_client/chain_spec/type.TestChainSpec.html +++ b/subspace_test_client/chain_spec/type.TestChainSpec.html @@ -1,3 +1,3 @@ TestChainSpec in subspace_test_client::chain_spec - Rust -
pub type TestChainSpec = GenericChainSpec<RuntimeGenesisConfig>;
Expand description

The ChainSpec parameterized for subspace test runtime.

+
pub type TestChainSpec = GenericChainSpec<RuntimeGenesisConfig>;
Expand description

The ChainSpec parameterized for subspace test runtime.

Aliased Type§

struct TestChainSpec { /* private fields */ }
\ No newline at end of file diff --git a/subspace_test_client/type.Client.html b/subspace_test_client/type.Client.html index 019b8c1435..70a5b097d0 100644 --- a/subspace_test_client/type.Client.html +++ b/subspace_test_client/type.Client.html @@ -1,3 +1,3 @@ Client in subspace_test_client - Rust -

Type Alias subspace_test_client::Client

source ·
pub type Client = FullClient<RuntimeApi>;
Expand description

The client type being used by the test service.

+

Type Alias subspace_test_client::Client

source ·
pub type Client = FullClient<RuntimeApi>;
Expand description

The client type being used by the test service.

Aliased Type§

struct Client { /* private fields */ }
\ 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 diff --git a/trait.impl/scale_info/trait.TypeInfo.js b/trait.impl/scale_info/trait.TypeInfo.js index 366effed38..239092ec64 100644 --- a/trait.impl/scale_info/trait.TypeInfo.js +++ b/trait.impl/scale_info/trait.TypeInfo.js @@ -6,7 +6,7 @@ "orml_vesting":[["impl<BlockNumber, Balance> TypeInfo for VestingSchedule<BlockNumber, Balance>
where\n BlockNumber: TypeInfo + 'static,\n Balance: HasCompact + MaxEncodedLen + HasCompact + TypeInfo + 'static,
"],["impl<T> TypeInfo for Event<T>
where\n T::AccountId: TypeInfo + 'static,\n VestingSchedule<BlockNumberFor<T>, <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance>: TypeInfo + 'static,\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: TypeInfo + 'static,\n PhantomData<T>: TypeInfo + 'static,\n T: Config + 'static,
"],["impl<T> TypeInfo for Call<T>
where\n PhantomData<(T,)>: TypeInfo + 'static,\n <T::Lookup as StaticLookup>::Source: TypeInfo + 'static,\n VestingSchedule<BlockNumberFor<T>, <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance>: TypeInfo + 'static,\n Vec<VestingSchedule<BlockNumberFor<T>, <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance>>: TypeInfo + 'static,\n T: Config + 'static,
"],["impl<T> TypeInfo for Error<T>
where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,
"]], "pallet_block_fees":[["impl<T> TypeInfo for Call<T>
where\n PhantomData<(T,)>: TypeInfo + 'static,\n T::Balance: HasCompact,\n T: Config + 'static,
"]], "pallet_domain_id":[["impl<T> TypeInfo for Call<T>
where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,
"]], -"pallet_domains":[["impl<AccountId> TypeInfo for DomainConfig<AccountId>
where\n OperatorAllowList<AccountId>: TypeInfo + 'static,\n AccountId: Ord + TypeInfo + 'static,
"],["impl TypeInfo for Error"],["impl<T> TypeInfo for Event<T>
where\n BlockNumberFor<T>: TypeInfo + 'static,\n <T as Config>::AccountId: TypeInfo + 'static,\n <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance: TypeInfo + 'static,\n Option<DomainBlockNumberFor<T>>: TypeInfo + 'static,\n SlashedReason<DomainBlockNumberFor<T>, ReceiptHashFor<T>>: TypeInfo + 'static,\n PhantomData<T>: TypeInfo + 'static,\n T: Config + 'static,
"],["impl TypeInfo for BundleError"],["impl<Hash> TypeInfo for ScheduledRuntimeUpgrade<Hash>
where\n Hash: TypeInfo + 'static,
"],["impl TypeInfo for TxRangeState"],["impl TypeInfo for FraudProofError"],["impl TypeInfo for DomainRuntimeInfo"],["impl<Number, Hash, DomainNumber, DomainHash, Balance> TypeInfo for BlockTreeNode<Number, Hash, DomainNumber, DomainHash, Balance>
where\n ExecutionReceipt<Number, Hash, DomainNumber, DomainHash, Balance>: TypeInfo + 'static,\n Number: TypeInfo + 'static,\n Hash: TypeInfo + 'static,\n DomainNumber: TypeInfo + 'static,\n DomainHash: TypeInfo + 'static,\n Balance: TypeInfo + 'static,
"],["impl<T> TypeInfo for Call<T>
where\n PhantomData<(T,)>: TypeInfo + 'static,\n OpaqueBundleOf<T>: TypeInfo + 'static,\n Box<FraudProof<BlockNumberFor<T>, T::Hash, T::DomainHeader>>: TypeInfo + 'static,\n <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance: TypeInfo + 'static,\n OperatorConfig<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance>: TypeInfo + 'static,\n DomainConfig<T::AccountId>: TypeInfo + 'static,\n T::Share: TypeInfo + 'static,\n OperatorAllowList<T::AccountId>: TypeInfo + 'static,\n T: Config + 'static,
"],["impl TypeInfo for Error"],["impl TypeInfo for Error"],["impl<Number, ReceiptHash, AccountId> TypeInfo for DomainObject<Number, ReceiptHash, AccountId>
where\n AccountId: TypeInfo + 'static + Ord,\n Number: TypeInfo + 'static,\n ReceiptHash: TypeInfo + 'static,\n DomainConfig<AccountId>: TypeInfo + 'static,
"],["impl<Balance> TypeInfo for OperatorConfig<Balance>
where\n Balance: TypeInfo + 'static,
"],["impl<T> TypeInfo for Error<T>
where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,
"],["impl<Number, Hash> TypeInfo for RuntimeObject<Number, Hash>
where\n Hash: TypeInfo + 'static,\n Number: TypeInfo + 'static,
"],["impl<DomainBlock, ReceiptHash> TypeInfo for SlashedReason<DomainBlock, ReceiptHash>
where\n DomainBlock: TypeInfo + 'static,\n ReceiptHash: TypeInfo + 'static,
"]], +"pallet_domains":[["impl<AccountId> TypeInfo for DomainConfig<AccountId>
where\n OperatorAllowList<AccountId>: TypeInfo + 'static,\n AccountId: Ord + TypeInfo + 'static,
"],["impl TypeInfo for Error"],["impl<T> TypeInfo for Event<T>
where\n BlockNumberFor<T>: TypeInfo + 'static,\n <T as Config>::AccountId: TypeInfo + 'static,\n <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance: TypeInfo + 'static,\n Option<DomainBlockNumberFor<T>>: TypeInfo + 'static,\n SlashedReason<DomainBlockNumberFor<T>, ReceiptHashFor<T>>: TypeInfo + 'static,\n PhantomData<T>: TypeInfo + 'static,\n T: Config + 'static,
"],["impl TypeInfo for BundleError"],["impl<Hash> TypeInfo for ScheduledRuntimeUpgrade<Hash>
where\n Hash: TypeInfo + 'static,
"],["impl TypeInfo for TxRangeState"],["impl TypeInfo for FraudProofError"],["impl TypeInfo for DomainRuntimeInfo"],["impl<Number, Hash, DomainNumber, DomainHash, Balance> TypeInfo for BlockTreeNode<Number, Hash, DomainNumber, DomainHash, Balance>
where\n ExecutionReceipt<Number, Hash, DomainNumber, DomainHash, Balance>: TypeInfo + 'static,\n Number: TypeInfo + 'static,\n Hash: TypeInfo + 'static,\n DomainNumber: TypeInfo + 'static,\n DomainHash: TypeInfo + 'static,\n Balance: TypeInfo + 'static,
"],["impl<T> TypeInfo for Call<T>
where\n PhantomData<(T,)>: TypeInfo + 'static,\n OpaqueBundleOf<T>: TypeInfo + 'static,\n Box<FraudProof<BlockNumberFor<T>, T::Hash, T::DomainHeader>>: TypeInfo + 'static,\n <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance: TypeInfo + 'static,\n OperatorConfig<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance>: TypeInfo + 'static,\n DomainConfig<T::AccountId>: TypeInfo + 'static,\n T::Share: TypeInfo + 'static,\n OperatorAllowList<T::AccountId>: TypeInfo + 'static,\n T: Config + 'static,
"],["impl TypeInfo for Error"],["impl TypeInfo for Error"],["impl<Number, ReceiptHash, AccountId> TypeInfo for DomainObject<Number, ReceiptHash, AccountId>
where\n AccountId: TypeInfo + 'static + Ord,\n Number: TypeInfo + 'static,\n ReceiptHash: TypeInfo + 'static,\n DomainConfig<AccountId>: TypeInfo + 'static,
"],["impl<Balance> TypeInfo for OperatorConfig<Balance>
where\n Balance: TypeInfo + 'static,
"],["impl<T> TypeInfo for Error<T>
where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,
"],["impl<Number, Hash> TypeInfo for RuntimeObject<Number, Hash>
where\n Hash: TypeInfo + 'static,\n Number: TypeInfo + 'static,
"],["impl<DomainBlock, ReceiptHash> TypeInfo for SlashedReason<DomainBlock, ReceiptHash>
where\n DomainBlock: TypeInfo + 'static,\n ReceiptHash: TypeInfo + 'static,
"]], "pallet_feeds":[["impl<T> TypeInfo for Event<T>
where\n T::FeedId: TypeInfo + 'static,\n T::AccountId: TypeInfo + 'static,\n PhantomData<T>: TypeInfo + 'static,\n T: Config + 'static,
"],["impl TypeInfo for TotalObjectsAndSize"],["impl<T> TypeInfo for Call<T>
where\n PhantomData<(T,)>: TypeInfo + 'static,\n T::FeedProcessorKind: TypeInfo + 'static,\n T::FeedId: TypeInfo + 'static,\n <T::Lookup as StaticLookup>::Source: TypeInfo + 'static,\n T: Config + 'static,
"],["impl<T> TypeInfo for Error<T>
where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,
"],["impl<FeedProcessorId, AccountId> TypeInfo for FeedConfig<FeedProcessorId, AccountId>
where\n FeedProcessorId: TypeInfo + 'static,\n AccountId: TypeInfo + 'static,
"]], "pallet_grandpa_finality_verifier":[["impl TypeInfo for InitializationData"],["impl<T> TypeInfo for Error<T>
where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,
"],["impl<T> TypeInfo for Call<T>
where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,
"]], "pallet_messenger":[["impl<T> TypeInfo for Event<T>
where\n PhantomData<T>: TypeInfo + 'static,\n T: Config + 'static,
"],["impl<T> TypeInfo for Error<T>
where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,
"],["impl<T> TypeInfo for Call<T>
where\n PhantomData<(T,)>: TypeInfo + 'static,\n InitiateChannelParams<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance>: TypeInfo + 'static,\n CrossDomainMessage<BlockNumberFor<T>, T::Hash, <<T as Config>::Hashing as Hash>::Output>: TypeInfo + 'static,\n T: Config + 'static,
"],["impl<Balance> TypeInfo for Channel<Balance>
where\n FeeModel<Balance>: TypeInfo + 'static,\n Balance: TypeInfo + 'static,
"],["impl TypeInfo for ChannelState"],["impl TypeInfo for OutboxMessageResult"]], diff --git a/trait.impl/subspace_runtime_primitives/trait.FindBlockRewardAddress.js b/trait.impl/subspace_runtime_primitives/trait.FindBlockRewardAddress.js index 84683eee36..37b07885fb 100644 --- a/trait.impl/subspace_runtime_primitives/trait.FindBlockRewardAddress.js +++ b/trait.impl/subspace_runtime_primitives/trait.FindBlockRewardAddress.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"pallet_subspace":[["impl<T: Config> FindBlockRewardAddress<<T as Config>::AccountId> for Pallet<T>"]] +"pallet_subspace":[["impl<T: Config> FindBlockRewardAddress<<T as Config>::AccountId> for Pallet<T>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/subspace_runtime_primitives/trait.FindVotingRewardAddresses.js b/trait.impl/subspace_runtime_primitives/trait.FindVotingRewardAddresses.js index e535c8feac..4d6604fe14 100644 --- a/trait.impl/subspace_runtime_primitives/trait.FindVotingRewardAddresses.js +++ b/trait.impl/subspace_runtime_primitives/trait.FindVotingRewardAddresses.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"pallet_subspace":[["impl<T: Config> FindVotingRewardAddresses<<T as Config>::AccountId> for Pallet<T>"]] +"pallet_subspace":[["impl<T: Config> FindVotingRewardAddresses<<T as Config>::AccountId> for Pallet<T>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/type.impl/pallet_domains/struct.Pallet.js b/type.impl/pallet_domains/struct.Pallet.js index d6f4d577ea..1f1db58caa 100644 --- a/type.impl/pallet_domains/struct.Pallet.js +++ b/type.impl/pallet_domains/struct.Pallet.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"pallet_domains":[["
source§

impl<T: Config> Pallet<T>

source

pub fn submit_bundle(\n origin: OriginFor<T>,\n opaque_bundle: OpaqueBundleOf<T>\n) -> DispatchResultWithPostInfo

source

pub fn submit_fraud_proof(\n origin: OriginFor<T>,\n fraud_proof: Box<FraudProof<BlockNumberFor<T>, T::Hash, T::DomainHeader>>\n) -> DispatchResult

source

pub fn register_domain_runtime(\n origin: OriginFor<T>,\n runtime_name: String,\n runtime_type: RuntimeType,\n raw_genesis_storage: Vec<u8>\n) -> DispatchResult

source

pub fn upgrade_domain_runtime(\n origin: OriginFor<T>,\n runtime_id: RuntimeId,\n raw_genesis_storage: Vec<u8>\n) -> DispatchResult

source

pub fn register_operator(\n origin: OriginFor<T>,\n domain_id: DomainId,\n amount: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance,\n config: OperatorConfig<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance>\n) -> DispatchResult

source

pub fn nominate_operator(\n origin: OriginFor<T>,\n operator_id: OperatorId,\n amount: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance\n) -> DispatchResult

source

pub fn instantiate_domain(\n origin: OriginFor<T>,\n domain_config: DomainConfig<T::AccountId>\n) -> DispatchResult

source

pub fn switch_domain(\n origin: OriginFor<T>,\n operator_id: OperatorId,\n new_domain_id: DomainId\n) -> DispatchResult

source

pub fn deregister_operator(\n origin: OriginFor<T>,\n operator_id: OperatorId\n) -> DispatchResult

source

pub fn withdraw_stake(\n origin: OriginFor<T>,\n operator_id: OperatorId,\n shares: T::Share\n) -> DispatchResult

source

pub fn unlock_funds(\n origin: OriginFor<T>,\n operator_id: OperatorId\n) -> DispatchResult

Unlocks the first withdrawal given the unlocking period is complete.\nEven if rest of the withdrawals are out of unlocking period, nominator\nshould call this extrinsic to unlock each withdrawal

\n
source

pub fn unlock_operator(\n origin: OriginFor<T>,\n operator_id: OperatorId\n) -> DispatchResult

Unlocks the operator given the unlocking period is complete.\nAnyone can initiate the operator unlock.

\n
source

pub fn update_domain_operator_allow_list(\n origin: OriginFor<T>,\n domain_id: DomainId,\n operator_allow_list: OperatorAllowList<T::AccountId>\n) -> DispatchResult

Extrinsic to update domain’s operator allow list.\nNote:

\n
    \n
  • If the previous allowed list is set to specific operators and new allow list is set\nto Anyone, then domain will become permissioned to open for all operators.
  • \n
  • If the previous allowed list is set to Anyone or specific operators and the new\nallow list is set to specific operators, then all the registered not allowed operators\nwill continue to operate until they de-register themselves.
  • \n
\n
source

pub fn force_staking_epoch_transition(\n origin: OriginFor<T>,\n domain_id: DomainId\n) -> DispatchResult

Force staking epoch transition for a given domain

\n
",0,"pallet_domains::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn operator_signing_key<KArg>(k: KArg) -> Option<OperatorId>
where\n KArg: EncodeLike<OperatorPublicKey>,

An auto-generated getter for OperatorSigningKey.

\n
",0,"pallet_domains::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn domain_staking_summary<KArg>(\n k: KArg\n) -> Option<StakingSummary<OperatorId, <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance>>
where\n KArg: EncodeLike<DomainId>,

An auto-generated getter for DomainStakingSummary.

\n
",0,"pallet_domains::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn consensus_block_info<KArg1, KArg2>(\n k1: KArg1,\n k2: KArg2\n) -> Option<T::Hash>
where\n KArg1: EncodeLike<DomainId>,\n KArg2: EncodeLike<BlockNumberFor<T>>,

An auto-generated getter for ConsensusBlockHash.

\n
",0,"pallet_domains::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn successful_bundles(domain_id: DomainId) -> Vec<H256>

source

pub fn successful_fraud_proofs(domain_id: DomainId) -> Vec<T::DomainHash>

source

pub fn domain_runtime_code(domain_id: DomainId) -> Option<Vec<u8>>

source

pub fn domain_best_number(\n domain_id: DomainId\n) -> Option<DomainBlockNumberFor<T>>

source

pub fn domain_state_root(\n domain_id: DomainId,\n domain_block_number: DomainBlockNumberFor<T>,\n domain_block_hash: T::DomainHash\n) -> Option<T::DomainHash>

source

pub fn runtime_id(domain_id: DomainId) -> Option<RuntimeId>

source

pub fn domain_instance_data(\n domain_id: DomainId\n) -> Option<(DomainInstanceData, BlockNumberFor<T>)>

source

pub fn genesis_state_root(domain_id: DomainId) -> Option<H256>

source

pub fn domain_tx_range(domain_id: DomainId) -> U256

Returns the tx range for the domain.

\n
source

pub fn bundle_producer_election_params(\n domain_id: DomainId\n) -> Option<BundleProducerElectionParams<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance>>

source

pub fn operator(\n operator_id: OperatorId\n) -> Option<(OperatorPublicKey, <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance)>

source

pub fn head_receipt_number(domain_id: DomainId) -> DomainBlockNumberFor<T>

Returns the best execution chain number.

\n
source

pub fn oldest_unconfirmed_receipt_number(\n domain_id: DomainId\n) -> Option<DomainBlockNumberFor<T>>

Returns the block number of the oldest existing unconfirmed execution receipt, return None\nmeans there is no unconfirmed ER exist or submitted yet.

\n
source

pub fn domain_block_limit(domain_id: DomainId) -> Option<DomainBlockLimit>

Returns the domain block limit of the given domain.

\n
source

pub fn non_empty_er_exists(domain_id: DomainId) -> bool

Returns if there are any ERs in the challenge period that have non empty extrinsics.\nNote that Genesis ER is also considered special and hence non empty

\n
source

pub fn extrinsics_shuffling_seed() -> T::Hash

source

pub fn execution_receipt(\n receipt_hash: ReceiptHashFor<T>\n) -> Option<ExecutionReceiptOf<T>>

source

pub fn receipt_hash(\n domain_id: DomainId,\n domain_number: DomainBlockNumberFor<T>\n) -> Option<ReceiptHashFor<T>>

",0,"pallet_domains::pallet::Module"],["
source§

impl<T> Pallet<T>
where\n T: Config + SendTransactionTypes<Call<T>>,

source

pub fn submit_bundle_unsigned(opaque_bundle: OpaqueBundleOf<T>)

Submits an unsigned extrinsic Call::submit_bundle.

\n
source

pub fn submit_fraud_proof_unsigned(\n fraud_proof: FraudProof<BlockNumberFor<T>, T::Hash, T::DomainHeader>\n)

Submits an unsigned extrinsic Call::submit_fraud_proof.

\n
",0,"pallet_domains::pallet::Module"],["
source§

impl<T: Config> StorageInfoTrait for Pallet<T>

source§

fn storage_info() -> Vec<StorageInfo>

","StorageInfoTrait","pallet_domains::pallet::Module"],["
source§

impl<T> Eq for Pallet<T>

","Eq","pallet_domains::pallet::Module"],["
source§

impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_initialize(block_number: BlockNumberFor<T>) -> Weight

Block initialization hook. This is called at the very beginning of block execution. Read more
source§

fn on_finalize(_: BlockNumberFor<T>)

Block finalization hook. This is called at the very end of block execution. Read more
§

fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight

Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize]). Read more
§

fn on_runtime_upgrade() -> Weight

Hook executed when a code change (aka. a “runtime upgrade”) is detected by FRAME. Read more
§

fn offchain_worker(_n: BlockNumber)

Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main wasm runtime. Read more
§

fn integrity_test()

Check the integrity of this pallet’s configuration. Read more
","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_domains::pallet::Module"],["
source§

impl<T: Config> PalletInfoAccess for Pallet<T>

source§

fn index() -> usize

Index of the pallet as configured in the runtime.
source§

fn name() -> &'static str

Name of the pallet as configured in the runtime.
source§

fn name_hash() -> [u8; 16]

Two128 hash of name.
source§

fn module_name() -> &'static str

Name of the Rust module containing the pallet.
source§

fn crate_version() -> CrateVersion

Version of the crate containing the pallet.
","PalletInfoAccess","pallet_domains::pallet::Module"],["
source§

impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_finalize(n: BlockNumberFor<T>)

See [Hooks::on_finalize].
","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_domains::pallet::Module"],["
source§

impl<T: Config> WhitelistedStorageKeys for Pallet<T>

source§

fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>

Returns a Vec<TrackedStorageKey> indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.
","WhitelistedStorageKeys","pallet_domains::pallet::Module"],["
source§

impl<T: Config> OnRuntimeUpgrade for Pallet<T>

source§

fn on_runtime_upgrade() -> Weight

See [Hooks::on_runtime_upgrade].
","OnRuntimeUpgrade","pallet_domains::pallet::Module"],["
source§

impl<T: Config> Callable<T> for Pallet<T>

","Callable","pallet_domains::pallet::Module"],["
source§

impl<T> Debug for Pallet<T>

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
","Debug","pallet_domains::pallet::Module"],["
source§

impl<T: Config> IntegrityTest for Pallet<T>

source§

fn integrity_test()

See [Hooks::integrity_test].
","IntegrityTest","pallet_domains::pallet::Module"],["
source§

impl<T: Config> ValidateUnsigned for Pallet<T>

§

type Call = Call<T>

The call to validate
source§

fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>

Validate the call right before dispatch. Read more
source§

fn validate_unsigned(\n _source: TransactionSource,\n call: &Self::Call\n) -> TransactionValidity

Return the validity of the call Read more
","ValidateUnsigned","pallet_domains::pallet::Module"],["
source§

impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn offchain_worker(n: BlockNumberFor<T>)

This function is being called after every block import (when fully synced). Read more
","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_domains::pallet::Module"],["
source§

impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_idle(n: BlockNumberFor<T>, remaining_weight: Weight) -> Weight

See [Hooks::on_idle].
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_domains::pallet::Module"],["
source§

impl<T> Clone for Pallet<T>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","pallet_domains::pallet::Module"],["
source§

impl<T: Config> BeforeAllRuntimeMigrations for Pallet<T>

source§

fn before_all_runtime_migrations() -> Weight

Something that should happen before runtime migrations are executed.
","BeforeAllRuntimeMigrations","pallet_domains::pallet::Module"],["
source§

impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_initialize(n: BlockNumberFor<T>) -> Weight

See [Hooks::on_initialize].
","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_domains::pallet::Module"],["
source§

impl<T: Config> GetStorageVersion for Pallet<T>

§

type CurrentStorageVersion = StorageVersion

This will be filled out by the pallet macro. Read more
source§

fn current_storage_version() -> Self::CurrentStorageVersion

Returns the current storage version as supported by the pallet.
source§

fn on_chain_storage_version() -> StorageVersion

Returns the on-chain storage version of the pallet as stored in the storage.
","GetStorageVersion","pallet_domains::pallet::Module"],["
source§

impl<T: Config> OnGenesis for Pallet<T>

source§

fn on_genesis()

Something that should happen at genesis.
","OnGenesis","pallet_domains::pallet::Module"],["
source§

impl<T: Config> PalletsInfoAccess for Pallet<T>

source§

fn count() -> usize

The number of pallets’ information that this type represents. Read more
source§

fn infos() -> Vec<PalletInfoData>

All of the pallets’ information that this type represents.
","PalletsInfoAccess","pallet_domains::pallet::Module"],["
source§

impl<T> PartialEq for Pallet<T>

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","pallet_domains::pallet::Module"]] +"pallet_domains":[["
source§

impl<T: Config> Pallet<T>

source

pub fn submit_bundle(\n origin: OriginFor<T>,\n opaque_bundle: OpaqueBundleOf<T>\n) -> DispatchResultWithPostInfo

source

pub fn submit_fraud_proof(\n origin: OriginFor<T>,\n fraud_proof: Box<FraudProof<BlockNumberFor<T>, T::Hash, T::DomainHeader>>\n) -> DispatchResult

source

pub fn register_domain_runtime(\n origin: OriginFor<T>,\n runtime_name: String,\n runtime_type: RuntimeType,\n raw_genesis_storage: Vec<u8>\n) -> DispatchResult

source

pub fn upgrade_domain_runtime(\n origin: OriginFor<T>,\n runtime_id: RuntimeId,\n raw_genesis_storage: Vec<u8>\n) -> DispatchResult

source

pub fn register_operator(\n origin: OriginFor<T>,\n domain_id: DomainId,\n amount: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance,\n config: OperatorConfig<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance>\n) -> DispatchResult

source

pub fn nominate_operator(\n origin: OriginFor<T>,\n operator_id: OperatorId,\n amount: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance\n) -> DispatchResult

source

pub fn instantiate_domain(\n origin: OriginFor<T>,\n domain_config: DomainConfig<T::AccountId>\n) -> DispatchResult

source

pub fn switch_domain(\n origin: OriginFor<T>,\n operator_id: OperatorId,\n new_domain_id: DomainId\n) -> DispatchResult

source

pub fn deregister_operator(\n origin: OriginFor<T>,\n operator_id: OperatorId\n) -> DispatchResult

source

pub fn withdraw_stake(\n origin: OriginFor<T>,\n operator_id: OperatorId,\n shares: T::Share\n) -> DispatchResult

source

pub fn unlock_funds(\n origin: OriginFor<T>,\n operator_id: OperatorId\n) -> DispatchResult

Unlocks the first withdrawal given the unlocking period is complete.\nEven if rest of the withdrawals are out of unlocking period, nominator\nshould call this extrinsic to unlock each withdrawal

\n
source

pub fn unlock_operator(\n origin: OriginFor<T>,\n operator_id: OperatorId\n) -> DispatchResult

Unlocks the operator given the unlocking period is complete.\nAnyone can initiate the operator unlock.

\n
source

pub fn update_domain_operator_allow_list(\n origin: OriginFor<T>,\n domain_id: DomainId,\n operator_allow_list: OperatorAllowList<T::AccountId>\n) -> DispatchResult

Extrinsic to update domain’s operator allow list.\nNote:

\n
    \n
  • If the previous allowed list is set to specific operators and new allow list is set\nto Anyone, then domain will become permissioned to open for all operators.
  • \n
  • If the previous allowed list is set to Anyone or specific operators and the new\nallow list is set to specific operators, then all the registered not allowed operators\nwill continue to operate until they de-register themselves.
  • \n
\n
source

pub fn force_staking_epoch_transition(\n origin: OriginFor<T>,\n domain_id: DomainId\n) -> DispatchResult

Force staking epoch transition for a given domain

\n
",0,"pallet_domains::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn operator_signing_key<KArg>(k: KArg) -> Option<OperatorId>
where\n KArg: EncodeLike<OperatorPublicKey>,

An auto-generated getter for OperatorSigningKey.

\n
",0,"pallet_domains::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn domain_staking_summary<KArg>(\n k: KArg\n) -> Option<StakingSummary<OperatorId, <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance>>
where\n KArg: EncodeLike<DomainId>,

An auto-generated getter for DomainStakingSummary.

\n
",0,"pallet_domains::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn consensus_block_info<KArg1, KArg2>(\n k1: KArg1,\n k2: KArg2\n) -> Option<T::Hash>
where\n KArg1: EncodeLike<DomainId>,\n KArg2: EncodeLike<BlockNumberFor<T>>,

An auto-generated getter for ConsensusBlockHash.

\n
",0,"pallet_domains::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn successful_bundles(domain_id: DomainId) -> Vec<H256>

source

pub fn successful_fraud_proofs(domain_id: DomainId) -> Vec<T::DomainHash>

source

pub fn domain_runtime_code(domain_id: DomainId) -> Option<Vec<u8>>

source

pub fn domain_best_number(\n domain_id: DomainId\n) -> Option<DomainBlockNumberFor<T>>

source

pub fn domain_state_root(\n domain_id: DomainId,\n domain_block_number: DomainBlockNumberFor<T>,\n domain_block_hash: T::DomainHash\n) -> Option<T::DomainHash>

source

pub fn runtime_id(domain_id: DomainId) -> Option<RuntimeId>

source

pub fn domain_instance_data(\n domain_id: DomainId\n) -> Option<(DomainInstanceData, BlockNumberFor<T>)>

source

pub fn genesis_state_root(domain_id: DomainId) -> Option<H256>

source

pub fn domain_tx_range(domain_id: DomainId) -> U256

Returns the tx range for the domain.

\n
source

pub fn bundle_producer_election_params(\n domain_id: DomainId\n) -> Option<BundleProducerElectionParams<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance>>

source

pub fn operator(\n operator_id: OperatorId\n) -> Option<(OperatorPublicKey, <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance)>

source

pub fn head_receipt_number(domain_id: DomainId) -> DomainBlockNumberFor<T>

Returns the best execution chain number.

\n
source

pub fn oldest_unconfirmed_receipt_number(\n domain_id: DomainId\n) -> Option<DomainBlockNumberFor<T>>

Returns the block number of the oldest existing unconfirmed execution receipt, return None\nmeans there is no unconfirmed ER exist or submitted yet.

\n
source

pub fn domain_block_limit(domain_id: DomainId) -> Option<DomainBlockLimit>

Returns the domain block limit of the given domain.

\n
source

pub fn non_empty_er_exists(domain_id: DomainId) -> bool

Returns if there are any ERs in the challenge period that have non empty extrinsics.\nNote that Genesis ER is also considered special and hence non empty

\n
source

pub fn extrinsics_shuffling_seed() -> T::Hash

source

pub fn execution_receipt(\n receipt_hash: ReceiptHashFor<T>\n) -> Option<ExecutionReceiptOf<T>>

source

pub fn receipt_hash(\n domain_id: DomainId,\n domain_number: DomainBlockNumberFor<T>\n) -> Option<ReceiptHashFor<T>>

",0,"pallet_domains::pallet::Module"],["
source§

impl<T> Pallet<T>
where\n T: Config + SendTransactionTypes<Call<T>>,

source

pub fn submit_bundle_unsigned(opaque_bundle: OpaqueBundleOf<T>)

Submits an unsigned extrinsic Call::submit_bundle.

\n
source

pub fn submit_fraud_proof_unsigned(\n fraud_proof: FraudProof<BlockNumberFor<T>, T::Hash, T::DomainHeader>\n)

Submits an unsigned extrinsic Call::submit_fraud_proof.

\n
",0,"pallet_domains::pallet::Module"],["
source§

impl<T: Config> StorageInfoTrait for Pallet<T>

source§

fn storage_info() -> Vec<StorageInfo>

","StorageInfoTrait","pallet_domains::pallet::Module"],["
source§

impl<T> Eq for Pallet<T>

","Eq","pallet_domains::pallet::Module"],["
source§

impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_initialize(block_number: BlockNumberFor<T>) -> Weight

Block initialization hook. This is called at the very beginning of block execution. Read more
source§

fn on_finalize(_: BlockNumberFor<T>)

Block finalization hook. This is called at the very end of block execution. Read more
§

fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight

Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize]). Read more
§

fn on_runtime_upgrade() -> Weight

Hook executed when a code change (aka. a “runtime upgrade”) is detected by FRAME. Read more
§

fn offchain_worker(_n: BlockNumber)

Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main wasm runtime. Read more
§

fn integrity_test()

Check the integrity of this pallet’s configuration. Read more
","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_domains::pallet::Module"],["
source§

impl<T: Config> PalletInfoAccess for Pallet<T>

source§

fn index() -> usize

Index of the pallet as configured in the runtime.
source§

fn name() -> &'static str

Name of the pallet as configured in the runtime.
source§

fn name_hash() -> [u8; 16]

Two128 hash of name.
source§

fn module_name() -> &'static str

Name of the Rust module containing the pallet.
source§

fn crate_version() -> CrateVersion

Version of the crate containing the pallet.
","PalletInfoAccess","pallet_domains::pallet::Module"],["
source§

impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_finalize(n: BlockNumberFor<T>)

See [Hooks::on_finalize].
","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_domains::pallet::Module"],["
source§

impl<T: Config> WhitelistedStorageKeys for Pallet<T>

source§

fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>

Returns a Vec<TrackedStorageKey> indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.
","WhitelistedStorageKeys","pallet_domains::pallet::Module"],["
source§

impl<T: Config> OnRuntimeUpgrade for Pallet<T>

source§

fn on_runtime_upgrade() -> Weight

See [Hooks::on_runtime_upgrade].
","OnRuntimeUpgrade","pallet_domains::pallet::Module"],["
source§

impl<T: Config> Callable<T> for Pallet<T>

","Callable","pallet_domains::pallet::Module"],["
source§

impl<T> Debug for Pallet<T>

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
","Debug","pallet_domains::pallet::Module"],["
source§

impl<T: Config> IntegrityTest for Pallet<T>

source§

fn integrity_test()

See [Hooks::integrity_test].
","IntegrityTest","pallet_domains::pallet::Module"],["
source§

impl<T: Config> ValidateUnsigned for Pallet<T>

§

type Call = Call<T>

The call to validate
source§

fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>

Validate the call right before dispatch. Read more
source§

fn validate_unsigned(\n _source: TransactionSource,\n call: &Self::Call\n) -> TransactionValidity

Return the validity of the call Read more
","ValidateUnsigned","pallet_domains::pallet::Module"],["
source§

impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn offchain_worker(n: BlockNumberFor<T>)

This function is being called after every block import (when fully synced). Read more
","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_domains::pallet::Module"],["
source§

impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_idle(n: BlockNumberFor<T>, remaining_weight: Weight) -> Weight

See [Hooks::on_idle].
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_domains::pallet::Module"],["
source§

impl<T> Clone for Pallet<T>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","pallet_domains::pallet::Module"],["
source§

impl<T: Config> BeforeAllRuntimeMigrations for Pallet<T>

source§

fn before_all_runtime_migrations() -> Weight

Something that should happen before runtime migrations are executed.
","BeforeAllRuntimeMigrations","pallet_domains::pallet::Module"],["
source§

impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_initialize(n: BlockNumberFor<T>) -> Weight

See [Hooks::on_initialize].
","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_domains::pallet::Module"],["
source§

impl<T: Config> GetStorageVersion for Pallet<T>

§

type CurrentStorageVersion = StorageVersion

This will be filled out by the pallet macro. Read more
source§

fn current_storage_version() -> Self::CurrentStorageVersion

Returns the current storage version as supported by the pallet.
source§

fn on_chain_storage_version() -> StorageVersion

Returns the on-chain storage version of the pallet as stored in the storage.
","GetStorageVersion","pallet_domains::pallet::Module"],["
source§

impl<T: Config> OnGenesis for Pallet<T>

source§

fn on_genesis()

Something that should happen at genesis.
","OnGenesis","pallet_domains::pallet::Module"],["
source§

impl<T: Config> PalletsInfoAccess for Pallet<T>

source§

fn count() -> usize

The number of pallets’ information that this type represents. Read more
source§

fn infos() -> Vec<PalletInfoData>

All of the pallets’ information that this type represents.
","PalletsInfoAccess","pallet_domains::pallet::Module"],["
source§

impl<T> PartialEq for Pallet<T>

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","pallet_domains::pallet::Module"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/type.impl/pallet_subspace/pallet/struct.Pallet.js b/type.impl/pallet_subspace/pallet/struct.Pallet.js index b99ffcddc1..086a7cec22 100644 --- a/type.impl/pallet_subspace/pallet/struct.Pallet.js +++ b/type.impl/pallet_subspace/pallet/struct.Pallet.js @@ -1,5 +1,5 @@ (function() {var type_impls = { -"pallet_subspace":[["
source§

impl<T: Config> Pallet<T>

Methods for the ValidateUnsigned implementation:\nIt restricts calls to report_equivocation to local calls (i.e. extrinsics generated on this\nnode) or that already in a block. This guarantees that only block authors can include\nequivocation reports.

\n
source

pub fn validate_equivocation_report(\n source: TransactionSource,\n equivocation_proof: &EquivocationProof<HeaderFor<T>>\n) -> TransactionValidity

source

pub fn pre_dispatch_equivocation_report(\n equivocation_proof: &EquivocationProof<HeaderFor<T>>\n) -> Result<(), TransactionValidityError>

",0,"pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn report_equivocation(\n origin: OriginFor<T>,\n equivocation_proof: Box<EquivocationProof<HeaderFor<T>>>\n) -> DispatchResultWithPostInfo

Report farmer equivocation/misbehavior. This method will verify the equivocation proof.\nIf valid, the offence will be reported.

\n

This extrinsic must be called unsigned and it is expected that only block authors will\ncall it (validated in ValidateUnsigned), as such if the block author is defined it\nwill be defined as the equivocation reporter.

\n
source

pub fn store_segment_headers(\n origin: OriginFor<T>,\n segment_headers: Vec<SegmentHeader>\n) -> DispatchResult

Submit new segment header to the blockchain. This is an inherent extrinsic and part of\nthe Subspace consensus logic.

\n
source

pub fn enable_solution_range_adjustment(\n origin: OriginFor<T>,\n solution_range_override: Option<u64>,\n voting_solution_range_override: Option<u64>\n) -> DispatchResult

Enable solution range adjustment after every era.\nNote: No effect on the solution range for the current era

\n
source

pub fn vote(\n origin: OriginFor<T>,\n signed_vote: Box<SignedVote<BlockNumberFor<T>, T::Hash, T::AccountId>>\n) -> DispatchResult

Farmer vote, currently only used for extra rewards to farmers.

\n
source

pub fn enable_rewards_at(\n origin: OriginFor<T>,\n enable_rewards_at: EnableRewardsAt<BlockNumberFor<T>>\n) -> DispatchResult

Enable rewards for blocks and votes at specified block height.

\n
source

pub fn enable_authoring_by_anyone(origin: OriginFor<T>) -> DispatchResult

Enable storage access for all users.

\n
",0,"pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn genesis_slot() -> Slot

An auto-generated getter for GenesisSlot.

\n
",0,"pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn current_slot() -> Slot

An auto-generated getter for CurrentSlot.

\n
",0,"pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn solution_ranges() -> SolutionRanges

An auto-generated getter for SolutionRanges.

\n
",0,"pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn should_adjust_solution_range() -> bool

An auto-generated getter for ShouldAdjustSolutionRange.

\n
",0,"pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn segment_commitment<KArg>(k: KArg) -> Option<SegmentCommitment>
where\n KArg: EncodeLike<SegmentIndex>,

An auto-generated getter for SegmentCommitment.

\n
",0,"pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn root_plot_public_key() -> Option<FarmerPublicKey>

An auto-generated getter for RootPlotPublicKey.

\n
",0,"pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn history_size() -> HistorySize

Total number of pieces in the blockchain

\n
source

pub fn submit_equivocation_report(\n equivocation_proof: EquivocationProof<HeaderFor<T>>\n) -> Option<()>

Submits an extrinsic to report an equivocation. This method will create an unsigned\nextrinsic with a call to report_equivocation and will push the transaction to the pool.\nOnly useful in an offchain context.

\n
source

pub fn submit_test_equivocation_report(\n equivocation_proof: EquivocationProof<HeaderFor<T>>\n) -> Option<()>

Just stores offender from equivocation report in block list, only used for tests.

\n
source

pub fn pot_parameters() -> PotParameters

Proof of time parameters

\n
source

pub fn is_in_block_list(farmer_public_key: &FarmerPublicKey) -> bool

Check if farmer_public_key is in block list (due to equivocation)

\n
source

pub fn archived_history_size() -> u64

Size of the archived history of the blockchain in bytes

\n
",0,"pallet_subspace::pallet::Module"],["
source§

impl<T> Pallet<T>
where\n T: Config + SendTransactionTypes<Call<T>>,

source

pub fn submit_vote(\n signed_vote: SignedVote<BlockNumberFor<T>, T::Hash, T::AccountId>\n)

Submit farmer vote vote that is essentially a header with bigger solution range than\nacceptable for block authoring.

\n
",0,"pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Callable<T> for Pallet<T>

","Callable","pallet_subspace::pallet::Module"],["
source§

impl<T> PartialEq for Pallet<T>

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> ValidateUnsigned for Pallet<T>

§

type Call = Call<T>

The call to validate
source§

fn validate_unsigned(\n source: TransactionSource,\n call: &Self::Call\n) -> TransactionValidity

Return the validity of the call Read more
source§

fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>

Validate the call right before dispatch. Read more
","ValidateUnsigned","pallet_subspace::pallet::Module"],["
source§

impl<T> Debug for Pallet<T>

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
","Debug","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Randomness<<T as Config>::Hash, <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn random(subject: &[u8]) -> (T::Hash, BlockNumberFor<T>)

Get the most recently determined random seed, along with the time in the past\nsince when it was determinable by chain observers. Read more
source§

fn random_seed() -> (T::Hash, BlockNumberFor<T>)

Get the basic random seed. Read more
","Randomness<::Hash, <<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> PalletInfoAccess for Pallet<T>

source§

fn index() -> usize

Index of the pallet as configured in the runtime.
source§

fn name() -> &'static str

Name of the pallet as configured in the runtime.
source§

fn name_hash() -> [u8; 16]

Two128 hash of name.
source§

fn module_name() -> &'static str

Name of the Rust module containing the pallet.
source§

fn crate_version() -> CrateVersion

Version of the crate containing the pallet.
","PalletInfoAccess","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> BeforeAllRuntimeMigrations for Pallet<T>

source§

fn before_all_runtime_migrations() -> Weight

Something that should happen before runtime migrations are executed.
","BeforeAllRuntimeMigrations","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_idle(n: BlockNumberFor<T>, remaining_weight: Weight) -> Weight

See [Hooks::on_idle].
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_initialize(block_number: BlockNumberFor<T>) -> Weight

Block initialization hook. This is called at the very beginning of block execution. Read more
source§

fn on_finalize(block_number: BlockNumberFor<T>)

Block finalization hook. This is called at the very end of block execution. Read more
§

fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight

Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize]). Read more
§

fn on_runtime_upgrade() -> Weight

Hook executed when a code change (aka. a “runtime upgrade”) is detected by FRAME. Read more
§

fn offchain_worker(_n: BlockNumber)

Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main wasm runtime. Read more
§

fn integrity_test()

Check the integrity of this pallet’s configuration. Read more
","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> ProvideInherent for Pallet<T>

§

type Call = Call<T>

The call type of the pallet.
§

type Error = InherentError

The error returned by check_inherent.
source§

const INHERENT_IDENTIFIER: InherentIdentifier = INHERENT_IDENTIFIER

The inherent identifier used by this inherent.
source§

fn create_inherent(data: &InherentData) -> Option<Self::Call>

Create an inherent out of the given InherentData. Read more
source§

fn is_inherent_required(\n data: &InherentData\n) -> Result<Option<Self::Error>, Self::Error>

Determines whether this inherent is required in this block. Read more
source§

fn check_inherent(\n call: &Self::Call,\n data: &InherentData\n) -> Result<(), Self::Error>

Check whether the given inherent is valid. Checking the inherent is optional and can be\nomitted by using the default implementation. Read more
source§

fn is_inherent(call: &Self::Call) -> bool

Return whether the call is an inherent call. Read more
","ProvideInherent","pallet_subspace::pallet::Module"],["
source§

impl<T> Eq for Pallet<T>

","Eq","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> StorageInfoTrait for Pallet<T>

source§

fn storage_info() -> Vec<StorageInfo>

","StorageInfoTrait","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> FindVotingRewardAddresses<<T as Config>::AccountId> for Pallet<T>

source§

fn find_voting_reward_addresses() -> Vec<T::AccountId>

Find the addresses for voting rewards based on transactions found in the block.
","FindVotingRewardAddresses<::AccountId>","pallet_subspace::pallet::Module"],["
source§

impl<T> Clone for Pallet<T>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> FindBlockRewardAddress<<T as Config>::AccountId> for Pallet<T>

source§

fn find_block_reward_address() -> Option<T::AccountId>

Find the address for a block rewards based on the pre-runtime digests.
","FindBlockRewardAddress<::AccountId>","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> OnGenesis for Pallet<T>

source§

fn on_genesis()

Something that should happen at genesis.
","OnGenesis","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> WhitelistedStorageKeys for Pallet<T>

source§

fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>

Returns a Vec<TrackedStorageKey> indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.
","WhitelistedStorageKeys","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> OnRuntimeUpgrade for Pallet<T>

source§

fn on_runtime_upgrade() -> Weight

See [Hooks::on_runtime_upgrade].
","OnRuntimeUpgrade","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> PalletsInfoAccess for Pallet<T>

source§

fn count() -> usize

The number of pallets’ information that this type represents. Read more
source§

fn infos() -> Vec<PalletInfoData>

All of the pallets’ information that this type represents.
","PalletsInfoAccess","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> OnOffenceHandler<Public> for Pallet<T>

source§

fn on_offence(offenders: &[OffenceDetails<FarmerPublicKey>])

A handler for an offence of a particular kind. Read more
","OnOffenceHandler","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> IntegrityTest for Pallet<T>

source§

fn integrity_test()

See [Hooks::integrity_test].
","IntegrityTest","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_initialize(n: BlockNumberFor<T>) -> Weight

See [Hooks::on_initialize].
","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn offchain_worker(n: BlockNumberFor<T>)

This function is being called after every block import (when fully synced). Read more
","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> GetStorageVersion for Pallet<T>

§

type CurrentStorageVersion = NoStorageVersionSet

This will be filled out by the pallet macro. Read more
source§

fn current_storage_version() -> Self::CurrentStorageVersion

Returns the current storage version as supported by the pallet.
source§

fn on_chain_storage_version() -> StorageVersion

Returns the on-chain storage version of the pallet as stored in the storage.
","GetStorageVersion","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_finalize(n: BlockNumberFor<T>)

See [Hooks::on_finalize].
","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_subspace::pallet::Module"]], +"pallet_subspace":[["
source§

impl<T: Config> Pallet<T>

Methods for the ValidateUnsigned implementation:\nIt restricts calls to report_equivocation to local calls (i.e. extrinsics generated on this\nnode) or that already in a block. This guarantees that only block authors can include\nequivocation reports.

\n
source

pub fn validate_equivocation_report(\n source: TransactionSource,\n equivocation_proof: &EquivocationProof<HeaderFor<T>>\n) -> TransactionValidity

source

pub fn pre_dispatch_equivocation_report(\n equivocation_proof: &EquivocationProof<HeaderFor<T>>\n) -> Result<(), TransactionValidityError>

",0,"pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn report_equivocation(\n origin: OriginFor<T>,\n equivocation_proof: Box<EquivocationProof<HeaderFor<T>>>\n) -> DispatchResultWithPostInfo

Report farmer equivocation/misbehavior. This method will verify the equivocation proof.\nIf valid, the offence will be reported.

\n

This extrinsic must be called unsigned and it is expected that only block authors will\ncall it (validated in ValidateUnsigned), as such if the block author is defined it\nwill be defined as the equivocation reporter.

\n
source

pub fn store_segment_headers(\n origin: OriginFor<T>,\n segment_headers: Vec<SegmentHeader>\n) -> DispatchResult

Submit new segment header to the blockchain. This is an inherent extrinsic and part of\nthe Subspace consensus logic.

\n
source

pub fn enable_solution_range_adjustment(\n origin: OriginFor<T>,\n solution_range_override: Option<u64>,\n voting_solution_range_override: Option<u64>\n) -> DispatchResult

Enable solution range adjustment after every era.\nNote: No effect on the solution range for the current era

\n
source

pub fn vote(\n origin: OriginFor<T>,\n signed_vote: Box<SignedVote<BlockNumberFor<T>, T::Hash, T::AccountId>>\n) -> DispatchResult

Farmer vote, currently only used for extra rewards to farmers.

\n
source

pub fn enable_rewards_at(\n origin: OriginFor<T>,\n enable_rewards_at: EnableRewardsAt<BlockNumberFor<T>>\n) -> DispatchResult

Enable rewards for blocks and votes at specified block height.

\n
source

pub fn enable_authoring_by_anyone(origin: OriginFor<T>) -> DispatchResult

Enable storage access for all users.

\n
",0,"pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn genesis_slot() -> Slot

An auto-generated getter for GenesisSlot.

\n
",0,"pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn current_slot() -> Slot

An auto-generated getter for CurrentSlot.

\n
",0,"pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn solution_ranges() -> SolutionRanges

An auto-generated getter for SolutionRanges.

\n
",0,"pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn should_adjust_solution_range() -> bool

An auto-generated getter for ShouldAdjustSolutionRange.

\n
",0,"pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn segment_commitment<KArg>(k: KArg) -> Option<SegmentCommitment>
where\n KArg: EncodeLike<SegmentIndex>,

An auto-generated getter for SegmentCommitment.

\n
",0,"pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn root_plot_public_key() -> Option<FarmerPublicKey>

An auto-generated getter for RootPlotPublicKey.

\n
",0,"pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Pallet<T>

source

pub fn history_size() -> HistorySize

Total number of pieces in the blockchain

\n
source

pub fn submit_equivocation_report(\n equivocation_proof: EquivocationProof<HeaderFor<T>>\n) -> Option<()>

Submits an extrinsic to report an equivocation. This method will create an unsigned\nextrinsic with a call to report_equivocation and will push the transaction to the pool.\nOnly useful in an offchain context.

\n
source

pub fn submit_test_equivocation_report(\n equivocation_proof: EquivocationProof<HeaderFor<T>>\n) -> Option<()>

Just stores offender from equivocation report in block list, only used for tests.

\n
source

pub fn pot_parameters() -> PotParameters

Proof of time parameters

\n
source

pub fn is_in_block_list(farmer_public_key: &FarmerPublicKey) -> bool

Check if farmer_public_key is in block list (due to equivocation)

\n
source

pub fn archived_history_size() -> u64

Size of the archived history of the blockchain in bytes

\n
",0,"pallet_subspace::pallet::Module"],["
source§

impl<T> Pallet<T>
where\n T: Config + SendTransactionTypes<Call<T>>,

source

pub fn submit_vote(\n signed_vote: SignedVote<BlockNumberFor<T>, T::Hash, T::AccountId>\n)

Submit farmer vote vote that is essentially a header with bigger solution range than\nacceptable for block authoring.

\n
",0,"pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Callable<T> for Pallet<T>

","Callable","pallet_subspace::pallet::Module"],["
source§

impl<T> PartialEq for Pallet<T>

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> ValidateUnsigned for Pallet<T>

§

type Call = Call<T>

The call to validate
source§

fn validate_unsigned(\n source: TransactionSource,\n call: &Self::Call\n) -> TransactionValidity

Return the validity of the call Read more
source§

fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>

Validate the call right before dispatch. Read more
","ValidateUnsigned","pallet_subspace::pallet::Module"],["
source§

impl<T> Debug for Pallet<T>

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
","Debug","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Randomness<<T as Config>::Hash, <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn random(subject: &[u8]) -> (T::Hash, BlockNumberFor<T>)

Get the most recently determined random seed, along with the time in the past\nsince when it was determinable by chain observers. Read more
source§

fn random_seed() -> (T::Hash, BlockNumberFor<T>)

Get the basic random seed. Read more
","Randomness<::Hash, <<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> PalletInfoAccess for Pallet<T>

source§

fn index() -> usize

Index of the pallet as configured in the runtime.
source§

fn name() -> &'static str

Name of the pallet as configured in the runtime.
source§

fn name_hash() -> [u8; 16]

Two128 hash of name.
source§

fn module_name() -> &'static str

Name of the Rust module containing the pallet.
source§

fn crate_version() -> CrateVersion

Version of the crate containing the pallet.
","PalletInfoAccess","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> BeforeAllRuntimeMigrations for Pallet<T>

source§

fn before_all_runtime_migrations() -> Weight

Something that should happen before runtime migrations are executed.
","BeforeAllRuntimeMigrations","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_idle(n: BlockNumberFor<T>, remaining_weight: Weight) -> Weight

See [Hooks::on_idle].
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_initialize(block_number: BlockNumberFor<T>) -> Weight

Block initialization hook. This is called at the very beginning of block execution. Read more
source§

fn on_finalize(block_number: BlockNumberFor<T>)

Block finalization hook. This is called at the very end of block execution. Read more
§

fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight

Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize]). Read more
§

fn on_runtime_upgrade() -> Weight

Hook executed when a code change (aka. a “runtime upgrade”) is detected by FRAME. Read more
§

fn offchain_worker(_n: BlockNumber)

Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main wasm runtime. Read more
§

fn integrity_test()

Check the integrity of this pallet’s configuration. Read more
","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> ProvideInherent for Pallet<T>

§

type Call = Call<T>

The call type of the pallet.
§

type Error = InherentError

The error returned by check_inherent.
source§

const INHERENT_IDENTIFIER: InherentIdentifier = INHERENT_IDENTIFIER

The inherent identifier used by this inherent.
source§

fn create_inherent(data: &InherentData) -> Option<Self::Call>

Create an inherent out of the given InherentData. Read more
source§

fn is_inherent_required(\n data: &InherentData\n) -> Result<Option<Self::Error>, Self::Error>

Determines whether this inherent is required in this block. Read more
source§

fn check_inherent(\n call: &Self::Call,\n data: &InherentData\n) -> Result<(), Self::Error>

Check whether the given inherent is valid. Checking the inherent is optional and can be\nomitted by using the default implementation. Read more
source§

fn is_inherent(call: &Self::Call) -> bool

Return whether the call is an inherent call. Read more
","ProvideInherent","pallet_subspace::pallet::Module"],["
source§

impl<T> Eq for Pallet<T>

","Eq","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> StorageInfoTrait for Pallet<T>

source§

fn storage_info() -> Vec<StorageInfo>

","StorageInfoTrait","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> FindVotingRewardAddresses<<T as Config>::AccountId> for Pallet<T>

source§

fn find_voting_reward_addresses() -> Vec<T::AccountId>

Find the addresses for voting rewards based on transactions found in the block.
","FindVotingRewardAddresses<::AccountId>","pallet_subspace::pallet::Module"],["
source§

impl<T> Clone for Pallet<T>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> FindBlockRewardAddress<<T as Config>::AccountId> for Pallet<T>

source§

fn find_block_reward_address() -> Option<T::AccountId>

Find the address for a block rewards based on the pre-runtime digests.
","FindBlockRewardAddress<::AccountId>","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> OnGenesis for Pallet<T>

source§

fn on_genesis()

Something that should happen at genesis.
","OnGenesis","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> WhitelistedStorageKeys for Pallet<T>

source§

fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>

Returns a Vec<TrackedStorageKey> indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.
","WhitelistedStorageKeys","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> OnRuntimeUpgrade for Pallet<T>

source§

fn on_runtime_upgrade() -> Weight

See [Hooks::on_runtime_upgrade].
","OnRuntimeUpgrade","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> PalletsInfoAccess for Pallet<T>

source§

fn count() -> usize

The number of pallets’ information that this type represents. Read more
source§

fn infos() -> Vec<PalletInfoData>

All of the pallets’ information that this type represents.
","PalletsInfoAccess","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> OnOffenceHandler<Public> for Pallet<T>

source§

fn on_offence(offenders: &[OffenceDetails<FarmerPublicKey>])

A handler for an offence of a particular kind. Read more
","OnOffenceHandler","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> IntegrityTest for Pallet<T>

source§

fn integrity_test()

See [Hooks::integrity_test].
","IntegrityTest","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_initialize(n: BlockNumberFor<T>) -> Weight

See [Hooks::on_initialize].
","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn offchain_worker(n: BlockNumberFor<T>)

This function is being called after every block import (when fully synced). Read more
","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> GetStorageVersion for Pallet<T>

§

type CurrentStorageVersion = NoStorageVersionSet

This will be filled out by the pallet macro. Read more
source§

fn current_storage_version() -> Self::CurrentStorageVersion

Returns the current storage version as supported by the pallet.
source§

fn on_chain_storage_version() -> StorageVersion

Returns the on-chain storage version of the pallet as stored in the storage.
","GetStorageVersion","pallet_subspace::pallet::Module"],["
source§

impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>

source§

fn on_finalize(n: BlockNumberFor<T>)

See [Hooks::on_finalize].
","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_subspace::pallet::Module"]], "subspace_runtime":[["
source§

impl<T> Pallet<T>
where\n T: Config,

Methods for the ValidateUnsigned implementation:\nIt restricts calls to report_equivocation to local calls (i.e. extrinsics generated on this\nnode) or that already in a block. This guarantees that only block authors can include\nequivocation reports.

\n
source

pub fn validate_equivocation_report(\n source: TransactionSource,\n equivocation_proof: &EquivocationProof<<<T as Config>::Block as HeaderProvider>::HeaderT, Public>\n) -> Result<ValidTransaction, TransactionValidityError>

source

pub fn pre_dispatch_equivocation_report(\n equivocation_proof: &EquivocationProof<<<T as Config>::Block as HeaderProvider>::HeaderT, Public>\n) -> Result<(), TransactionValidityError>

",0,"subspace_runtime::Subspace"],["
source§

impl<T> Pallet<T>
where\n T: Config,

source

pub fn report_equivocation(\n origin: <T as Config>::RuntimeOrigin,\n equivocation_proof: Box<EquivocationProof<<<T as Config>::Block as HeaderProvider>::HeaderT, Public>>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Report farmer equivocation/misbehavior. This method will verify the equivocation proof.\nIf valid, the offence will be reported.

\n

This extrinsic must be called unsigned and it is expected that only block authors will\ncall it (validated in ValidateUnsigned), as such if the block author is defined it\nwill be defined as the equivocation reporter.

\n
source

pub fn store_segment_headers(\n origin: <T as Config>::RuntimeOrigin,\n segment_headers: Vec<SegmentHeader>\n) -> Result<(), DispatchError>

Submit new segment header to the blockchain. This is an inherent extrinsic and part of\nthe Subspace consensus logic.

\n
source

pub fn enable_solution_range_adjustment(\n origin: <T as Config>::RuntimeOrigin,\n solution_range_override: Option<u64>,\n voting_solution_range_override: Option<u64>\n) -> Result<(), DispatchError>

Enable solution range adjustment after every era.\nNote: No effect on the solution range for the current era

\n
source

pub fn vote(\n origin: <T as Config>::RuntimeOrigin,\n signed_vote: Box<SignedVote<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, <T as Config>::Hash, <T as Config>::AccountId>>\n) -> Result<(), DispatchError>

Farmer vote, currently only used for extra rewards to farmers.

\n
source

pub fn enable_rewards_at(\n origin: <T as Config>::RuntimeOrigin,\n enable_rewards_at: EnableRewardsAt<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number>\n) -> Result<(), DispatchError>

Enable rewards for blocks and votes at specified block height.

\n
source

pub fn enable_authoring_by_anyone(\n origin: <T as Config>::RuntimeOrigin\n) -> Result<(), DispatchError>

Enable storage access for all users.

\n
",0,"subspace_runtime::Subspace"],["
source§

impl<T> Pallet<T>
where\n T: Config,

source

pub fn genesis_slot() -> Slot

An auto-generated getter for GenesisSlot.

\n
",0,"subspace_runtime::Subspace"],["
source§

impl<T> Pallet<T>
where\n T: Config,

source

pub fn current_slot() -> Slot

An auto-generated getter for CurrentSlot.

\n
",0,"subspace_runtime::Subspace"],["
source§

impl<T> Pallet<T>
where\n T: Config,

source

pub fn solution_ranges() -> SolutionRanges

An auto-generated getter for SolutionRanges.

\n
",0,"subspace_runtime::Subspace"],["
source§

impl<T> Pallet<T>
where\n T: Config,

source

pub fn should_adjust_solution_range() -> bool

An auto-generated getter for ShouldAdjustSolutionRange.

\n
",0,"subspace_runtime::Subspace"],["
source§

impl<T> Pallet<T>
where\n T: Config,

source

pub fn segment_commitment<KArg>(k: KArg) -> Option<SegmentCommitment>
where\n KArg: EncodeLike<SegmentIndex>,

An auto-generated getter for SegmentCommitment.

\n
",0,"subspace_runtime::Subspace"],["
source§

impl<T> Pallet<T>
where\n T: Config,

source

pub fn root_plot_public_key() -> Option<Public>

An auto-generated getter for RootPlotPublicKey.

\n
",0,"subspace_runtime::Subspace"],["
source§

impl<T> Pallet<T>
where\n T: Config,

source

pub fn history_size() -> HistorySize

Total number of pieces in the blockchain

\n
source

pub fn submit_equivocation_report(\n equivocation_proof: EquivocationProof<<<T as Config>::Block as HeaderProvider>::HeaderT, Public>\n) -> Option<()>

Submits an extrinsic to report an equivocation. This method will create an unsigned\nextrinsic with a call to report_equivocation and will push the transaction to the pool.\nOnly useful in an offchain context.

\n
source

pub fn submit_test_equivocation_report(\n equivocation_proof: EquivocationProof<<<T as Config>::Block as HeaderProvider>::HeaderT, Public>\n) -> Option<()>

Just stores offender from equivocation report in block list, only used for tests.

\n
source

pub fn pot_parameters() -> PotParameters

Proof of time parameters

\n
source

pub fn is_in_block_list(farmer_public_key: &Public) -> bool

Check if farmer_public_key is in block list (due to equivocation)

\n
source

pub fn archived_history_size() -> u64

Size of the archived history of the blockchain in bytes

\n
",0,"subspace_runtime::Subspace"],["
source§

impl<T> Pallet<T>
where\n T: Config + SendTransactionTypes<Call<T>>,

source

pub fn submit_vote(\n signed_vote: SignedVote<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, <T as Config>::Hash, <T as Config>::AccountId>\n)

Submit farmer vote vote that is essentially a header with bigger solution range than\nacceptable for block authoring.

\n
",0,"subspace_runtime::Subspace"],["
source§

impl<T> Pallet<T>
where\n T: Config,

This impl block contains no items.

Methods for the ValidateUnsigned implementation:\nIt restricts calls to store_segment_header to local calls (i.e. extrinsics generated on this\nnode) or that already in a block. This guarantees that only block authors can include root\nblocks.

\n
",0,"subspace_runtime::Subspace"],["
source§

impl<T> OnRuntimeUpgrade for Pallet<T>
where\n T: Config,

source§

fn on_runtime_upgrade() -> Weight

See [Hooks::on_runtime_upgrade].
","OnRuntimeUpgrade","subspace_runtime::Subspace"],["
source§

impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
where\n T: Config,

source§

fn on_idle(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,\n remaining_weight: Weight\n) -> Weight

See [Hooks::on_idle].
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","subspace_runtime::Subspace"],["
source§

impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
where\n T: Config,

source§

fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

See [Hooks::on_finalize].
","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","subspace_runtime::Subspace"],["
source§

impl<T> StorageInfoTrait for Pallet<T>
where\n T: Config,

source§

fn storage_info() -> Vec<StorageInfo>

","StorageInfoTrait","subspace_runtime::Subspace"],["
source§

impl<T> Callable<T> for Pallet<T>
where\n T: Config,

","Callable","subspace_runtime::Subspace"],["
source§

impl<T> PartialEq for Pallet<T>

source§

fn eq(&self, other: &Pallet<T>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","subspace_runtime::Subspace"],["
source§

impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
where\n T: Config,

source§

fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight

See [Hooks::on_initialize].
","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","subspace_runtime::Subspace"],["
source§

impl<T> GetStorageVersion for Pallet<T>
where\n T: Config,

§

type CurrentStorageVersion = NoStorageVersionSet

This will be filled out by the pallet macro. Read more
source§

fn current_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::CurrentStorageVersion

Returns the current storage version as supported by the pallet.
source§

fn on_chain_storage_version() -> StorageVersion

Returns the on-chain storage version of the pallet as stored in the storage.
","GetStorageVersion","subspace_runtime::Subspace"],["
source§

impl<T> ValidateUnsigned for Pallet<T>
where\n T: Config,

§

type Call = Call<T>

The call to validate
source§

fn validate_unsigned(\n source: TransactionSource,\n call: &<Pallet<T> as ValidateUnsigned>::Call\n) -> Result<ValidTransaction, TransactionValidityError>

Return the validity of the call Read more
source§

fn pre_dispatch(\n call: &<Pallet<T> as ValidateUnsigned>::Call\n) -> Result<(), TransactionValidityError>

Validate the call right before dispatch. Read more
","ValidateUnsigned","subspace_runtime::Subspace"],["
source§

impl<T> Debug for Pallet<T>

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","subspace_runtime::Subspace"],["
source§

impl<T> Clone for Pallet<T>

source§

fn clone(&self) -> Pallet<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","subspace_runtime::Subspace"],["
source§

impl<T> WhitelistedStorageKeys for Pallet<T>
where\n T: Config,

source§

fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>

Returns a Vec<TrackedStorageKey> indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.
","WhitelistedStorageKeys","subspace_runtime::Subspace"],["
source§

impl<T> Eq for Pallet<T>

","Eq","subspace_runtime::Subspace"],["
source§

impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
where\n T: Config,

source§

fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

This function is being called after every block import (when fully synced). Read more
","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","subspace_runtime::Subspace"],["
source§

impl<T> IntegrityTest for Pallet<T>
where\n T: Config,

source§

fn integrity_test()

See [Hooks::integrity_test].
","IntegrityTest","subspace_runtime::Subspace"],["
source§

impl<T> PalletInfoAccess for Pallet<T>
where\n T: Config,

source§

fn index() -> usize

Index of the pallet as configured in the runtime.
source§

fn name() -> &'static str

Name of the pallet as configured in the runtime.
source§

fn name_hash() -> [u8; 16]

Two128 hash of name.
source§

fn module_name() -> &'static str

Name of the Rust module containing the pallet.
source§

fn crate_version() -> CrateVersion

Version of the crate containing the pallet.
","PalletInfoAccess","subspace_runtime::Subspace"],["
source§

impl<T> OnOffenceHandler<Public> for Pallet<T>
where\n T: Config,

source§

fn on_offence(offenders: &[OffenceDetails<Public>])

A handler for an offence of a particular kind. Read more
","OnOffenceHandler","subspace_runtime::Subspace"],["
source§

impl<T> OnGenesis for Pallet<T>
where\n T: Config,

source§

fn on_genesis()

Something that should happen at genesis.
","OnGenesis","subspace_runtime::Subspace"],["
source§

impl<T> BeforeAllRuntimeMigrations for Pallet<T>
where\n T: Config,

source§

fn before_all_runtime_migrations() -> Weight

Something that should happen before runtime migrations are executed.
","BeforeAllRuntimeMigrations","subspace_runtime::Subspace"],["
source§

impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
where\n T: Config,

source§

fn on_initialize(\n block_number: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight

Block initialization hook. This is called at the very beginning of block execution. Read more
source§

fn on_finalize(\n block_number: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

Block finalization hook. This is called at the very end of block execution. Read more
§

fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight

Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize]). Read more
§

fn on_runtime_upgrade() -> Weight

Hook executed when a code change (aka. a “runtime upgrade”) is detected by FRAME. Read more
§

fn offchain_worker(_n: BlockNumber)

Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main wasm runtime. Read more
§

fn integrity_test()

Check the integrity of this pallet’s configuration. Read more
","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","subspace_runtime::Subspace"],["
source§

impl<T> FindVotingRewardAddresses<<T as Config>::AccountId> for Pallet<T>
where\n T: Config,

source§

fn find_voting_reward_addresses() -> Vec<<T as Config>::AccountId>

Find the addresses for voting rewards based on transactions found in the block.
","FindVotingRewardAddresses<::AccountId>","subspace_runtime::Subspace"],["
source§

impl<T> PalletsInfoAccess for Pallet<T>
where\n T: Config,

source§

fn count() -> usize

The number of pallets’ information that this type represents. Read more
source§

fn infos() -> Vec<PalletInfoData>

All of the pallets’ information that this type represents.
","PalletsInfoAccess","subspace_runtime::Subspace"],["
source§

impl<T> ProvideInherent for Pallet<T>
where\n T: Config,

§

type Call = Call<T>

The call type of the pallet.
§

type Error = InherentError

The error returned by check_inherent.
source§

const INHERENT_IDENTIFIER: [u8; 8] = INHERENT_IDENTIFIER

The inherent identifier used by this inherent.
source§

fn create_inherent(\n data: &InherentData\n) -> Option<<Pallet<T> as ProvideInherent>::Call>

Create an inherent out of the given InherentData. Read more
source§

fn is_inherent_required(\n data: &InherentData\n) -> Result<Option<<Pallet<T> as ProvideInherent>::Error>, <Pallet<T> as ProvideInherent>::Error>

Determines whether this inherent is required in this block. Read more
source§

fn check_inherent(\n call: &<Pallet<T> as ProvideInherent>::Call,\n data: &InherentData\n) -> Result<(), <Pallet<T> as ProvideInherent>::Error>

Check whether the given inherent is valid. Checking the inherent is optional and can be\nomitted by using the default implementation. Read more
source§

fn is_inherent(call: &<Pallet<T> as ProvideInherent>::Call) -> bool

Return whether the call is an inherent call. Read more
","ProvideInherent","subspace_runtime::Subspace"],["
source§

impl<T> FindBlockRewardAddress<<T as Config>::AccountId> for Pallet<T>
where\n T: Config,

source§

fn find_block_reward_address() -> Option<<T as Config>::AccountId>

Find the address for a block rewards based on the pre-runtime digests.
","FindBlockRewardAddress<::AccountId>","subspace_runtime::Subspace"],["
source§

impl<T> Randomness<<T as Config>::Hash, <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
where\n T: Config,

source§

fn random(\n subject: &[u8]\n) -> (<T as Config>::Hash, <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number)

Get the most recently determined random seed, along with the time in the past\nsince when it was determinable by chain observers. Read more
source§

fn random_seed(\n) -> (<T as Config>::Hash, <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number)

Get the basic random seed. Read more
","Randomness<::Hash, <<::Block as HeaderProvider>::HeaderT as Header>::Number>","subspace_runtime::Subspace"]], "subspace_test_runtime":[["
source§

impl<T> Pallet<T>
where\n T: Config,

Methods for the ValidateUnsigned implementation:\nIt restricts calls to report_equivocation to local calls (i.e. extrinsics generated on this\nnode) or that already in a block. This guarantees that only block authors can include\nequivocation reports.

\n
source

pub fn validate_equivocation_report(\n source: TransactionSource,\n equivocation_proof: &EquivocationProof<<<T as Config>::Block as HeaderProvider>::HeaderT, Public>\n) -> Result<ValidTransaction, TransactionValidityError>

source

pub fn pre_dispatch_equivocation_report(\n equivocation_proof: &EquivocationProof<<<T as Config>::Block as HeaderProvider>::HeaderT, Public>\n) -> Result<(), TransactionValidityError>

",0,"subspace_test_runtime::Subspace"],["
source§

impl<T> Pallet<T>
where\n T: Config,

source

pub fn report_equivocation(\n origin: <T as Config>::RuntimeOrigin,\n equivocation_proof: Box<EquivocationProof<<<T as Config>::Block as HeaderProvider>::HeaderT, Public>>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Report farmer equivocation/misbehavior. This method will verify the equivocation proof.\nIf valid, the offence will be reported.

\n

This extrinsic must be called unsigned and it is expected that only block authors will\ncall it (validated in ValidateUnsigned), as such if the block author is defined it\nwill be defined as the equivocation reporter.

\n
source

pub fn store_segment_headers(\n origin: <T as Config>::RuntimeOrigin,\n segment_headers: Vec<SegmentHeader>\n) -> Result<(), DispatchError>

Submit new segment header to the blockchain. This is an inherent extrinsic and part of\nthe Subspace consensus logic.

\n
source

pub fn enable_solution_range_adjustment(\n origin: <T as Config>::RuntimeOrigin,\n solution_range_override: Option<u64>,\n voting_solution_range_override: Option<u64>\n) -> Result<(), DispatchError>

Enable solution range adjustment after every era.\nNote: No effect on the solution range for the current era

\n
source

pub fn vote(\n origin: <T as Config>::RuntimeOrigin,\n signed_vote: Box<SignedVote<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, <T as Config>::Hash, <T as Config>::AccountId>>\n) -> Result<(), DispatchError>

Farmer vote, currently only used for extra rewards to farmers.

\n
source

pub fn enable_rewards_at(\n origin: <T as Config>::RuntimeOrigin,\n enable_rewards_at: EnableRewardsAt<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number>\n) -> Result<(), DispatchError>

Enable rewards for blocks and votes at specified block height.

\n
source

pub fn enable_authoring_by_anyone(\n origin: <T as Config>::RuntimeOrigin\n) -> Result<(), DispatchError>

Enable storage access for all users.

\n
",0,"subspace_test_runtime::Subspace"],["
source§

impl<T> Pallet<T>
where\n T: Config,

source

pub fn genesis_slot() -> Slot

An auto-generated getter for GenesisSlot.

\n
",0,"subspace_test_runtime::Subspace"],["
source§

impl<T> Pallet<T>
where\n T: Config,

source

pub fn current_slot() -> Slot

An auto-generated getter for CurrentSlot.

\n
",0,"subspace_test_runtime::Subspace"],["
source§

impl<T> Pallet<T>
where\n T: Config,

source

pub fn solution_ranges() -> SolutionRanges

An auto-generated getter for SolutionRanges.

\n
",0,"subspace_test_runtime::Subspace"],["
source§

impl<T> Pallet<T>
where\n T: Config,

source

pub fn should_adjust_solution_range() -> bool

An auto-generated getter for ShouldAdjustSolutionRange.

\n
",0,"subspace_test_runtime::Subspace"],["
source§

impl<T> Pallet<T>
where\n T: Config,

source

pub fn segment_commitment<KArg>(k: KArg) -> Option<SegmentCommitment>
where\n KArg: EncodeLike<SegmentIndex>,

An auto-generated getter for SegmentCommitment.

\n
",0,"subspace_test_runtime::Subspace"],["
source§

impl<T> Pallet<T>
where\n T: Config,

source

pub fn root_plot_public_key() -> Option<Public>

An auto-generated getter for RootPlotPublicKey.

\n
",0,"subspace_test_runtime::Subspace"],["
source§

impl<T> Pallet<T>
where\n T: Config,

source

pub fn history_size() -> HistorySize

Total number of pieces in the blockchain

\n
source

pub fn submit_equivocation_report(\n equivocation_proof: EquivocationProof<<<T as Config>::Block as HeaderProvider>::HeaderT, Public>\n) -> Option<()>

Submits an extrinsic to report an equivocation. This method will create an unsigned\nextrinsic with a call to report_equivocation and will push the transaction to the pool.\nOnly useful in an offchain context.

\n
source

pub fn submit_test_equivocation_report(\n equivocation_proof: EquivocationProof<<<T as Config>::Block as HeaderProvider>::HeaderT, Public>\n) -> Option<()>

Just stores offender from equivocation report in block list, only used for tests.

\n
source

pub fn pot_parameters() -> PotParameters

Proof of time parameters

\n
source

pub fn is_in_block_list(farmer_public_key: &Public) -> bool

Check if farmer_public_key is in block list (due to equivocation)

\n
source

pub fn archived_history_size() -> u64

Size of the archived history of the blockchain in bytes

\n
",0,"subspace_test_runtime::Subspace"],["
source§

impl<T> Pallet<T>
where\n T: Config + SendTransactionTypes<Call<T>>,

source

pub fn submit_vote(\n signed_vote: SignedVote<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, <T as Config>::Hash, <T as Config>::AccountId>\n)

Submit farmer vote vote that is essentially a header with bigger solution range than\nacceptable for block authoring.

\n
",0,"subspace_test_runtime::Subspace"],["
source§

impl<T> Pallet<T>
where\n T: Config,

This impl block contains no items.

Methods for the ValidateUnsigned implementation:\nIt restricts calls to store_segment_header to local calls (i.e. extrinsics generated on this\nnode) or that already in a block. This guarantees that only block authors can include root\nblocks.

\n
",0,"subspace_test_runtime::Subspace"],["
source§

impl<T> OnRuntimeUpgrade for Pallet<T>
where\n T: Config,

source§

fn on_runtime_upgrade() -> Weight

See [Hooks::on_runtime_upgrade].
","OnRuntimeUpgrade","subspace_test_runtime::Subspace"],["
source§

impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
where\n T: Config,

source§

fn on_idle(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,\n remaining_weight: Weight\n) -> Weight

See [Hooks::on_idle].
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","subspace_test_runtime::Subspace"],["
source§

impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
where\n T: Config,

source§

fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

See [Hooks::on_finalize].
","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","subspace_test_runtime::Subspace"],["
source§

impl<T> StorageInfoTrait for Pallet<T>
where\n T: Config,

source§

fn storage_info() -> Vec<StorageInfo>

","StorageInfoTrait","subspace_test_runtime::Subspace"],["
source§

impl<T> Callable<T> for Pallet<T>
where\n T: Config,

","Callable","subspace_test_runtime::Subspace"],["
source§

impl<T> PartialEq for Pallet<T>

source§

fn eq(&self, other: &Pallet<T>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","subspace_test_runtime::Subspace"],["
source§

impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
where\n T: Config,

source§

fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight

See [Hooks::on_initialize].
","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","subspace_test_runtime::Subspace"],["
source§

impl<T> GetStorageVersion for Pallet<T>
where\n T: Config,

§

type CurrentStorageVersion = NoStorageVersionSet

This will be filled out by the pallet macro. Read more
source§

fn current_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::CurrentStorageVersion

Returns the current storage version as supported by the pallet.
source§

fn on_chain_storage_version() -> StorageVersion

Returns the on-chain storage version of the pallet as stored in the storage.
","GetStorageVersion","subspace_test_runtime::Subspace"],["
source§

impl<T> ValidateUnsigned for Pallet<T>
where\n T: Config,

§

type Call = Call<T>

The call to validate
source§

fn validate_unsigned(\n source: TransactionSource,\n call: &<Pallet<T> as ValidateUnsigned>::Call\n) -> Result<ValidTransaction, TransactionValidityError>

Return the validity of the call Read more
source§

fn pre_dispatch(\n call: &<Pallet<T> as ValidateUnsigned>::Call\n) -> Result<(), TransactionValidityError>

Validate the call right before dispatch. Read more
","ValidateUnsigned","subspace_test_runtime::Subspace"],["
source§

impl<T> Debug for Pallet<T>

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","subspace_test_runtime::Subspace"],["
source§

impl<T> Clone for Pallet<T>

source§

fn clone(&self) -> Pallet<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","subspace_test_runtime::Subspace"],["
source§

impl<T> WhitelistedStorageKeys for Pallet<T>
where\n T: Config,

source§

fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>

Returns a Vec<TrackedStorageKey> indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.
","WhitelistedStorageKeys","subspace_test_runtime::Subspace"],["
source§

impl<T> Eq for Pallet<T>

","Eq","subspace_test_runtime::Subspace"],["
source§

impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
where\n T: Config,

source§

fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

This function is being called after every block import (when fully synced). Read more
","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","subspace_test_runtime::Subspace"],["
source§

impl<T> IntegrityTest for Pallet<T>
where\n T: Config,

source§

fn integrity_test()

See [Hooks::integrity_test].
","IntegrityTest","subspace_test_runtime::Subspace"],["
source§

impl<T> PalletInfoAccess for Pallet<T>
where\n T: Config,

source§

fn index() -> usize

Index of the pallet as configured in the runtime.
source§

fn name() -> &'static str

Name of the pallet as configured in the runtime.
source§

fn name_hash() -> [u8; 16]

Two128 hash of name.
source§

fn module_name() -> &'static str

Name of the Rust module containing the pallet.
source§

fn crate_version() -> CrateVersion

Version of the crate containing the pallet.
","PalletInfoAccess","subspace_test_runtime::Subspace"],["
source§

impl<T> OnOffenceHandler<Public> for Pallet<T>
where\n T: Config,

source§

fn on_offence(offenders: &[OffenceDetails<Public>])

A handler for an offence of a particular kind. Read more
","OnOffenceHandler","subspace_test_runtime::Subspace"],["
source§

impl<T> OnGenesis for Pallet<T>
where\n T: Config,

source§

fn on_genesis()

Something that should happen at genesis.
","OnGenesis","subspace_test_runtime::Subspace"],["
source§

impl<T> BeforeAllRuntimeMigrations for Pallet<T>
where\n T: Config,

source§

fn before_all_runtime_migrations() -> Weight

Something that should happen before runtime migrations are executed.
","BeforeAllRuntimeMigrations","subspace_test_runtime::Subspace"],["
source§

impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
where\n T: Config,

source§

fn on_initialize(\n block_number: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight

Block initialization hook. This is called at the very beginning of block execution. Read more
source§

fn on_finalize(\n block_number: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

Block finalization hook. This is called at the very end of block execution. Read more
§

fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight

Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize]). Read more
§

fn on_runtime_upgrade() -> Weight

Hook executed when a code change (aka. a “runtime upgrade”) is detected by FRAME. Read more
§

fn offchain_worker(_n: BlockNumber)

Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main wasm runtime. Read more
§

fn integrity_test()

Check the integrity of this pallet’s configuration. Read more
","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","subspace_test_runtime::Subspace"],["
source§

impl<T> FindVotingRewardAddresses<<T as Config>::AccountId> for Pallet<T>
where\n T: Config,

source§

fn find_voting_reward_addresses() -> Vec<<T as Config>::AccountId>

Find the addresses for voting rewards based on transactions found in the block.
","FindVotingRewardAddresses<::AccountId>","subspace_test_runtime::Subspace"],["
source§

impl<T> PalletsInfoAccess for Pallet<T>
where\n T: Config,

source§

fn count() -> usize

The number of pallets’ information that this type represents. Read more
source§

fn infos() -> Vec<PalletInfoData>

All of the pallets’ information that this type represents.
","PalletsInfoAccess","subspace_test_runtime::Subspace"],["
source§

impl<T> ProvideInherent for Pallet<T>
where\n T: Config,

§

type Call = Call<T>

The call type of the pallet.
§

type Error = InherentError

The error returned by check_inherent.
source§

const INHERENT_IDENTIFIER: [u8; 8] = INHERENT_IDENTIFIER

The inherent identifier used by this inherent.
source§

fn create_inherent(\n data: &InherentData\n) -> Option<<Pallet<T> as ProvideInherent>::Call>

Create an inherent out of the given InherentData. Read more
source§

fn is_inherent_required(\n data: &InherentData\n) -> Result<Option<<Pallet<T> as ProvideInherent>::Error>, <Pallet<T> as ProvideInherent>::Error>

Determines whether this inherent is required in this block. Read more
source§

fn check_inherent(\n call: &<Pallet<T> as ProvideInherent>::Call,\n data: &InherentData\n) -> Result<(), <Pallet<T> as ProvideInherent>::Error>

Check whether the given inherent is valid. Checking the inherent is optional and can be\nomitted by using the default implementation. Read more
source§

fn is_inherent(call: &<Pallet<T> as ProvideInherent>::Call) -> bool

Return whether the call is an inherent call. Read more
","ProvideInherent","subspace_test_runtime::Subspace"],["
source§

impl<T> FindBlockRewardAddress<<T as Config>::AccountId> for Pallet<T>
where\n T: Config,

source§

fn find_block_reward_address() -> Option<<T as Config>::AccountId>

Find the address for a block rewards based on the pre-runtime digests.
","FindBlockRewardAddress<::AccountId>","subspace_test_runtime::Subspace"],["
source§

impl<T> Randomness<<T as Config>::Hash, <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
where\n T: Config,

source§

fn random(\n subject: &[u8]\n) -> (<T as Config>::Hash, <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number)

Get the most recently determined random seed, along with the time in the past\nsince when it was determinable by chain observers. Read more
source§

fn random_seed(\n) -> (<T as Config>::Hash, <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number)

Get the basic random seed. Read more
","Randomness<::Hash, <<::Block as HeaderProvider>::HeaderT as Header>::Number>","subspace_test_runtime::Subspace"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file