From 04c7f3fd5d6d3e70fd621b450ef2be557a3915dc Mon Sep 17 00:00:00 2001 From: paritytech-ci Date: Thu, 17 Aug 2023 11:35:39 +0000 Subject: [PATCH] Updated docs for master --- doc/implementors/core/convert/trait.From.js | 8 +- doc/implementors/core/convert/trait.Into.js | 2 +- .../iter/traits/collect/trait.FromIterator.js | 2 +- .../v5/signed/trait.EncodeAs.js | 2 +- .../struct.ApprovalVotingSubsystem.html | 2 +- .../struct.AvailabilityStoreSubsystem.html | 2 +- .../error/enum.InternalValidationError.html | 4 +- .../error/enum.PrepareError.html | 4 +- .../execute/enum.Response.html | 4 +- .../execute/struct.Handshake.html | 8 +- .../fn.params_to_wasmtime_semantics.html | 2 +- .../executor_intf/struct.Executor.html | 2 +- .../prepare/enum.PrepareJobKind.html | 4 +- .../prepare/struct.MemoryAllocationStats.html | 4 +- .../prepare/struct.MemoryStats.html | 4 +- .../prepare/struct.PrepareStats.html | 4 +- .../pvf/struct.PvfPrepData.html | 8 +- .../struct.Executor.html | 8 +- .../fn.prepare.html | 2 +- doc/polkadot_node_jaeger/enum.Span.html | 4 +- .../grid_topology/struct.GridNeighbors.html | 10 +-- ...truct.SessionBoundGridTopologyStorage.html | 2 +- .../struct.SessionGridTopologies.html | 2 +- .../struct.SessionGridTopology.html | 2 +- .../struct.TopologyPeerInfo.html | 4 +- doc/polkadot_node_network_protocol/index.html | 2 +- .../macro.our_view.html | 2 +- .../network/struct.Roles.html | 4 +- .../enum.AvailableDataFetchingResponse.html | 10 +-- .../v1/enum.ChunkFetchingResponse.html | 4 +- .../v1/enum.CollationFetchingResponse.html | 8 +- .../v1/enum.DisputeResponse.html | 4 +- .../v1/enum.PoVFetchingResponse.html | 8 +- .../v1/enum.StatementFetchingResponse.html | 8 +- .../struct.AvailableDataFetchingRequest.html | 4 +- .../v1/struct.ChunkFetchingRequest.html | 8 +- .../v1/struct.ChunkResponse.html | 12 +-- .../v1/struct.CollationFetchingRequest.html | 4 +- .../v1/struct.DisputeRequest.html | 10 +-- .../v1/struct.PoVFetchingRequest.html | 4 +- .../v1/struct.StatementFetchingRequest.html | 4 +- .../struct.OurView.html | 6 +- .../struct.View.html | 4 +- .../v1/enum.ApprovalDistributionMessage.html | 12 +-- .../v1/enum.BitfieldDistributionMessage.html | 8 +- .../v1/enum.CollationProtocol.html | 4 +- .../v1/enum.CollatorProtocolMessage.html | 12 +-- .../v1/enum.StatementDistributionMessage.html | 12 +-- .../v1/enum.ValidationProtocol.html | 4 +- .../v1/struct.StatementMetadata.html | 12 +-- .../approval/enum.AssignmentCertKind.html | 8 +- .../approval/struct.AssignmentCert.html | 4 +- .../struct.IndirectAssignmentCert.html | 8 +- .../struct.IndirectSignedApprovalVote.html | 16 ++-- .../approval/struct.RelayVRFStory.html | 4 +- .../approval/struct.Slot.html | 4 +- .../approval/struct.VrfOutput.html | 4 +- .../approval/struct.VrfProof.html | 4 +- .../approval/struct.VrfSignature.html | 4 +- .../disputes/enum.DisputeStatus.html | 4 +- .../disputes/struct.CandidateVotes.html | 10 +-- .../disputes/struct.DisputeMessage.html | 10 +-- .../disputes/struct.InvalidDisputeVote.html | 16 ++-- .../struct.SignedDisputeStatement.html | 26 +++--- .../struct.UncheckedDisputeMessage.html | 12 +-- .../disputes/struct.ValidCandidateVotes.html | 16 ++-- .../disputes/struct.ValidDisputeVote.html | 16 ++-- .../disputes/type.InvalidVoteData.html | 2 +- .../disputes/type.ValidVoteData.html | 2 +- .../enum.BabeAllowedSlots.html | 4 +- .../enum.MaybeCompressedPoV.html | 4 +- .../enum.Statement.html | 12 +-- .../enum.ValidationResult.html | 4 +- .../struct.AvailableData.html | 8 +- .../struct.BabeEpoch.html | 4 +- .../struct.BabeEpochConfiguration.html | 4 +- .../struct.BlockData.html | 4 +- .../struct.Collation.html | 4 +- .../struct.CollationGenerationConfig.html | 4 +- .../struct.ErasureChunk.html | 8 +- doc/polkadot_node_primitives/struct.PoV.html | 4 +- .../struct.Proof.html | 4 +- .../type.CollatorFn.html | 2 +- .../type.SignedFullStatement.html | 2 +- .../type.UncheckedSignedFullStatement.html | 2 +- .../enum.Span.html | 4 +- .../messages/enum.ApprovalCheckError.html | 12 +-- .../enum.ApprovalDistributionMessage.html | 8 +- .../messages/enum.ApprovalVotingMessage.html | 8 +- .../messages/enum.AssignmentCheckError.html | 8 +- .../enum.AvailabilityDistributionMessage.html | 4 +- .../enum.AvailabilityRecoveryMessage.html | 8 +- .../enum.AvailabilityStoreMessage.html | 8 +- .../enum.BitfieldDistributionMessage.html | 4 +- .../enum.CandidateBackingMessage.html | 8 +- .../enum.CandidateValidationMessage.html | 8 +- .../enum.CollatorProtocolMessage.html | 12 +-- .../enum.DisputeCoordinatorMessage.html | 12 +-- .../messages/enum.NetworkBridgeRxMessage.html | 8 +- .../messages/enum.ProvisionableData.html | 16 ++-- .../messages/enum.RuntimeApiRequest.html | 72 +++++++-------- .../struct.NewGossipTopology.html | 4 +- .../struct.ProvisionerInherentData.html | 12 +-- .../struct.DefaultSubsystemClient.html | 46 +++++----- .../trait.RuntimeApiSubsystemClient.html | 90 +++++++++---------- .../fn.dummy_candidate_commitments.html | 2 +- .../fn.dummy_candidate_descriptor.html | 2 +- ...fn.dummy_candidate_descriptor_bad_sig.html | 2 +- .../fn.dummy_candidate_receipt.html | 2 +- .../fn.dummy_candidate_receipt_bad_sig.html | 2 +- .../fn.dummy_collator.html | 2 +- .../fn.dummy_collator_signature.html | 2 +- .../fn.dummy_committed_candidate_receipt.html | 2 +- .../fn.dummy_signature.html | 2 +- .../fn.dummy_validator.html | 2 +- .../fn.make_valid_candidate_descriptor.html | 2 +- ...gn_candidate_descriptor_with_collator.html | 2 +- .../struct.TestCandidateBuilder.html | 2 +- doc/polkadot_runtime/struct.Runtime.html | 2 +- .../xcm_config/struct.XcmConfig.html | 2 +- .../xcm_config/type.Barrier.html | 2 +- .../xcm_config/type.XcmRouter.html | 2 +- .../struct.Counter.html | 2 +- .../struct.CounterVec.html | 2 +- .../struct.Histogram.html | 2 +- .../generic/enum.Statement.html | 6 +- .../generic/enum.ValidityAttestation.html | 6 +- .../generic/struct.AttestedCandidate.html | 4 +- .../generic/struct.SignedStatement.html | 4 +- .../v2/type.Misbehavior.html | 2 +- .../v2/type.SignedStatement.html | 2 +- .../v2/type.Statement.html | 2 +- doc/src/polkadot_runtime/xcm_config.rs.html | 12 +-- doc/src/xcm/v3/junction.rs.html | 2 + .../struct.Runtime.html | 52 +++++------ .../xcm_config/struct.XcmConfig.html | 2 +- .../xcm_config/type.Barrier.html | 2 +- .../xcm_config/type.XcmRouter.html | 2 +- doc/xcm/v2/enum.Junction.html | 2 +- doc/xcm/v3/enum.Junction.html | 14 +-- doc/xcm/v3/enum.NetworkId.html | 2 +- doc/xcm_builder/test_utils/enum.Junction.html | 12 +-- .../test_utils/enum.NetworkId.html | 2 +- .../test_utils/opaque/enum.Junction.html | 12 +-- .../test_utils/opaque/enum.NetworkId.html | 2 +- doc/xcm_simulator/enum.Junction.html | 12 +-- doc/xcm_simulator/enum.NetworkId.html | 2 +- doc/xcm_simulator/opaque/enum.Junction.html | 12 +-- doc/xcm_simulator/opaque/enum.NetworkId.html | 2 +- 149 files changed, 540 insertions(+), 538 deletions(-) diff --git a/doc/implementors/core/convert/trait.From.js b/doc/implementors/core/convert/trait.From.js index cc6713b4f42f..021612e1f433 100644 --- a/doc/implementors/core/convert/trait.From.js +++ b/doc/implementors/core/convert/trait.From.js @@ -7,9 +7,9 @@ "polkadot_node_core_parachains_inherent":[["impl From<SubsystemError> for Error"],["impl From<Error> for Error"]], "polkadot_node_core_pvf":[["impl From<PrepareError> for ValidationError"],["impl From<InternalValidationError> for ValidationError"]], "polkadot_node_jaeger":[["impl From<Option<Span>> for Span"],["impl From<Span> for Span"]], -"polkadot_node_network_protocol":[["impl From<ValidationProtocol> for VersionedValidationProtocol"],["impl From<Error> for RequestError"],["impl From<BitfieldDistributionMessage> for ValidationProtocol"],["impl From<Versioned<ApprovalDistributionMessage>> for VersionedValidationProtocol"],["impl From<CollatorProtocolMessage> for CollationProtocol"],["impl From<FatalError> for Error"],["impl From<Option<ChunkResponse>> for ChunkFetchingResponse"],["impl From<Versioned<BitfieldDistributionMessage>> for VersionedValidationProtocol"],["impl From<UnifiedReputationChange> for ReputationChange"],["impl From<ValidationVersion> for ProtocolVersion"],["impl From<Versioned<StatementDistributionMessage>> for VersionedValidationProtocol"],["impl From<Versioned<CollatorProtocolMessage>> for VersionedCollationProtocol"],["impl From<Canceled> for RequestError"],["impl From<ApprovalDistributionMessage> for ValidationProtocol"],["impl From<RequestFailure> for RequestError"],["impl From<CollationVersion> for ProtocolVersion"],["impl From<ErasureChunk> for ChunkResponse"],["impl From<ProtocolVersion> for u32"],["impl From<JfyiError> for Error"],["impl From<StatementDistributionMessage> for ValidationProtocol"],["impl From<DisputeMessage> for DisputeRequest"],["impl From<ObservedRole> for ObservedRole"],["impl From<Option<AvailableData>> for AvailableDataFetchingResponse"],["impl From<CollationProtocol> for VersionedCollationProtocol"]], -"polkadot_node_primitives":[["impl From<SessionWindowSize> for NonZeroUsize"],["impl From<&Statement> for CompactStatement"],["impl From<ValidCandidateVotes> for BTreeMap<ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature)>"],["impl From<DisputeMessage> for UncheckedDisputeMessage"]], -"polkadot_node_subsystem_types":[["impl From<NetworkBridgeEvent<Versioned<CollatorProtocolMessage>>> for CollatorProtocolMessage"],["impl From<&str> for ChainApiError"],["impl From<Error> for SubsystemError"],["impl From<JaegerError> for SubsystemError"],["impl From<NetworkBridgeEvent<Versioned<StatementDistributionMessage>>> for StatementDistributionMessage"],["impl From<SendError> for SubsystemError"],["impl From<(CandidateReceipt<H256>, u32, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>)> for AvailabilityRecoveryMessage"],["impl From<OrchestraError> for SubsystemError"],["impl From<Infallible> for SubsystemError"],["impl From<NetworkBridgeEvent<Versioned<BitfieldDistributionMessage>>> for BitfieldDistributionMessage"],["impl From<Error> for SubsystemError"],["impl From<NetworkBridgeEvent<Versioned<ApprovalDistributionMessage>>> for ApprovalDistributionMessage"],["impl From<NetworkBridgeEvent<Versioned<GossipSupportNetworkMessage>>> for GossipSupportMessage"],["impl From<Canceled> for SubsystemError"],["impl From<String> for ChainApiError"]], +"polkadot_node_network_protocol":[["impl From<ValidationProtocol> for VersionedValidationProtocol"],["impl From<Error> for RequestError"],["impl From<BitfieldDistributionMessage> for ValidationProtocol"],["impl From<Versioned<ApprovalDistributionMessage>> for VersionedValidationProtocol"],["impl From<CollatorProtocolMessage> for CollationProtocol"],["impl From<FatalError> for Error"],["impl From<Option<ChunkResponse>> for ChunkFetchingResponse"],["impl From<Versioned<BitfieldDistributionMessage>> for VersionedValidationProtocol"],["impl From<UnifiedReputationChange> for ReputationChange"],["impl From<ValidationVersion> for ProtocolVersion"],["impl From<Versioned<StatementDistributionMessage>> for VersionedValidationProtocol"],["impl From<Versioned<CollatorProtocolMessage>> for VersionedCollationProtocol"],["impl From<Canceled> for RequestError"],["impl From<ApprovalDistributionMessage> for ValidationProtocol"],["impl From<RequestFailure> for RequestError"],["impl From<CollationVersion> for ProtocolVersion"],["impl From<ErasureChunk> for ChunkResponse"],["impl From<ProtocolVersion> for u32"],["impl From<JfyiError> for Error"],["impl From<StatementDistributionMessage> for ValidationProtocol"],["impl From<DisputeMessage> for DisputeRequest"],["impl From<ObservedRole> for ObservedRole"],["impl From<Option<AvailableData>> for AvailableDataFetchingResponse"],["impl From<CollationProtocol> for VersionedCollationProtocol"]], +"polkadot_node_primitives":[["impl From<SessionWindowSize> for NonZeroUsize"],["impl From<&Statement> for CompactStatement"],["impl From<ValidCandidateVotes> for BTreeMap<ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature)>"],["impl From<DisputeMessage> for UncheckedDisputeMessage"]], +"polkadot_node_subsystem_types":[["impl From<NetworkBridgeEvent<Versioned<CollatorProtocolMessage>>> for CollatorProtocolMessage"],["impl From<&str> for ChainApiError"],["impl From<Error> for SubsystemError"],["impl From<JaegerError> for SubsystemError"],["impl From<NetworkBridgeEvent<Versioned<StatementDistributionMessage>>> for StatementDistributionMessage"],["impl From<SendError> for SubsystemError"],["impl From<(CandidateReceipt<H256>, u32, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>)> for AvailabilityRecoveryMessage"],["impl From<OrchestraError> for SubsystemError"],["impl From<Infallible> for SubsystemError"],["impl From<NetworkBridgeEvent<Versioned<BitfieldDistributionMessage>>> for BitfieldDistributionMessage"],["impl From<Error> for SubsystemError"],["impl From<NetworkBridgeEvent<Versioned<ApprovalDistributionMessage>>> for ApprovalDistributionMessage"],["impl From<NetworkBridgeEvent<Versioned<GossipSupportNetworkMessage>>> for GossipSupportMessage"],["impl From<Canceled> for SubsystemError"],["impl From<String> for ChainApiError"]], "polkadot_node_subsystem_util":[["impl From<RuntimeApiError> for Error"],["impl From<OrchestraError> for Error"],["impl From<Infallible> for Error"],["impl From<Canceled> for Error"],["impl From<SubsystemError> for Error"],["impl From<SendError> for Error"],["impl From<FatalError> for Error"],["impl From<JfyiError> for Error"]], "polkadot_overseer":[["impl From<CandidateValidationOutgoingMessages> for AllMessages"],["impl From<()> for CandidateValidationOutgoingMessages"],["impl From<()> for AvailabilityDistributionOutgoingMessages"],["impl From<CollatorProtocolOutgoingMessages> for AllMessages"],["impl From<()> for ChainApiOutgoingMessages"],["impl From<ProvisionerMessage> for CandidateBackingOutgoingMessages"],["impl From<()> for PvfCheckerOutgoingMessages"],["impl From<()> for StatementDistributionOutgoingMessages"],["impl From<ProvisionerMessage> for BitfieldDistributionOutgoingMessages"],["impl From<CollatorProtocolMessage> for CandidateBackingOutgoingMessages"],["impl From<()> for CandidateBackingOutgoingMessages"],["impl From<FinalityNotification<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>> for BlockInfo"],["impl From<NetworkBridgeTxMessage> for AvailabilityRecoveryOutgoingMessages"],["impl From<StatementDistributionMessage> for CandidateBackingOutgoingMessages"],["impl From<()> for BitfieldDistributionOutgoingMessages"],["impl From<DisputeCoordinatorMessage> for DisputeDistributionOutgoingMessages"],["impl From<()> for AllMessages"],["impl From<AvailabilityStoreMessage> for BitfieldSigningOutgoingMessages"],["impl From<AvailabilityStoreMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<RuntimeApiMessage> for CollatorProtocolOutgoingMessages"],["impl From<CollationGenerationMessage> for AllMessages"],["impl From<ApprovalVotingMessage> for AllMessages"],["impl From<ApprovalVotingMessage> for ApprovalDistributionOutgoingMessages"],["impl From<NetworkBridgeRxMessage> for AllMessages"],["impl From<()> for CollatorProtocolOutgoingMessages"],["impl From<()> for BitfieldSigningOutgoingMessages"],["impl From<DisputeCoordinatorMessage> for ProvisionerOutgoingMessages"],["impl From<RuntimeApiMessage> for AllMessages"],["impl From<ProvisionerMessage> for AllMessages"],["impl From<()> for ApprovalVotingOutgoingMessages"],["impl From<DisputeDistributionMessage> for AllMessages"],["impl From<()> for CollationGenerationOutgoingMessages"],["impl From<ChainSelectionOutgoingMessages> for AllMessages"],["impl From<RuntimeApiMessage> for AvailabilityDistributionOutgoingMessages"],["impl From<BitfieldDistributionOutgoingMessages> for AllMessages"],["impl From<AvailabilityRecoveryMessage> for ApprovalVotingOutgoingMessages"],["impl From<GossipSupportOutgoingMessages> for AllMessages"],["impl From<RuntimeApiMessage> for BitfieldDistributionOutgoingMessages"],["impl From<DisputeCoordinatorMessage> for ApprovalVotingOutgoingMessages"],["impl From<NetworkBridgeTxMessage> for GossipSupportOutgoingMessages"],["impl From<NetworkBridgeTxMessage> for CollatorProtocolOutgoingMessages"],["impl From<NetworkBridgeTxMessage> for StatementDistributionOutgoingMessages"],["impl From<StatementDistributionOutgoingMessages> for AllMessages"],["impl From<CollationGenerationOutgoingMessages> for AllMessages"],["impl From<DisputeDistributionOutgoingMessages> for AllMessages"],["impl From<CandidateBackingOutgoingMessages> for AllMessages"],["impl From<RuntimeApiMessage> for DisputeDistributionOutgoingMessages"],["impl From<()> for AvailabilityStoreOutgoingMessages"],["impl From<()> for ApprovalDistributionOutgoingMessages"],["impl From<DisputeCoordinatorMessage> for AllMessages"],["impl From<NetworkBridgeTxMessage> for DisputeDistributionOutgoingMessages"],["impl From<DisputeCoordinatorOutgoingMessages> for AllMessages"],["impl From<NetworkBridgeTxMessage> for ApprovalDistributionOutgoingMessages"],["impl From<NetworkBridgeTxMessage> for AllMessages"],["impl From<ChainApiMessage> for ProvisionerOutgoingMessages"],["impl From<AvailabilityRecoveryMessage> for AllMessages"],["impl From<RuntimeApiMessage> for AvailabilityRecoveryOutgoingMessages"],["impl From<AvailabilityStoreMessage> for CandidateBackingOutgoingMessages"],["impl From<AvailabilityRecoveryMessage> for AvailabilityDistributionOutgoingMessages"],["impl From<ChainSelectionMessage> for ApprovalVotingOutgoingMessages"],["impl From<NetworkBridgeTxOutgoingMessages> for AllMessages"],["impl From<()> for DisputeDistributionOutgoingMessages"],["impl From<DisputeDistributionMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<ChainApiMessage> for AvailabilityStoreOutgoingMessages"],["impl From<CandidateValidationMessage> for AllMessages"],["impl From<GossipSupportMessage> for NetworkBridgeRxOutgoingMessages"],["impl From<PvfCheckerMessage> for AllMessages"],["impl From<CandidateBackingMessage> for ProvisionerOutgoingMessages"],["impl From<ApprovalVotingOutgoingMessages> for AllMessages"],["impl From<ChainApiMessage> for AvailabilityDistributionOutgoingMessages"],["impl From<PvfCheckerOutgoingMessages> for AllMessages"],["impl From<ApprovalDistributionOutgoingMessages> for AllMessages"],["impl From<RuntimeApiMessage> for ApprovalVotingOutgoingMessages"],["impl From<CandidateValidationMessage> for ApprovalVotingOutgoingMessages"],["impl From<ChainApiMessage> for AllMessages"],["impl From<CandidateBackingMessage> for StatementDistributionOutgoingMessages"],["impl From<ChainApiMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<CandidateValidationMessage> for CandidateBackingOutgoingMessages"],["impl From<RuntimeApiMessage> for AvailabilityStoreOutgoingMessages"],["impl From<CollatorProtocolMessage> for NetworkBridgeRxOutgoingMessages"],["impl From<CollatorProtocolMessage> for CollationGenerationOutgoingMessages"],["impl From<()> for AvailabilityRecoveryOutgoingMessages"],["impl From<NetworkBridgeRxMessage> for GossipSupportOutgoingMessages"],["impl From<AvailabilityDistributionOutgoingMessages> for AllMessages"],["impl From<BlockImportNotification<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>> for BlockInfo"],["impl From<AvailabilityRecoveryOutgoingMessages> for AllMessages"],["impl From<BitfieldSigningMessage> for AllMessages"],["impl From<()> for GossipSupportOutgoingMessages"],["impl From<()> for RuntimeApiOutgoingMessages"],["impl From<CollationGenerationMessage> for NetworkBridgeRxOutgoingMessages"],["impl From<StatementDistributionMessage> for NetworkBridgeRxOutgoingMessages"],["impl From<AvailabilityStoreMessage> for AvailabilityRecoveryOutgoingMessages"],["impl From<RuntimeApiMessage> for GossipSupportOutgoingMessages"],["impl From<ApprovalDistributionMessage> for NetworkBridgeRxOutgoingMessages"],["impl From<()> for DisputeCoordinatorOutgoingMessages"],["impl From<RuntimeApiMessage> for CandidateValidationOutgoingMessages"],["impl From<AvailabilityStoreMessage> for AllMessages"],["impl From<BitfieldDistributionMessage> for BitfieldSigningOutgoingMessages"],["impl From<NetworkBridgeTxMessage> for AvailabilityDistributionOutgoingMessages"],["impl From<BitfieldDistributionMessage> for NetworkBridgeRxOutgoingMessages"],["impl From<ChainApiMessage> for ApprovalVotingOutgoingMessages"],["impl From<ChainSelectionMessage> for GossipSupportOutgoingMessages"],["impl From<CandidateBackingMessage> for AllMessages"],["impl From<()> for ChainSelectionOutgoingMessages"],["impl From<ChainSelectionMessage> for AllMessages"],["impl From<ApprovalDistributionMessage> for ApprovalVotingOutgoingMessages"],["impl From<()> for NetworkBridgeRxOutgoingMessages"],["impl From<RuntimeApiMessage> for PvfCheckerOutgoingMessages"],["impl From<ChainApiOutgoingMessages> for AllMessages"],["impl From<BitfieldDistributionMessage> for AllMessages"],["impl From<CandidateValidationMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<GossipSupportMessage> for AllMessages"],["impl From<CandidateBackingMessage> for CollatorProtocolOutgoingMessages"],["impl From<ApprovalDistributionMessage> for AllMessages"],["impl From<RuntimeApiMessage> for BitfieldSigningOutgoingMessages"],["impl From<()> for NetworkBridgeTxOutgoingMessages"],["impl From<BitfieldSigningOutgoingMessages> for AllMessages"],["impl From<AvailabilityDistributionMessage> for AllMessages"],["impl From<ApprovalVotingMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<NetworkBridgeRxOutgoingMessages> for AllMessages"],["impl From<DisputeDistributionMessage> for NetworkBridgeRxOutgoingMessages"],["impl From<AvailabilityRecoveryMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<ChainApiMessage> for ChainSelectionOutgoingMessages"],["impl From<ChainSelectionMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<RuntimeApiMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<CandidateValidationMessage> for PvfCheckerOutgoingMessages"],["impl From<RuntimeApiMessage> for CandidateBackingOutgoingMessages"],["impl From<NetworkBridgeTxMessage> for BitfieldDistributionOutgoingMessages"],["impl From<RuntimeApiOutgoingMessages> for AllMessages"],["impl From<CollatorProtocolMessage> for AllMessages"],["impl From<RuntimeApiMessage> for StatementDistributionOutgoingMessages"],["impl From<AvailabilityDistributionMessage> for CandidateBackingOutgoingMessages"],["impl From<AvailabilityStoreMessage> for AvailabilityDistributionOutgoingMessages"],["impl From<StatementDistributionMessage> for AllMessages"],["impl From<AvailabilityStoreOutgoingMessages> for AllMessages"],["impl From<RuntimeApiMessage> for CollationGenerationOutgoingMessages"],["impl From<()> for ProvisionerOutgoingMessages"],["impl From<RuntimeApiMessage> for ProvisionerOutgoingMessages"],["impl From<ProvisionerOutgoingMessages> for AllMessages"]], "polkadot_parachain":[["impl From<Vec<u8, Global>> for BlockData"],["impl From<[u8; 32]> for ValidationCodeHash"],["impl From<Sibling> for u32"],["impl From<Id> for Sibling"],["impl From<Vec<u8, Global>> for HeadData"],["impl From<Compact<Id>> for Id"],["impl From<u32> for Sibling"],["impl From<H256> for ValidationCodeHash"],["impl From<u32> for Id"],["impl From<i32> for Id"],["impl From<Id> for u32"],["impl From<Sibling> for Id"],["impl From<Vec<u8, Global>> for ValidationCode"],["impl From<usize> for Id"]], @@ -20,7 +20,7 @@ "polkadot_runtime_parachains":[["impl<T: Config> From<Event<T>> for ()"],["impl<T: Config> From<Error<T>> for &'static str"],["impl From<Event> for ()"],["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Error<T>> for DispatchError"],["impl<T: Config> From<Error<T>> for &'static str"],["impl From<u32> for Origin"],["impl<T: Config> From<Error<T>> for DispatchError"],["impl<T: Config> From<Event<T>> for ()"],["impl<T: Config> From<Error<T>> for DispatchError"],["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Event<T>> for ()"],["impl<T: Config> From<Error<T>> for DispatchError"],["impl<T: Config> From<Error<T>> for DispatchError"],["impl<T: Config> From<Error<T>> for DispatchError"],["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Error<T>> for DispatchError"],["impl From<QueueDownwardMessageError> for SendError"]], "polkadot_service":[["impl From<Error> for Error"],["impl From<SubsystemError> for Error"],["impl From<AddrParseError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<JaegerError> for Error"],["impl From<Error> for Error"]], "polkadot_statement_distribution":[["impl From<Error> for Error"],["impl From<Error> for FatalError"],["impl From<FatalError> for Error"],["impl From<JfyiError> for Error"],["impl From<Error> for JfyiError"]], -"polkadot_statement_table":[["impl<'a, Ctx: Context> From<Drain<'a, <Ctx as Context>::AuthorityId, Vec<Misbehavior<<Ctx as Context>::Candidate, <Ctx as Context>::Digest, <Ctx as Context>::AuthorityId, <Ctx as Context>::Signature>, Global>>> for DrainMisbehaviors<'a, Ctx>"],["impl<'a> From<&'a Statement<CommittedCandidateReceipt<H256>, CandidateHash>> for PrimitiveStatement"]], +"polkadot_statement_table":[["impl<'a, Ctx: Context> From<Drain<'a, <Ctx as Context>::AuthorityId, Vec<Misbehavior<<Ctx as Context>::Candidate, <Ctx as Context>::Digest, <Ctx as Context>::AuthorityId, <Ctx as Context>::Signature>, Global>>> for DrainMisbehaviors<'a, Ctx>"],["impl<'a> From<&'a Statement<CommittedCandidateReceipt<H256>, CandidateHash>> for PrimitiveStatement"]], "polkadot_test_runtime":[["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime, ()>> for RuntimeError"],["impl From<Option<<Runtime as Config>::AccountId>> for RuntimeOrigin"],["impl From<Event> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<RuntimeOrigin> for Result<Origin, RuntimeOrigin>"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime, ()>> for RuntimeEvent"],["impl<T: Config> From<Error<T>> for DispatchError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Origin> for OriginCaller"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<OriginCaller> for RuntimeOrigin"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Origin> for RuntimeOrigin"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<RuntimeOrigin> for Result<Origin<Runtime>, RuntimeOrigin>"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl<T: Config> From<Event<T>> for ()"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<RawOrigin<<Runtime as Config>::AccountId>> for OriginCaller"],["impl From<Origin> for OriginCaller"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<RawOrigin<<Runtime as Config>::AccountId>> for RuntimeOrigin"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<RuntimeOrigin> for Result<Origin, RuntimeOrigin>"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl<T: Config> From<Error<T>> for &'static str"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime, ()> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Origin> for RuntimeOrigin"],["impl From<Error<Runtime>> for RuntimeError"]], "rococo_runtime":[["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime, ()>> for RuntimeEvent"],["impl From<Event<Runtime, ()>> for RuntimeEvent"],["impl From<Error<Runtime, ()>> for RuntimeError"],["impl From<RuntimeOrigin> for Result<Origin, RuntimeOrigin>"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime, Instance2> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Option<<Runtime as Config>::AccountId>> for RuntimeOrigin"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime, Instance2> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Error<Runtime, Instance1>> for RuntimeError"],["impl From<Event> for RuntimeEvent"],["impl From<<Pallet<Runtime, ()> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event> for RuntimeEvent"],["impl From<RuntimeOrigin> for Result<Origin<Runtime, Instance1>, RuntimeOrigin>"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime, ()> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<RawOrigin<<Runtime as Config>::AccountId, Instance1>> for RuntimeOrigin"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime, ()>> for RuntimeEvent"],["impl From<Error<Runtime, ()>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime, ()>> for RuntimeEvent"],["impl From<RuntimeOrigin> for Result<Origin, RuntimeOrigin>"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<RawOrigin<<Runtime as Config>::AccountId>> for RuntimeOrigin"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime, Instance1> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime, ()>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime, Instance1>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime, ()>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime, ()> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime, Instance1> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime, ()> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<RuntimeOrigin> for Result<Origin<Runtime>, RuntimeOrigin>"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime, Instance1>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime, ()>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<RawOrigin<<Runtime as Config>::AccountId, Instance1>> for OriginCaller"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<HoldReason> for RuntimeHoldReason"],["impl From<<Pallet<Runtime, ()> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime, Instance1>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Origin> for RuntimeOrigin"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<OriginCaller> for RuntimeOrigin"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime, ()>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<RawOrigin<<Runtime as Config>::AccountId>> for OriginCaller"],["impl From<Origin> for OriginCaller"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event> for RuntimeEvent"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Origin> for RuntimeOrigin"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Origin> for OriginCaller"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"]], "staking_miner":[["impl<T: Config> From<MinerError> for Error<T>"],["impl<T: Config> From<Error> for Error<T>"],["impl From<Error> for RpcHelperError"],["impl<T: Config> From<SecretStringError> for Error<T>"],["impl<'a> From<&'a RuntimeVersion> for RuntimeWrapper<'a>"],["impl<T: Config> From<Error> for Error<T>"],["impl<T: Config> From<FeasibilityError> for Error<T>"],["impl<T: Config> From<ElectionError<T>> for Error<T>"],["impl<T: Config> From<RpcHelperError> for Error<T>"],["impl<T: Config> From<Error> for Error<T>"],["impl From<Error> for RpcHelperError"]], diff --git a/doc/implementors/core/convert/trait.Into.js b/doc/implementors/core/convert/trait.Into.js index 06b5cca15129..0d0f8daba9e8 100644 --- a/doc/implementors/core/convert/trait.Into.js +++ b/doc/implementors/core/convert/trait.Into.js @@ -1,5 +1,5 @@ (function() {var implementors = { "malus":[["impl Into<InvalidCandidate> for FakeCandidateValidationError"]], "polkadot_node_network_protocol":[["impl Into<ObservedRole> for ObservedRole"]], -"polkadot_statement_table":[["impl Into<ValidityAttestation> for ValidityAttestation<ValidatorSignature>"]] +"polkadot_statement_table":[["impl Into<ValidityAttestation> for ValidityAttestation<ValidatorSignature>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/core/iter/traits/collect/trait.FromIterator.js b/doc/implementors/core/iter/traits/collect/trait.FromIterator.js index 697809383e69..0abe47caf317 100644 --- a/doc/implementors/core/iter/traits/collect/trait.FromIterator.js +++ b/doc/implementors/core/iter/traits/collect/trait.FromIterator.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"polkadot_node_primitives":[["impl FromIterator<(ValidatorIndex, (ValidDisputeStatementKind, Signature))> for ValidCandidateVotes"]], +"polkadot_node_primitives":[["impl FromIterator<(ValidatorIndex, (ValidDisputeStatementKind, Signature))> for ValidCandidateVotes"]], "polkadot_primitives":[["impl<K, V> FromIterator<V> for IndexedVec<K, V>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/polkadot_primitives/v5/signed/trait.EncodeAs.js b/doc/implementors/polkadot_primitives/v5/signed/trait.EncodeAs.js index 201be8afab50..e00c94fc69c4 100644 --- a/doc/implementors/polkadot_primitives/v5/signed/trait.EncodeAs.js +++ b/doc/implementors/polkadot_primitives/v5/signed/trait.EncodeAs.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"polkadot_node_primitives":[["impl EncodeAs<CompactStatement> for Statement"]], +"polkadot_node_primitives":[["impl EncodeAs<CompactStatement> for Statement"]], "polkadot_primitives":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/polkadot_node_core_approval_voting/struct.ApprovalVotingSubsystem.html b/doc/polkadot_node_core_approval_voting/struct.ApprovalVotingSubsystem.html index 71bf0c45347c..7d487ca9e5b4 100644 --- a/doc/polkadot_node_core_approval_voting/struct.ApprovalVotingSubsystem.html +++ b/doc/polkadot_node_core_approval_voting/struct.ApprovalVotingSubsystem.html @@ -11,7 +11,7 @@

Trait Implementations§

source§

impl<Context> Subsystem<Context, SubsystemError> for ApprovalVotingSubsystemwhere Context: ApprovalVotingContextTrait + SubsystemContext + Send, <Context as ApprovalVotingContextTrait>::Sender: ApprovalVotingSenderTrait, - <Context as SubsystemContext>::Sender: ApprovalVotingSenderTrait,

source§

fn start(self, ctx: Context) -> SpawnedSubsystem

Start this Subsystem and return SpawnedSubsystem.

Auto Trait Implementations§

§

impl !RefUnwindSafe for ApprovalVotingSubsystem

§

impl Send for ApprovalVotingSubsystem

§

impl !Sync for ApprovalVotingSubsystem

§

impl Unpin for ApprovalVotingSubsystem

§

impl !UnwindSafe for ApprovalVotingSubsystem

Blanket Implementations§

source§

impl<T> Any for Twhere + <Context as SubsystemContext>::Sender: ApprovalVotingSenderTrait,

source§

fn start(self, ctx: Context) -> SpawnedSubsystem

Start this Subsystem and return SpawnedSubsystem.

Auto Trait Implementations§

§

impl !RefUnwindSafe for ApprovalVotingSubsystem

§

impl Send for ApprovalVotingSubsystem

§

impl !Sync for ApprovalVotingSubsystem

§

impl Unpin for ApprovalVotingSubsystem

§

impl !UnwindSafe for ApprovalVotingSubsystem

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Any for Twhere T: Any,

§

fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>

§

fn type_name(&self) -> &'static str

source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/doc/polkadot_node_core_av_store/struct.AvailabilityStoreSubsystem.html b/doc/polkadot_node_core_av_store/struct.AvailabilityStoreSubsystem.html index 67abfe2ef4cb..6c9d7abcfb1a 100644 --- a/doc/polkadot_node_core_av_store/struct.AvailabilityStoreSubsystem.html +++ b/doc/polkadot_node_core_av_store/struct.AvailabilityStoreSubsystem.html @@ -8,7 +8,7 @@

Trait Implementations§

source§

impl<Context> Subsystem<Context, SubsystemError> for AvailabilityStoreSubsystemwhere Context: AvailabilityStoreContextTrait + SubsystemContext, <Context as AvailabilityStoreContextTrait>::Sender: AvailabilityStoreSenderTrait, - <Context as SubsystemContext>::Sender: AvailabilityStoreSenderTrait,

source§

fn start(self, ctx: Context) -> SpawnedSubsystem

Start this Subsystem and return SpawnedSubsystem.

Auto Trait Implementations§

§

impl !RefUnwindSafe for AvailabilityStoreSubsystem

§

impl Send for AvailabilityStoreSubsystem

§

impl Sync for AvailabilityStoreSubsystem

§

impl Unpin for AvailabilityStoreSubsystem

§

impl !UnwindSafe for AvailabilityStoreSubsystem

Blanket Implementations§

source§

impl<T> Any for Twhere + <Context as SubsystemContext>::Sender: AvailabilityStoreSenderTrait,

source§

fn start(self, ctx: Context) -> SpawnedSubsystem

Start this Subsystem and return SpawnedSubsystem.

Auto Trait Implementations§

§

impl !RefUnwindSafe for AvailabilityStoreSubsystem

§

impl Send for AvailabilityStoreSubsystem

§

impl Sync for AvailabilityStoreSubsystem

§

impl Unpin for AvailabilityStoreSubsystem

§

impl !UnwindSafe for AvailabilityStoreSubsystem

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Any for Twhere T: Any,

§

fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>

§

fn type_name(&self) -> &'static str

§

impl<T> AnySync for Twhere T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync + 'static>

source§

impl<T> Borrow<T> for Twhere diff --git a/doc/polkadot_node_core_pvf_common/error/enum.InternalValidationError.html b/doc/polkadot_node_core_pvf_common/error/enum.InternalValidationError.html index 4d1e9f685c9e..04574499153d 100644 --- a/doc/polkadot_node_core_pvf_common/error/enum.InternalValidationError.html +++ b/doc/polkadot_node_core_pvf_common/error/enum.InternalValidationError.html @@ -38,8 +38,8 @@ ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> EncodeAs<T> for Twhere - T: Encode,

source§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> EncodeAs<T> for Twhere + T: Encode,

§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_core_pvf_common/error/enum.PrepareError.html b/doc/polkadot_node_core_pvf_common/error/enum.PrepareError.html index 4d7fedf84c95..93533123cda5 100644 --- a/doc/polkadot_node_core_pvf_common/error/enum.PrepareError.html +++ b/doc/polkadot_node_core_pvf_common/error/enum.PrepareError.html @@ -52,8 +52,8 @@ ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> EncodeAs<T> for Twhere - T: Encode,

source§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> EncodeAs<T> for Twhere + T: Encode,

§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_core_pvf_common/execute/enum.Response.html b/doc/polkadot_node_core_pvf_common/execute/enum.Response.html index f2491e2c2a69..1b7b6bf3af96 100644 --- a/doc/polkadot_node_core_pvf_common/execute/enum.Response.html +++ b/doc/polkadot_node_core_pvf_common/execute/enum.Response.html @@ -42,8 +42,8 @@ input: &mut &[u8] ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of -bytes consumed. Read more
source§

impl<T> EncodeAs<T> for Twhere - T: Encode,

source§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where +bytes consumed. Read more

§

impl<T> EncodeAs<T> for Twhere + T: Encode,

§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_core_pvf_common/execute/struct.Handshake.html b/doc/polkadot_node_core_pvf_common/execute/struct.Handshake.html index 5d19d2d32100..9fa5e9815612 100644 --- a/doc/polkadot_node_core_pvf_common/execute/struct.Handshake.html +++ b/doc/polkadot_node_core_pvf_common/execute/struct.Handshake.html @@ -1,8 +1,8 @@ Handshake in polkadot_node_core_pvf_common::execute - Rust
pub struct Handshake {
-    pub executor_params: ExecutorParams,
+    pub executor_params: ExecutorParams,
 }
Expand description

The payload of the one-time handshake that is done when a worker process is created. Carries data from the host to the worker.

-

Fields§

§executor_params: ExecutorParams

The executor parameters.

+

Fields§

§executor_params: ExecutorParams

The executor parameters.

Trait Implementations§

source§

impl Decode for Handshake

source§

fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

Attempt to deserialise the value from input.
§

fn decode_into<I>( @@ -28,8 +28,8 @@ input: &mut &[u8] ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of -bytes consumed. Read more
source§

impl<T> EncodeAs<T> for Twhere - T: Encode,

source§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where +bytes consumed. Read more

§

impl<T> EncodeAs<T> for Twhere + T: Encode,

§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_core_pvf_common/executor_intf/fn.params_to_wasmtime_semantics.html b/doc/polkadot_node_core_pvf_common/executor_intf/fn.params_to_wasmtime_semantics.html index bc91bceef829..1be4b6c87e7b 100644 --- a/doc/polkadot_node_core_pvf_common/executor_intf/fn.params_to_wasmtime_semantics.html +++ b/doc/polkadot_node_core_pvf_common/executor_intf/fn.params_to_wasmtime_semantics.html @@ -1,3 +1,3 @@ params_to_wasmtime_semantics in polkadot_node_core_pvf_common::executor_intf - Rust
pub fn params_to_wasmtime_semantics(
-    par: &ExecutorParams
+    par: &ExecutorParams
 ) -> Result<Semantics, String>
\ No newline at end of file diff --git a/doc/polkadot_node_core_pvf_common/executor_intf/struct.Executor.html b/doc/polkadot_node_core_pvf_common/executor_intf/struct.Executor.html index b6db9e78097e..81769eb280c2 100644 --- a/doc/polkadot_node_core_pvf_common/executor_intf/struct.Executor.html +++ b/doc/polkadot_node_core_pvf_common/executor_intf/struct.Executor.html @@ -1,6 +1,6 @@ Executor in polkadot_node_core_pvf_common::executor_intf - Rust
pub struct Executor { /* private fields */ }
Expand description

A WASM executor with a given configuration. It is instantiated once per execute worker and is specific to that worker.

-

Implementations§

source§

impl Executor

source

pub fn new(params: ExecutorParams) -> Result<Self, String>

source

pub unsafe fn execute( +

Implementations§

source§

impl Executor

source

pub fn new(params: ExecutorParams) -> Result<Self, String>

source

pub unsafe fn execute( &self, compiled_artifact_blob: &[u8], params: &[u8] diff --git a/doc/polkadot_node_core_pvf_common/prepare/enum.PrepareJobKind.html b/doc/polkadot_node_core_pvf_common/prepare/enum.PrepareJobKind.html index 3674fa553105..c4fd368a3d93 100644 --- a/doc/polkadot_node_core_pvf_common/prepare/enum.PrepareJobKind.html +++ b/doc/polkadot_node_core_pvf_common/prepare/enum.PrepareJobKind.html @@ -31,8 +31,8 @@ ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> EncodeAs<T> for Twhere - T: Encode,

source§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> EncodeAs<T> for Twhere + T: Encode,

§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_core_pvf_common/prepare/struct.MemoryAllocationStats.html b/doc/polkadot_node_core_pvf_common/prepare/struct.MemoryAllocationStats.html index 4344eb33b93b..65e540c4f665 100644 --- a/doc/polkadot_node_core_pvf_common/prepare/struct.MemoryAllocationStats.html +++ b/doc/polkadot_node_core_pvf_common/prepare/struct.MemoryAllocationStats.html @@ -31,8 +31,8 @@ ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> EncodeAs<T> for Twhere - T: Encode,

source§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> EncodeAs<T> for Twhere + T: Encode,

§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_core_pvf_common/prepare/struct.MemoryStats.html b/doc/polkadot_node_core_pvf_common/prepare/struct.MemoryStats.html index a56d6fa4f518..e0c2ca3f3148 100644 --- a/doc/polkadot_node_core_pvf_common/prepare/struct.MemoryStats.html +++ b/doc/polkadot_node_core_pvf_common/prepare/struct.MemoryStats.html @@ -32,8 +32,8 @@ ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> EncodeAs<T> for Twhere - T: Encode,

source§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> EncodeAs<T> for Twhere + T: Encode,

§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_core_pvf_common/prepare/struct.PrepareStats.html b/doc/polkadot_node_core_pvf_common/prepare/struct.PrepareStats.html index b46db2940630..8d2e8b0a6787 100644 --- a/doc/polkadot_node_core_pvf_common/prepare/struct.PrepareStats.html +++ b/doc/polkadot_node_core_pvf_common/prepare/struct.PrepareStats.html @@ -31,8 +31,8 @@ ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> EncodeAs<T> for Twhere - T: Encode,

source§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> EncodeAs<T> for Twhere + T: Encode,

§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_core_pvf_common/pvf/struct.PvfPrepData.html b/doc/polkadot_node_core_pvf_common/pvf/struct.PvfPrepData.html index b34d04342137..92c1daab7888 100644 --- a/doc/polkadot_node_core_pvf_common/pvf/struct.PvfPrepData.html +++ b/doc/polkadot_node_core_pvf_common/pvf/struct.PvfPrepData.html @@ -3,13 +3,13 @@

Should be cheap to clone.

Implementations§

source§

impl PvfPrepData

source

pub fn from_code( code: Vec<u8>, - executor_params: ExecutorParams, + executor_params: ExecutorParams, prep_timeout: Duration, prep_kind: PrepareJobKind ) -> Self

Returns an instance of the PVF out of the given PVF code and executor params.

source

pub fn code_hash(&self) -> ValidationCodeHash

Returns validation code hash for the PVF

source

pub fn code(&self) -> Arc<Vec<u8>>

Returns PVF code

-
source

pub fn executor_params(&self) -> Arc<ExecutorParams>

Returns executor params

+
source

pub fn executor_params(&self) -> Arc<ExecutorParams>

Returns executor params

source

pub fn prep_timeout(&self) -> Duration

Returns preparation timeout.

source

pub fn prep_kind(&self) -> PrepareJobKind

Returns preparation kind.

source

pub fn from_discriminator_and_timeout(num: u32, timeout: Duration) -> Self

Creates a structure for tests.

@@ -44,8 +44,8 @@ ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> EncodeAs<T> for Twhere - T: Encode,

source§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> EncodeAs<T> for Twhere + T: Encode,

§

fn encode_as(&self) -> Vec<u8, Global>

Convert Self into T, then encode T. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_core_pvf_execute_worker/struct.Executor.html b/doc/polkadot_node_core_pvf_execute_worker/struct.Executor.html index b2e1f8b3299f..62ed9977e498 100644 --- a/doc/polkadot_node_core_pvf_execute_worker/struct.Executor.html +++ b/doc/polkadot_node_core_pvf_execute_worker/struct.Executor.html @@ -1,6 +1,6 @@ -Executor in polkadot_node_core_pvf_execute_worker - Rust
pub struct Executor { /* private fields */ }
Expand description

A WASM executor with a given configuration. It is instantiated once per execute worker and is +Executor in polkadot_node_core_pvf_execute_worker - Rust

pub struct Executor { /* private fields */ }
Expand description

A WASM executor with a given configuration. It is instantiated once per execute worker and is specific to that worker.

-

Implementations§

§

impl Executor

pub fn new(params: ExecutorParams) -> Result<Executor, String>

pub unsafe fn execute( +

Implementations§

source§

impl Executor

source

pub fn new(params: ExecutorParams) -> Result<Executor, String>

source

pub unsafe fn execute( &self, compiled_artifact_blob: &[u8], params: &[u8] @@ -13,7 +13,7 @@

Safety
  • was not modified,
  • Failure to adhere to these requirements might lead to crashes and arbitrary code execution.

    -

    pub unsafe fn create_runtime_from_bytes( +

    source

    pub unsafe fn create_runtime_from_bytes( &self, compiled_artifact_blob: &[u8] ) -> Result<WasmtimeRuntime, WasmError>

    Constructs the runtime for the given PVF, given the artifact bytes.

    @@ -24,7 +24,7 @@
    Safety
  • was not modified,
  • Failure to adhere to these requirements might lead to crashes and arbitrary code execution.

    -

    Trait Implementations§

    §

    impl Clone for Executor

    §

    fn clone(&self) -> Executor

    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

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    Trait Implementations§

    source§

    impl Clone for Executor

    source§

    fn clone(&self) -> Executor

    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

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Executor

    §

    impl Send for Executor

    §

    impl Sync for Executor

    §

    impl Unpin for Executor

    §

    impl UnwindSafe for Executor

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> Any for Twhere T: Any,

    §

    fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>

    §

    fn type_name(&self) -> &'static str

    §

    impl<T> AnySync for Twhere T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync + 'static>

    source§

    impl<T> Borrow<T> for Twhere diff --git a/doc/polkadot_node_core_pvf_prepare_worker/fn.prepare.html b/doc/polkadot_node_core_pvf_prepare_worker/fn.prepare.html index c003bd000e99..88f20cac103a 100644 --- a/doc/polkadot_node_core_pvf_prepare_worker/fn.prepare.html +++ b/doc/polkadot_node_core_pvf_prepare_worker/fn.prepare.html @@ -1,6 +1,6 @@ prepare in polkadot_node_core_pvf_prepare_worker - Rust
    pub fn prepare(
         blob: RuntimeBlob,
    -    executor_params: &ExecutorParams
    +    executor_params: &ExecutorParams
     ) -> Result<Vec<u8>, WasmError>
    Expand description

    Runs preparation on the given runtime blob. If successful, it returns a serialized compiled artifact which can then be used to pass into Executor::execute after writing it to the disk.

    \ No newline at end of file diff --git a/doc/polkadot_node_jaeger/enum.Span.html b/doc/polkadot_node_jaeger/enum.Span.html index 462050e4f9ca..b86b4e7e3fbf 100644 --- a/doc/polkadot_node_jaeger/enum.Span.html +++ b/doc/polkadot_node_jaeger/enum.Span.html @@ -19,9 +19,9 @@

    source

    pub fn with_para_id(self, para_id: ParaId) -> Self

    Attach a para-id to the span.

    source

    pub fn with_stage(self, stage: Stage) -> Self

    Attach a candidate stage. Should always come with a CandidateHash.

    -
    source

    pub fn with_validator_index(self, validator: ValidatorIndex) -> Self

    source

    pub fn with_chunk_index(self, chunk_index: u32) -> Self

    source

    pub fn with_relay_parent(self, relay_parent: Hash) -> Self

    source

    pub fn with_claimed_validator_index( +
    source

    pub fn with_validator_index(self, validator: ValidatorIndex) -> Self

    source

    pub fn with_chunk_index(self, chunk_index: u32) -> Self

    source

    pub fn with_relay_parent(self, relay_parent: Hash) -> Self

    source

    pub fn with_claimed_validator_index( self, - claimed_validator_index: ValidatorIndex + claimed_validator_index: ValidatorIndex ) -> Self

    source

    pub fn with_pov(self, pov: &PoV) -> Self

    source

    pub fn with_int_tag(self, tag: &'static str, i: i64) -> Self

    Add an additional int tag to the span without consuming.

    Should be used sparingly, introduction of new types is preferred.

    source

    pub fn with_uint_tag(self, tag: &'static str, u: u64) -> Self

    source

    pub fn with_string_fmt_debug_tag<V: Debug>( diff --git a/doc/polkadot_node_network_protocol/grid_topology/struct.GridNeighbors.html b/doc/polkadot_node_network_protocol/grid_topology/struct.GridNeighbors.html index b07cfa7d033b..516e17374d29 100644 --- a/doc/polkadot_node_network_protocol/grid_topology/struct.GridNeighbors.html +++ b/doc/polkadot_node_network_protocol/grid_topology/struct.GridNeighbors.html @@ -1,18 +1,18 @@ GridNeighbors in polkadot_node_network_protocol::grid_topology - Rust
    pub struct GridNeighbors {
         pub peers_x: HashSet<PeerId>,
    -    pub validator_indices_x: HashSet<ValidatorIndex>,
    +    pub validator_indices_x: HashSet<ValidatorIndex>,
         pub peers_y: HashSet<PeerId>,
    -    pub validator_indices_y: HashSet<ValidatorIndex>,
    +    pub validator_indices_y: HashSet<ValidatorIndex>,
     }
    Expand description

    Information about the grid neighbors for a particular node in the topology.

    Fields§

    §peers_x: HashSet<PeerId>

    Represent peers in the X axis

    -
    §validator_indices_x: HashSet<ValidatorIndex>

    Represent validators in the X axis

    +
    §validator_indices_x: HashSet<ValidatorIndex>

    Represent validators in the X axis

    §peers_y: HashSet<PeerId>

    Represent peers in the Y axis

    -
    §validator_indices_y: HashSet<ValidatorIndex>

    Represent validators in the Y axis

    +
    §validator_indices_y: HashSet<ValidatorIndex>

    Represent validators in the Y axis

    Implementations§

    source§

    impl GridNeighbors

    source

    pub fn empty() -> Self

    Utility function for creating an empty set of grid neighbors. Useful for testing.

    source

    pub fn required_routing_by_index( &self, - originator: ValidatorIndex, + originator: ValidatorIndex, local: bool ) -> RequiredRouting

    Given the originator of a message as a validator index, indicates the part of the topology we’re meant to send the message to.

    diff --git a/doc/polkadot_node_network_protocol/grid_topology/struct.SessionBoundGridTopologyStorage.html b/doc/polkadot_node_network_protocol/grid_topology/struct.SessionBoundGridTopologyStorage.html index a68817532bd9..dc3569f2deb9 100644 --- a/doc/polkadot_node_network_protocol/grid_topology/struct.SessionBoundGridTopologyStorage.html +++ b/doc/polkadot_node_network_protocol/grid_topology/struct.SessionBoundGridTopologyStorage.html @@ -14,7 +14,7 @@ &mut self, session_index: SessionIndex, topology: SessionGridTopology, - local_index: Option<ValidatorIndex> + local_index: Option<ValidatorIndex> )

    Update the current topology preserving the previous one

    source

    pub fn get_current_topology(&self) -> &SessionGridTopologyEntry

    Returns a current grid topology

    source

    pub fn get_current_topology_mut(&mut self) -> &mut SessionGridTopologyEntry

    Access the current grid topology mutably. Dangerous and intended diff --git a/doc/polkadot_node_network_protocol/grid_topology/struct.SessionGridTopologies.html b/doc/polkadot_node_network_protocol/grid_topology/struct.SessionGridTopologies.html index 40116bbec26e..9efea08db984 100644 --- a/doc/polkadot_node_network_protocol/grid_topology/struct.SessionGridTopologies.html +++ b/doc/polkadot_node_network_protocol/grid_topology/struct.SessionGridTopologies.html @@ -9,7 +9,7 @@ &mut self, session: SessionIndex, topology: SessionGridTopology, - local_index: Option<ValidatorIndex> + local_index: Option<ValidatorIndex> )

    Insert a new topology, no-op if already present.

    Trait Implementations§

    source§

    impl Default for SessionGridTopologies

    source§

    fn default() -> SessionGridTopologies

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for SessionGridTopologies

    §

    impl Send for SessionGridTopologies

    §

    impl Sync for SessionGridTopologies

    §

    impl Unpin for SessionGridTopologies

    §

    impl UnwindSafe for SessionGridTopologies

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> Any for Twhere diff --git a/doc/polkadot_node_network_protocol/grid_topology/struct.SessionGridTopology.html b/doc/polkadot_node_network_protocol/grid_topology/struct.SessionGridTopology.html index 2638700bc176..731086881dd3 100644 --- a/doc/polkadot_node_network_protocol/grid_topology/struct.SessionGridTopology.html +++ b/doc/polkadot_node_network_protocol/grid_topology/struct.SessionGridTopology.html @@ -5,7 +5,7 @@ ) -> Self

    Create a new session grid topology.

    source

    pub fn compute_grid_neighbors_for( &self, - v: ValidatorIndex + v: ValidatorIndex ) -> Option<GridNeighbors>

    Produces the outgoing routing logic for a particular peer.

    Returns None if the validator index is out of bounds.

    Trait Implementations§

    source§

    impl Clone for SessionGridTopology

    source§

    fn clone(&self) -> SessionGridTopology

    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 Debug for SessionGridTopology

    source§

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

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

    impl Default for SessionGridTopology

    source§

    fn default() -> SessionGridTopology

    Returns the “default value” for a type. Read more
    source§

    impl PartialEq<SessionGridTopology> for SessionGridTopology

    source§

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

    This method tests for self and other values to be equal, and is used diff --git a/doc/polkadot_node_network_protocol/grid_topology/struct.TopologyPeerInfo.html b/doc/polkadot_node_network_protocol/grid_topology/struct.TopologyPeerInfo.html index 88b5b7b9f211..895cd36e1b6f 100644 --- a/doc/polkadot_node_network_protocol/grid_topology/struct.TopologyPeerInfo.html +++ b/doc/polkadot_node_network_protocol/grid_topology/struct.TopologyPeerInfo.html @@ -1,10 +1,10 @@ TopologyPeerInfo in polkadot_node_network_protocol::grid_topology - Rust
    pub struct TopologyPeerInfo {
         pub peer_ids: Vec<PeerId>,
    -    pub validator_index: ValidatorIndex,
    +    pub validator_index: ValidatorIndex,
         pub discovery_id: AuthorityDiscoveryId,
     }
    Expand description

    Information about a peer in the gossip topology for a session.

    Fields§

    §peer_ids: Vec<PeerId>

    The validator’s known peer IDs.

    -
    §validator_index: ValidatorIndex

    The index of the validator in the discovery keys of the corresponding +

    §validator_index: ValidatorIndex

    The index of the validator in the discovery keys of the corresponding SessionInfo. This can extend beyond the set of active parachain validators.

    §discovery_id: AuthorityDiscoveryId

    The authority discovery public key of the validator in the corresponding SessionInfo.

    diff --git a/doc/polkadot_node_network_protocol/index.html b/doc/polkadot_node_network_protocol/index.html index 1e119a40bd23..9912f88ec2cc 100644 --- a/doc/polkadot_node_network_protocol/index.html +++ b/doc/polkadot_node_network_protocol/index.html @@ -5,5 +5,5 @@ The basic operation of the 2D grid topology is that:
  • Peer-sets and protocols used for parachains. All peersets and protocols used for parachains.
  • Request/response protocols used in Polkadot. Overview over request/responses as used in Polkadot.
  • v1 notification protocol types.
  • Macros

    • Construct a new OurView with the given chain heads, finalized number 0 and disabled -[jaeger::Span]’s.
    • Construct a new view with the given chain heads and finalized number 0.

    Structs

    • Specialized wrapper around View.
    • Identifier of a peer of the network.
    • Description of a reputation adjustment for a node.
    • A succinct representation of a peer’s view. This consists of a bounded amount of chain heads +jaeger::Span’s.
    • Construct a new view with the given chain heads and finalized number 0.

    Structs

    • Specialized wrapper around View.
    • Identifier of a peer of the network.
    • Description of a reputation adjustment for a node.
    • A succinct representation of a peer’s view. This consists of a bounded amount of chain heads and the highest known finalized block number.
    • An error indicating that this the over-arching message type had the wrong variant

    Enums

    Constants

    Type Definitions

    \ No newline at end of file diff --git a/doc/polkadot_node_network_protocol/macro.our_view.html b/doc/polkadot_node_network_protocol/macro.our_view.html index badf342ff4c4..681ccb1a0133 100644 --- a/doc/polkadot_node_network_protocol/macro.our_view.html +++ b/doc/polkadot_node_network_protocol/macro.our_view.html @@ -1,7 +1,7 @@ our_view in polkadot_node_network_protocol - Rust
    macro_rules! our_view {
         ( $( $hash:expr ),* $(,)? ) => { ... };
     }
    Expand description

    Construct a new OurView with the given chain heads, finalized number 0 and disabled -[jaeger::Span]’s.

    +jaeger::Span’s.

    NOTE: Use for tests only.

    Example

    let our_view = our_view![Hash::repeat_byte(1), Hash::repeat_byte(2)];
    diff --git a/doc/polkadot_node_network_protocol/request_response/network/struct.Roles.html b/doc/polkadot_node_network_protocol/request_response/network/struct.Roles.html index 21cb286c6631..44fdef89165f 100644 --- a/doc/polkadot_node_network_protocol/request_response/network/struct.Roles.html +++ b/doc/polkadot_node_network_protocol/request_response/network/struct.Roles.html @@ -114,8 +114,8 @@
    Safety
    bytes consumed. Read more
    §

    impl<T> DefensiveMax<T> for Twhere T: PartialOrd<T>,

    §

    fn defensive_max(self, other: T) -> T

    Returns the maximum and defensively asserts that other is not larger than self. Read more
    §

    fn defensive_strict_max(self, other: T) -> T

    Returns the maximum and defensively asserts that other is smaller than self. Read more
    §

    impl<T> DefensiveMin<T> for Twhere T: PartialOrd<T>,

    §

    fn defensive_min(self, other: T) -> T

    Returns the minimum and defensively checks that self is not larger than other. Read more
    §

    fn defensive_strict_min(self, other: T) -> T

    Returns the minimum and defensively checks that self is smaller than other. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_network_protocol/request_response/v1/enum.AvailableDataFetchingResponse.html b/doc/polkadot_node_network_protocol/request_response/v1/enum.AvailableDataFetchingResponse.html index 492d3c5d0b9f..984d7e527ccc 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/enum.AvailableDataFetchingResponse.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/enum.AvailableDataFetchingResponse.html @@ -1,8 +1,8 @@ AvailableDataFetchingResponse in polkadot_node_network_protocol::request_response::v1 - Rust
    pub enum AvailableDataFetchingResponse {
    -    AvailableData(AvailableData),
    +    AvailableData(AvailableData),
         NoSuchData,
     }
    Expand description

    Receive a requested available data.

    -

    Variants§

    §

    AvailableData(AvailableData)

    The requested data.

    +

    Variants§

    §

    AvailableData(AvailableData)

    The requested data.

    §

    NoSuchData

    Node was not in possession of the requested data.

    Trait Implementations§

    source§

    impl Clone for AvailableDataFetchingResponse

    source§

    fn clone(&self) -> AvailableDataFetchingResponse

    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 Debug for AvailableDataFetchingResponse

    source§

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

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

    impl Decode for AvailableDataFetchingResponse

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy @@ -15,7 +15,7 @@ &self, __codec_dest_edqy: &mut __CodecOutputEdqy )

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<Option<AvailableData>> for AvailableDataFetchingResponse

    source§

    fn from(x: Option<AvailableData>) -> Self

    Converts to this type from the input type.
    source§

    impl EncodeLike<AvailableDataFetchingResponse> for AvailableDataFetchingResponse

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<Option<AvailableData>> for AvailableDataFetchingResponse

    source§

    fn from(x: Option<AvailableData>) -> Self

    Converts to this type from the input type.
    source§

    impl EncodeLike<AvailableDataFetchingResponse> for AvailableDataFetchingResponse

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for AvailableDataFetchingResponse

    §

    impl Send for AvailableDataFetchingResponse

    §

    impl Sync for AvailableDataFetchingResponse

    §

    impl Unpin for AvailableDataFetchingResponse

    §

    impl UnwindSafe for AvailableDataFetchingResponse

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> Any for Twhere T: Any,

    §

    fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>

    §

    fn type_name(&self) -> &'static str

    §

    impl<T> AnySync for Twhere T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync + 'static>

    source§

    impl<T> Borrow<T> for Twhere @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

    Causes self to use its Binary implementation when Debug-formatted.
    §

    fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

    Causes self to use its Display implementation when Debug-formatted.
    §

    fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_network_protocol/request_response/v1/enum.ChunkFetchingResponse.html b/doc/polkadot_node_network_protocol/request_response/v1/enum.ChunkFetchingResponse.html index 934f3e44b005..042ed93c16cb 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/enum.ChunkFetchingResponse.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/enum.ChunkFetchingResponse.html @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

    Causes self to use its Binary implementation when Debug-formatted.
    §

    fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

    Causes self to use its Display implementation when Debug-formatted.
    §

    fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_network_protocol/request_response/v1/enum.CollationFetchingResponse.html b/doc/polkadot_node_network_protocol/request_response/v1/enum.CollationFetchingResponse.html index a827ac5ded91..dce9613d790f 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/enum.CollationFetchingResponse.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/enum.CollationFetchingResponse.html @@ -1,7 +1,7 @@ CollationFetchingResponse in polkadot_node_network_protocol::request_response::v1 - Rust
    pub enum CollationFetchingResponse {
    -    Collation(CandidateReceipt, PoV),
    +    Collation(CandidateReceipt, PoV),
     }
    Expand description

    Responses as sent by collators.

    -

    Variants§

    §

    Collation(CandidateReceipt, PoV)

    Deliver requested collation.

    +

    Variants§

    §

    Collation(CandidateReceipt, PoV)

    Deliver requested collation.

    Trait Implementations§

    source§

    impl Clone for CollationFetchingResponse

    source§

    fn clone(&self) -> CollationFetchingResponse

    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 Debug for CollationFetchingResponse

    source§

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

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

    impl Decode for CollationFetchingResponse

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -29,8 +29,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

    Causes self to use its Binary implementation when Debug-formatted.
    §

    fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

    Causes self to use its Display implementation when Debug-formatted.
    §

    fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_network_protocol/request_response/v1/enum.DisputeResponse.html b/doc/polkadot_node_network_protocol/request_response/v1/enum.DisputeResponse.html index 8d5c7e2d69bd..234c66d6fcec 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/enum.DisputeResponse.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/enum.DisputeResponse.html @@ -30,8 +30,8 @@ input: &mut &[u8] ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of -bytes consumed. Read more
    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere +bytes consumed. Read more

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_network_protocol/request_response/v1/enum.PoVFetchingResponse.html b/doc/polkadot_node_network_protocol/request_response/v1/enum.PoVFetchingResponse.html index 7342f58acd2f..0cd9b4b480ff 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/enum.PoVFetchingResponse.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/enum.PoVFetchingResponse.html @@ -1,8 +1,8 @@ PoVFetchingResponse in polkadot_node_network_protocol::request_response::v1 - Rust
    pub enum PoVFetchingResponse {
    -    PoV(PoV),
    +    PoV(PoV),
         NoSuchPoV,
     }
    Expand description

    Responses to PoVFetchingRequest.

    -

    Variants§

    §

    PoV(PoV)

    Deliver requested PoV.

    +

    Variants§

    §

    PoV(PoV)

    Deliver requested PoV.

    §

    NoSuchPoV

    PoV was not found in store.

    Trait Implementations§

    source§

    impl Clone for PoVFetchingResponse

    source§

    fn clone(&self) -> PoVFetchingResponse

    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 Debug for PoVFetchingResponse

    source§

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

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

    impl Decode for PoVFetchingResponse

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

    Causes self to use its Binary implementation when Debug-formatted.
    §

    fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

    Causes self to use its Display implementation when Debug-formatted.
    §

    fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_network_protocol/request_response/v1/enum.StatementFetchingResponse.html b/doc/polkadot_node_network_protocol/request_response/v1/enum.StatementFetchingResponse.html index b8b0a9017b93..16cb01151d48 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/enum.StatementFetchingResponse.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/enum.StatementFetchingResponse.html @@ -1,10 +1,10 @@ StatementFetchingResponse in polkadot_node_network_protocol::request_response::v1 - Rust
    pub enum StatementFetchingResponse {
    -    Statement(CommittedCandidateReceipt),
    +    Statement(CommittedCandidateReceipt),
     }
    Expand description

    Respond with found full statement.

    In this protocol the requester will only request data it was previously notified about, therefore not having the data is not really an option and would just result in a RequestFailure.

    -

    Variants§

    §

    Statement(CommittedCandidateReceipt)

    Data missing to reconstruct the full signed statement.

    +

    Variants§

    §

    Statement(CommittedCandidateReceipt)

    Data missing to reconstruct the full signed statement.

    Trait Implementations§

    source§

    impl Clone for StatementFetchingResponse

    source§

    fn clone(&self) -> StatementFetchingResponse

    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 Debug for StatementFetchingResponse

    source§

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

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

    impl Decode for StatementFetchingResponse

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -32,8 +32,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

    Causes self to use its Binary implementation when Debug-formatted.
    §

    fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

    Causes self to use its Display implementation when Debug-formatted.
    §

    fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_network_protocol/request_response/v1/struct.AvailableDataFetchingRequest.html b/doc/polkadot_node_network_protocol/request_response/v1/struct.AvailableDataFetchingRequest.html index 5201f160a39c..fe36ca56249c 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/struct.AvailableDataFetchingRequest.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/struct.AvailableDataFetchingRequest.html @@ -28,8 +28,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

    Causes self to use its Binary implementation when Debug-formatted.
    §

    fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

    Causes self to use its Display implementation when Debug-formatted.
    §

    fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_network_protocol/request_response/v1/struct.ChunkFetchingRequest.html b/doc/polkadot_node_network_protocol/request_response/v1/struct.ChunkFetchingRequest.html index b50e41b0cc7d..969e45498f1b 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/struct.ChunkFetchingRequest.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/struct.ChunkFetchingRequest.html @@ -1,9 +1,9 @@ ChunkFetchingRequest in polkadot_node_network_protocol::request_response::v1 - Rust
    pub struct ChunkFetchingRequest {
         pub candidate_hash: CandidateHash,
    -    pub index: ValidatorIndex,
    +    pub index: ValidatorIndex,
     }
    Expand description

    Request an availability chunk.

    Fields§

    §candidate_hash: CandidateHash

    Hash of candidate we want a chunk for.

    -
    §index: ValidatorIndex

    The index of the chunk to fetch.

    +
    §index: ValidatorIndex

    The index of the chunk to fetch.

    Trait Implementations§

    source§

    impl Clone for ChunkFetchingRequest

    source§

    fn clone(&self) -> ChunkFetchingRequest

    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 Debug for ChunkFetchingRequest

    source§

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

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

    impl Decode for ChunkFetchingRequest

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

    Causes self to use its Binary implementation when Debug-formatted.
    §

    fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

    Causes self to use its Display implementation when Debug-formatted.
    §

    fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_network_protocol/request_response/v1/struct.ChunkResponse.html b/doc/polkadot_node_network_protocol/request_response/v1/struct.ChunkResponse.html index d7437f8f8439..4b278705763f 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/struct.ChunkResponse.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/struct.ChunkResponse.html @@ -1,14 +1,14 @@ ChunkResponse in polkadot_node_network_protocol::request_response::v1 - Rust
    pub struct ChunkResponse {
         pub chunk: Vec<u8>,
    -    pub proof: Proof,
    +    pub proof: Proof,
     }
    Expand description

    Skimmed down variant of ErasureChunk.

    Instead of transmitting a full ErasureChunk we transmit ChunkResponse in ChunkFetchingResponse, which omits the chunk’s index. The index is already known by the requester and by not transmitting it, we ensure the requester is going to use his index value for validating the response, thus making sure he got what he requested.

    Fields§

    §chunk: Vec<u8>

    The erasure-encoded chunk of data belonging to the candidate block.

    -
    §proof: Proof

    Proof for this chunk’s branch in the Merkle tree.

    -

    Implementations§

    source§

    impl ChunkResponse

    source

    pub fn recombine_into_chunk(self, req: &ChunkFetchingRequest) -> ErasureChunk

    Re-build an ErasureChunk from response and request.

    +
    §proof: Proof

    Proof for this chunk’s branch in the Merkle tree.

    +

    Implementations§

    source§

    impl ChunkResponse

    source

    pub fn recombine_into_chunk(self, req: &ChunkFetchingRequest) -> ErasureChunk

    Re-build an ErasureChunk from response and request.

    Trait Implementations§

    source§

    impl Clone for ChunkResponse

    source§

    fn clone(&self) -> ChunkResponse

    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 Debug for ChunkResponse

    source§

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

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

    impl Decode for ChunkResponse

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -20,7 +20,7 @@ &self, __codec_dest_edqy: &mut __CodecOutputEdqy )

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<ErasureChunk> for ChunkResponse

    source§

    fn from(_: ErasureChunk) -> Self

    Converts to this type from the input type.
    source§

    impl EncodeLike<ChunkResponse> for ChunkResponse

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<ErasureChunk> for ChunkResponse

    source§

    fn from(_: ErasureChunk) -> Self

    Converts to this type from the input type.
    source§

    impl EncodeLike<ChunkResponse> for ChunkResponse

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> Any for Twhere T: Any,

    §

    fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>

    §

    fn type_name(&self) -> &'static str

    §

    impl<T> AnySync for Twhere T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync + 'static>

    source§

    impl<T> Borrow<T> for Twhere @@ -36,8 +36,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

    Causes self to use its Binary implementation when Debug-formatted.
    §

    fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

    Causes self to use its Display implementation when Debug-formatted.
    §

    fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_network_protocol/request_response/v1/struct.CollationFetchingRequest.html b/doc/polkadot_node_network_protocol/request_response/v1/struct.CollationFetchingRequest.html index 76224ba34a28..18b55b6f7761 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/struct.CollationFetchingRequest.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/struct.CollationFetchingRequest.html @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

    Causes self to use its Binary implementation when Debug-formatted.
    §

    fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

    Causes self to use its Display implementation when Debug-formatted.
    §

    fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_network_protocol/request_response/v1/struct.DisputeRequest.html b/doc/polkadot_node_network_protocol/request_response/v1/struct.DisputeRequest.html index b7ce45cfa15d..4964ee56f5c8 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/struct.DisputeRequest.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/struct.DisputeRequest.html @@ -1,6 +1,6 @@ -DisputeRequest in polkadot_node_network_protocol::request_response::v1 - Rust
    pub struct DisputeRequest(pub UncheckedDisputeMessage);
    Expand description

    A dispute request.

    +DisputeRequest in polkadot_node_network_protocol::request_response::v1 - Rust
    pub struct DisputeRequest(pub UncheckedDisputeMessage);
    Expand description

    A dispute request.

    Contains an invalid vote a valid one for a particular candidate in a given session.

    -

    Tuple Fields§

    §0: UncheckedDisputeMessage

    Trait Implementations§

    source§

    impl Clone for DisputeRequest

    source§

    fn clone(&self) -> DisputeRequest

    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 Debug for DisputeRequest

    source§

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

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

    impl Decode for DisputeRequest

    source§

    fn decode<__CodecInputEdqy: Input>( +

    Tuple Fields§

    §0: UncheckedDisputeMessage

    Trait Implementations§

    source§

    impl Clone for DisputeRequest

    source§

    fn clone(&self) -> DisputeRequest

    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 Debug for DisputeRequest

    source§

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

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

    impl Decode for DisputeRequest

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( input: &mut I, @@ -10,7 +10,7 @@ I: Input,

    Attempt to skip the encoded value from input. Read more
    §

    fn encoded_fixed_size() -> Option<usize>

    Returns the fixed encoded size of the type. Read more
    source§

    impl Encode for DisputeRequest

    source§

    fn size_hint(&self) -> usize

    If possible give a hint of expected size of the encoding. Read more
    source§

    fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy -)

    Convert self to a slice and append it to the destination.
    source§

    fn encode(&self) -> Vec<u8>

    Convert self to an owned vector.
    source§

    fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<DisputeMessage> for DisputeRequest

    source§

    fn from(msg: DisputeMessage) -> Self

    Converts to this type from the input type.
    source§

    impl IsRequest for DisputeRequest

    §

    type Response = DisputeResponse

    Each request has a corresponding Response.
    source§

    const PROTOCOL: Protocol = Protocol::DisputeSendingV1

    What protocol this Request implements.
    source§

    impl EncodeLike<DisputeRequest> for DisputeRequest

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +)

    Convert self to a slice and append it to the destination.
    source§

    fn encode(&self) -> Vec<u8>

    Convert self to an owned vector.
    source§

    fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<DisputeMessage> for DisputeRequest

    source§

    fn from(msg: DisputeMessage) -> Self

    Converts to this type from the input type.
    source§

    impl IsRequest for DisputeRequest

    §

    type Response = DisputeResponse

    Each request has a corresponding Response.
    source§

    const PROTOCOL: Protocol = Protocol::DisputeSendingV1

    What protocol this Request implements.
    source§

    impl EncodeLike<DisputeRequest> for DisputeRequest

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> Any for Twhere T: Any,

    §

    fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>

    §

    fn type_name(&self) -> &'static str

    §

    impl<T> AnySync for Twhere T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync + 'static>

    source§

    impl<T> Borrow<T> for Twhere @@ -26,8 +26,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more

    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

    Causes self to use its Binary implementation when Debug-formatted.
    §

    fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

    Causes self to use its Display implementation when Debug-formatted.
    §

    fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_network_protocol/request_response/v1/struct.PoVFetchingRequest.html b/doc/polkadot_node_network_protocol/request_response/v1/struct.PoVFetchingRequest.html index 74878e35943e..40959e6bf079 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/struct.PoVFetchingRequest.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/struct.PoVFetchingRequest.html @@ -28,8 +28,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

    Causes self to use its Binary implementation when Debug-formatted.
    §

    fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

    Causes self to use its Display implementation when Debug-formatted.
    §

    fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_network_protocol/request_response/v1/struct.StatementFetchingRequest.html b/doc/polkadot_node_network_protocol/request_response/v1/struct.StatementFetchingRequest.html index 9b16653d8f9c..bd034f2191ee 100644 --- a/doc/polkadot_node_network_protocol/request_response/v1/struct.StatementFetchingRequest.html +++ b/doc/polkadot_node_network_protocol/request_response/v1/struct.StatementFetchingRequest.html @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

    Causes self to use its Binary implementation when Debug-formatted.
    §

    fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

    Causes self to use its Display implementation when Debug-formatted.
    §

    fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_network_protocol/struct.OurView.html b/doc/polkadot_node_network_protocol/struct.OurView.html index da8de8f34164..1c4e02eb0711 100644 --- a/doc/polkadot_node_network_protocol/struct.OurView.html +++ b/doc/polkadot_node_network_protocol/struct.OurView.html @@ -1,11 +1,11 @@ OurView in polkadot_node_network_protocol - Rust
    pub struct OurView { /* private fields */ }
    Expand description

    Specialized wrapper around View.

    -

    Besides the access to the view itself, it also gives access to the [jaeger::Span] per +

    Besides the access to the view itself, it also gives access to the jaeger::Span per leave/head.

    Implementations§

    source§

    impl OurView

    source

    pub fn new( - heads: impl IntoIterator<Item = (Hash, Arc<Span>)>, + heads: impl IntoIterator<Item = (Hash, Arc<Span>)>, finalized_number: BlockNumber ) -> Self

    Creates a new instance.

    -
    source

    pub fn span_per_head(&self) -> &HashMap<Hash, Arc<Span>>

    Returns the span per head map.

    +
    source

    pub fn span_per_head(&self) -> &HashMap<Hash, Arc<Span>>

    Returns the span per head map.

    For each head there exists one span in this map.

    Methods from Deref<Target = View>§

    source

    pub fn len(&self) -> usize

    Obtain the number of heads that are in view.

    source

    pub fn is_empty(&self) -> bool

    Check if the number of heads contained, is null.

    diff --git a/doc/polkadot_node_network_protocol/struct.View.html b/doc/polkadot_node_network_protocol/struct.View.html index b87ee4c0f248..6f93bd92a35a 100644 --- a/doc/polkadot_node_network_protocol/struct.View.html +++ b/doc/polkadot_node_network_protocol/struct.View.html @@ -58,8 +58,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_network_protocol/v1/enum.ApprovalDistributionMessage.html b/doc/polkadot_node_network_protocol/v1/enum.ApprovalDistributionMessage.html index 5f061afabe8c..9f2d1ddcf56e 100644 --- a/doc/polkadot_node_network_protocol/v1/enum.ApprovalDistributionMessage.html +++ b/doc/polkadot_node_network_protocol/v1/enum.ApprovalDistributionMessage.html @@ -1,10 +1,10 @@ ApprovalDistributionMessage in polkadot_node_network_protocol::v1 - Rust
    pub enum ApprovalDistributionMessage {
    -    Assignments(Vec<(IndirectAssignmentCert, CandidateIndex)>),
    -    Approvals(Vec<IndirectSignedApprovalVote>),
    +    Assignments(Vec<(IndirectAssignmentCert, CandidateIndex)>),
    +    Approvals(Vec<IndirectSignedApprovalVote>),
     }
    Expand description

    Network messages used by the approval distribution subsystem.

    -

    Variants§

    §

    Assignments(Vec<(IndirectAssignmentCert, CandidateIndex)>)

    Assignments for candidates in recent, unfinalized blocks.

    +

    Variants§

    §

    Assignments(Vec<(IndirectAssignmentCert, CandidateIndex)>)

    Assignments for candidates in recent, unfinalized blocks.

    Actually checking the assignment may yield a different result.

    -
    §

    Approvals(Vec<IndirectSignedApprovalVote>)

    Approvals for candidates in some recent, unfinalized block.

    +
    §

    Approvals(Vec<IndirectSignedApprovalVote>)

    Approvals for candidates in some recent, unfinalized block.

    Trait Implementations§

    source§

    impl Clone for ApprovalDistributionMessage

    source§

    fn clone(&self) -> ApprovalDistributionMessage

    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 Debug for ApprovalDistributionMessage

    source§

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

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

    impl Decode for ApprovalDistributionMessage

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -34,8 +34,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_network_protocol/v1/enum.BitfieldDistributionMessage.html b/doc/polkadot_node_network_protocol/v1/enum.BitfieldDistributionMessage.html index 7b20eaf5b6a9..fb643c53a44a 100644 --- a/doc/polkadot_node_network_protocol/v1/enum.BitfieldDistributionMessage.html +++ b/doc/polkadot_node_network_protocol/v1/enum.BitfieldDistributionMessage.html @@ -1,7 +1,7 @@ BitfieldDistributionMessage in polkadot_node_network_protocol::v1 - Rust
    pub enum BitfieldDistributionMessage {
    -    Bitfield(Hash, UncheckedSignedAvailabilityBitfield),
    +    Bitfield(Hash, UncheckedSignedAvailabilityBitfield),
     }
    Expand description

    Network messages used by the bitfield distribution subsystem.

    -

    Variants§

    §

    Bitfield(Hash, UncheckedSignedAvailabilityBitfield)

    A signed availability bitfield for a given relay-parent hash.

    +

    Variants§

    §

    Bitfield(Hash, UncheckedSignedAvailabilityBitfield)

    A signed availability bitfield for a given relay-parent hash.

    Trait Implementations§

    source§

    impl Clone for BitfieldDistributionMessage

    source§

    fn clone(&self) -> BitfieldDistributionMessage

    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 Debug for BitfieldDistributionMessage

    source§

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

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

    impl Decode for BitfieldDistributionMessage

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_network_protocol/v1/enum.CollationProtocol.html b/doc/polkadot_node_network_protocol/v1/enum.CollationProtocol.html index e553b63fd7ce..7040f07440c6 100644 --- a/doc/polkadot_node_network_protocol/v1/enum.CollationProtocol.html +++ b/doc/polkadot_node_network_protocol/v1/enum.CollationProtocol.html @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_network_protocol/v1/enum.CollatorProtocolMessage.html b/doc/polkadot_node_network_protocol/v1/enum.CollatorProtocolMessage.html index c8237ed64915..b759c64ce668 100644 --- a/doc/polkadot_node_network_protocol/v1/enum.CollatorProtocolMessage.html +++ b/doc/polkadot_node_network_protocol/v1/enum.CollatorProtocolMessage.html @@ -1,13 +1,13 @@ CollatorProtocolMessage in polkadot_node_network_protocol::v1 - Rust
    pub enum CollatorProtocolMessage {
    -    Declare(CollatorId, ParaId, CollatorSignature),
    +    Declare(CollatorId, ParaId, CollatorSignature),
         AdvertiseCollation(Hash),
    -    CollationSeconded(Hash, UncheckedSignedFullStatement),
    +    CollationSeconded(Hash, UncheckedSignedFullStatement),
     }
    Expand description

    Network messages used by the collator protocol subsystem

    -

    Variants§

    §

    Declare(CollatorId, ParaId, CollatorSignature)

    Declare the intent to advertise collations under a collator ID, attaching a +

    Variants§

    §

    Declare(CollatorId, ParaId, CollatorSignature)

    Declare the intent to advertise collations under a collator ID, attaching a signature of the PeerId of the node using the given collator ID key.

    §

    AdvertiseCollation(Hash)

    Advertise a collation to a validator. Can only be sent once the peer has declared that they are a collator with given ID.

    -
    §

    CollationSeconded(Hash, UncheckedSignedFullStatement)

    A collation sent to a validator was seconded.

    +
    §

    CollationSeconded(Hash, UncheckedSignedFullStatement)

    A collation sent to a validator was seconded.

    Trait Implementations§

    source§

    impl Clone for CollatorProtocolMessage

    source§

    fn clone(&self) -> CollatorProtocolMessage

    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 Debug for CollatorProtocolMessage

    source§

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

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

    impl Decode for CollatorProtocolMessage

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -37,8 +37,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_network_protocol/v1/enum.StatementDistributionMessage.html b/doc/polkadot_node_network_protocol/v1/enum.StatementDistributionMessage.html index fced84dd40b5..157fae1ca7c7 100644 --- a/doc/polkadot_node_network_protocol/v1/enum.StatementDistributionMessage.html +++ b/doc/polkadot_node_network_protocol/v1/enum.StatementDistributionMessage.html @@ -1,13 +1,13 @@ StatementDistributionMessage in polkadot_node_network_protocol::v1 - Rust
    pub enum StatementDistributionMessage {
    -    Statement(Hash, UncheckedSignedFullStatement),
    +    Statement(Hash, UncheckedSignedFullStatement),
         LargeStatement(StatementMetadata),
     }
    Expand description

    Network messages used by the statement distribution subsystem.

    -

    Variants§

    §

    Statement(Hash, UncheckedSignedFullStatement)

    A signed full statement under a given relay-parent.

    +

    Variants§

    §

    Statement(Hash, UncheckedSignedFullStatement)

    A signed full statement under a given relay-parent.

    §

    LargeStatement(StatementMetadata)

    Seconded statement with large payload (e.g. containing a runtime upgrade).

    We only gossip the hash in that case, actual payloads can be fetched from sending node via request/response.

    -

    Implementations§

    source§

    impl StatementDistributionMessage

    source

    pub fn get_fingerprint(&self) -> (CompactStatement, ValidatorIndex)

    Get fingerprint describing the contained statement uniquely.

    -
    source

    pub fn get_signature(&self) -> ValidatorSignature

    Get the signature from the statement.

    +

    Implementations§

    source§

    impl StatementDistributionMessage

    source

    pub fn get_fingerprint(&self) -> (CompactStatement, ValidatorIndex)

    Get fingerprint describing the contained statement uniquely.

    +
    source

    pub fn get_signature(&self) -> ValidatorSignature

    Get the signature from the statement.

    source

    pub fn get_relay_parent(&self) -> Hash

    Get contained relay parent.

    source

    pub fn is_large_statement(&self) -> bool

    Whether this message contains a large statement.

    Trait Implementations§

    source§

    impl Clone for StatementDistributionMessage

    source§

    fn clone(&self) -> StatementDistributionMessage

    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 Debug for StatementDistributionMessage

    source§

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

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

    impl Decode for StatementDistributionMessage

    source§

    fn decode<__CodecInputEdqy: Input>( @@ -39,8 +39,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_network_protocol/v1/enum.ValidationProtocol.html b/doc/polkadot_node_network_protocol/v1/enum.ValidationProtocol.html index eddf6c0a4a44..28067e4c8e54 100644 --- a/doc/polkadot_node_network_protocol/v1/enum.ValidationProtocol.html +++ b/doc/polkadot_node_network_protocol/v1/enum.ValidationProtocol.html @@ -35,8 +35,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_network_protocol/v1/struct.StatementMetadata.html b/doc/polkadot_node_network_protocol/v1/struct.StatementMetadata.html index f530c652bdca..67f784525f55 100644 --- a/doc/polkadot_node_network_protocol/v1/struct.StatementMetadata.html +++ b/doc/polkadot_node_network_protocol/v1/struct.StatementMetadata.html @@ -1,13 +1,13 @@ StatementMetadata in polkadot_node_network_protocol::v1 - Rust
    pub struct StatementMetadata {
         pub relay_parent: Hash,
         pub candidate_hash: CandidateHash,
    -    pub signed_by: ValidatorIndex,
    -    pub signature: ValidatorSignature,
    +    pub signed_by: ValidatorIndex,
    +    pub signature: ValidatorSignature,
     }
    Expand description

    Data that makes a statement unique.

    Fields§

    §relay_parent: Hash

    Relay parent this statement is relevant under.

    §candidate_hash: CandidateHash

    Hash of the candidate that got validated.

    -
    §signed_by: ValidatorIndex

    Validator that attested the validity.

    -
    §signature: ValidatorSignature

    Signature of seconding validator.

    +
    §signed_by: ValidatorIndex

    Validator that attested the validity.

    +
    §signature: ValidatorSignature

    Signature of seconding validator.

    Trait Implementations§

    source§

    impl Clone for StatementMetadata

    source§

    fn clone(&self) -> StatementMetadata

    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 Debug for StatementMetadata

    source§

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

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

    impl Decode for StatementMetadata

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -42,8 +42,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/approval/enum.AssignmentCertKind.html b/doc/polkadot_node_primitives/approval/enum.AssignmentCertKind.html index 8784845be214..ea489aa2477e 100644 --- a/doc/polkadot_node_primitives/approval/enum.AssignmentCertKind.html +++ b/doc/polkadot_node_primitives/approval/enum.AssignmentCertKind.html @@ -3,7 +3,7 @@ sample: u32, }, RelayVRFDelay { - core_index: CoreIndex, + core_index: CoreIndex, }, }
    Expand description

    Different kinds of input data or criteria that can prove a validator’s assignment to check a particular parachain.

    @@ -11,7 +11,7 @@

    An assignment story based on the VRF that authorized the relay-chain block where the candidate was included combined with a sample number.

    The context used to produce bytes is RELAY_VRF_MODULO_CONTEXT

    -
    §

    RelayVRFDelay

    Fields

    §core_index: CoreIndex

    The core index chosen in this cert.

    +
    §

    RelayVRFDelay

    Fields

    §core_index: CoreIndex

    The core index chosen in this cert.

    An assignment story based on the VRF that authorized the relay-chain block where the candidate was included combined with the index of a particular core.

    The context is RELAY_VRF_DELAY_CONTEXT

    @@ -42,8 +42,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/approval/struct.AssignmentCert.html b/doc/polkadot_node_primitives/approval/struct.AssignmentCert.html index 1305990994fb..14017b5303fb 100644 --- a/doc/polkadot_node_primitives/approval/struct.AssignmentCert.html +++ b/doc/polkadot_node_primitives/approval/struct.AssignmentCert.html @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/approval/struct.IndirectAssignmentCert.html b/doc/polkadot_node_primitives/approval/struct.IndirectAssignmentCert.html index 84cf253d8e12..162e329d1a48 100644 --- a/doc/polkadot_node_primitives/approval/struct.IndirectAssignmentCert.html +++ b/doc/polkadot_node_primitives/approval/struct.IndirectAssignmentCert.html @@ -1,11 +1,11 @@ IndirectAssignmentCert in polkadot_node_primitives::approval - Rust
    pub struct IndirectAssignmentCert {
         pub block_hash: Hash,
    -    pub validator: ValidatorIndex,
    +    pub validator: ValidatorIndex,
         pub cert: AssignmentCert,
     }
    Expand description

    An assignment criterion which refers to the candidate under which the assignment is relevant by block hash.

    Fields§

    §block_hash: Hash

    A block hash where the candidate appears.

    -
    §validator: ValidatorIndex

    The validator index.

    +
    §validator: ValidatorIndex

    The validator index.

    §cert: AssignmentCert

    The cert itself.

    Trait Implementations§

    source§

    impl Clone for IndirectAssignmentCert

    source§

    fn clone(&self) -> IndirectAssignmentCert

    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 Debug for IndirectAssignmentCert

    source§

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

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

    impl Decode for IndirectAssignmentCert

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy @@ -34,8 +34,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/approval/struct.IndirectSignedApprovalVote.html b/doc/polkadot_node_primitives/approval/struct.IndirectSignedApprovalVote.html index 5ff97dbddcce..accd347dda21 100644 --- a/doc/polkadot_node_primitives/approval/struct.IndirectSignedApprovalVote.html +++ b/doc/polkadot_node_primitives/approval/struct.IndirectSignedApprovalVote.html @@ -1,15 +1,15 @@ IndirectSignedApprovalVote in polkadot_node_primitives::approval - Rust
    pub struct IndirectSignedApprovalVote {
         pub block_hash: Hash,
    -    pub candidate_index: CandidateIndex,
    -    pub validator: ValidatorIndex,
    -    pub signature: ValidatorSignature,
    +    pub candidate_index: CandidateIndex,
    +    pub validator: ValidatorIndex,
    +    pub signature: ValidatorSignature,
     }
    Expand description

    A signed approval vote which references the candidate indirectly via the block.

    In practice, we have a look-up from block hash and candidate index to candidate hash, so this can be transformed into a SignedApprovalVote.

    Fields§

    §block_hash: Hash

    A block hash where the candidate appears.

    -
    §candidate_index: CandidateIndex

    The index of the candidate in the list of candidates fully included as-of the block.

    -
    §validator: ValidatorIndex

    The validator index.

    -
    §signature: ValidatorSignature

    The signature by the validator.

    +
    §candidate_index: CandidateIndex

    The index of the candidate in the list of candidates fully included as-of the block.

    +
    §validator: ValidatorIndex

    The validator index.

    +
    §signature: ValidatorSignature

    The signature by the validator.

    Trait Implementations§

    source§

    impl Clone for IndirectSignedApprovalVote

    source§

    fn clone(&self) -> IndirectSignedApprovalVote

    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 Debug for IndirectSignedApprovalVote

    source§

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

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

    impl Decode for IndirectSignedApprovalVote

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -37,8 +37,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/approval/struct.RelayVRFStory.html b/doc/polkadot_node_primitives/approval/struct.RelayVRFStory.html index 4d14c4a6fa66..f226972dcabf 100644 --- a/doc/polkadot_node_primitives/approval/struct.RelayVRFStory.html +++ b/doc/polkadot_node_primitives/approval/struct.RelayVRFStory.html @@ -26,8 +26,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more

    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

    Causes self to use its Binary implementation when Debug-formatted.
    §

    fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

    Causes self to use its Display implementation when Debug-formatted.
    §

    fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_primitives/approval/struct.Slot.html b/doc/polkadot_node_primitives/approval/struct.Slot.html index 988b6629f441..2d3f1f6b9b64 100644 --- a/doc/polkadot_node_primitives/approval/struct.Slot.html +++ b/doc/polkadot_node_primitives/approval/struct.Slot.html @@ -53,8 +53,8 @@ bytes consumed. Read more

    §

    impl<T> DefensiveMax<T> for Twhere T: PartialOrd<T>,

    §

    fn defensive_max(self, other: T) -> T

    Returns the maximum and defensively asserts that other is not larger than self. Read more
    §

    fn defensive_strict_max(self, other: T) -> T

    Returns the maximum and defensively asserts that other is smaller than self. Read more
    §

    impl<T> DefensiveMin<T> for Twhere T: PartialOrd<T>,

    §

    fn defensive_min(self, other: T) -> T

    Returns the minimum and defensively checks that self is not larger than other. Read more
    §

    fn defensive_strict_min(self, other: T) -> T

    Returns the minimum and defensively checks that self is smaller than other. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/approval/struct.VrfOutput.html b/doc/polkadot_node_primitives/approval/struct.VrfOutput.html index a10d3b354a8a..d73601a04301 100644 --- a/doc/polkadot_node_primitives/approval/struct.VrfOutput.html +++ b/doc/polkadot_node_primitives/approval/struct.VrfOutput.html @@ -30,8 +30,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more

    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/approval/struct.VrfProof.html b/doc/polkadot_node_primitives/approval/struct.VrfProof.html index 73928fe9810c..04ff7fc1592a 100644 --- a/doc/polkadot_node_primitives/approval/struct.VrfProof.html +++ b/doc/polkadot_node_primitives/approval/struct.VrfProof.html @@ -23,8 +23,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/approval/struct.VrfSignature.html b/doc/polkadot_node_primitives/approval/struct.VrfSignature.html index c36e8a41473b..c6532daec53e 100644 --- a/doc/polkadot_node_primitives/approval/struct.VrfSignature.html +++ b/doc/polkadot_node_primitives/approval/struct.VrfSignature.html @@ -33,8 +33,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/disputes/enum.DisputeStatus.html b/doc/polkadot_node_primitives/disputes/enum.DisputeStatus.html index 7d032c7394a7..68eb881228e2 100644 --- a/doc/polkadot_node_primitives/disputes/enum.DisputeStatus.html +++ b/doc/polkadot_node_primitives/disputes/enum.DisputeStatus.html @@ -55,8 +55,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

    Causes self to use its Binary implementation when Debug-formatted.
    §

    fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

    Causes self to use its Display implementation when Debug-formatted.
    §

    fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_primitives/disputes/struct.CandidateVotes.html b/doc/polkadot_node_primitives/disputes/struct.CandidateVotes.html index 911f732963bc..7714db274171 100644 --- a/doc/polkadot_node_primitives/disputes/struct.CandidateVotes.html +++ b/doc/polkadot_node_primitives/disputes/struct.CandidateVotes.html @@ -1,12 +1,12 @@ CandidateVotes in polkadot_node_primitives::disputes - Rust
    pub struct CandidateVotes {
    -    pub candidate_receipt: CandidateReceipt,
    +    pub candidate_receipt: CandidateReceipt,
         pub valid: ValidCandidateVotes,
    -    pub invalid: BTreeMap<ValidatorIndex, (InvalidDisputeStatementKind, ValidatorSignature)>,
    +    pub invalid: BTreeMap<ValidatorIndex, (InvalidDisputeStatementKind, ValidatorSignature)>,
     }
    Expand description

    Tracked votes on candidates, for the purposes of dispute resolution.

    -

    Fields§

    §candidate_receipt: CandidateReceipt

    The receipt of the candidate itself.

    +

    Fields§

    §candidate_receipt: CandidateReceipt

    The receipt of the candidate itself.

    §valid: ValidCandidateVotes

    Votes of validity, sorted by validator index.

    -
    §invalid: BTreeMap<ValidatorIndex, (InvalidDisputeStatementKind, ValidatorSignature)>

    Votes of invalidity, sorted by validator index.

    -

    Implementations§

    source§

    impl CandidateVotes

    source

    pub fn voted_indices(&self) -> BTreeSet<ValidatorIndex>

    Get the set of all validators who have votes in the set, ascending.

    +
    §invalid: BTreeMap<ValidatorIndex, (InvalidDisputeStatementKind, ValidatorSignature)>

    Votes of invalidity, sorted by validator index.

    +

    Implementations§

    source§

    impl CandidateVotes

    source

    pub fn voted_indices(&self) -> BTreeSet<ValidatorIndex>

    Get the set of all validators who have votes in the set, ascending.

    Trait Implementations§

    source§

    impl Clone for CandidateVotes

    source§

    fn clone(&self) -> CandidateVotes

    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 Debug for CandidateVotes

    source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    const: unstable · source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/polkadot_node_primitives/disputes/struct.DisputeMessage.html b/doc/polkadot_node_primitives/disputes/struct.DisputeMessage.html index 9a83c0910142..2d34b68030d3 100644 --- a/doc/polkadot_node_primitives/disputes/struct.DisputeMessage.html +++ b/doc/polkadot_node_primitives/disputes/struct.DisputeMessage.html @@ -6,11 +6,11 @@ versioned.

    Implementations§

    source§

    impl DisputeMessage

    source

    pub fn from_signed_statements( valid_statement: SignedDisputeStatement, - valid_index: ValidatorIndex, + valid_index: ValidatorIndex, invalid_statement: SignedDisputeStatement, - invalid_index: ValidatorIndex, - candidate_receipt: CandidateReceipt, - session_info: &SessionInfo + invalid_index: ValidatorIndex, + candidate_receipt: CandidateReceipt, + session_info: &SessionInfo ) -> Result<Self, Error>

    Build a SignedDisputeMessage and check what can be checked.

    This function checks that:

      @@ -30,7 +30,7 @@ their given index would very likely not match the ValidatorIds in the statements.

      So in summary, this smart constructor should be smart enough to prevent from almost all programming errors that one could realistically make here.

      -
    source

    pub fn candidate_receipt(&self) -> &CandidateReceipt

    Read only access to the candidate receipt.

    +
    source

    pub fn candidate_receipt(&self) -> &CandidateReceipt

    Read only access to the candidate receipt.

    source

    pub fn session_index(&self) -> SessionIndex

    Read only access to the SessionIndex.

    source

    pub fn invalid_vote(&self) -> &InvalidDisputeVote

    Read only access to the invalid vote.

    source

    pub fn valid_vote(&self) -> &ValidDisputeVote

    Read only access to the valid vote.

    diff --git a/doc/polkadot_node_primitives/disputes/struct.InvalidDisputeVote.html b/doc/polkadot_node_primitives/disputes/struct.InvalidDisputeVote.html index 6539bddc193d..1494bcb88f28 100644 --- a/doc/polkadot_node_primitives/disputes/struct.InvalidDisputeVote.html +++ b/doc/polkadot_node_primitives/disputes/struct.InvalidDisputeVote.html @@ -1,12 +1,12 @@ InvalidDisputeVote in polkadot_node_primitives::disputes - Rust
    pub struct InvalidDisputeVote {
    -    pub validator_index: ValidatorIndex,
    -    pub signature: ValidatorSignature,
    -    pub kind: InvalidDisputeStatementKind,
    +    pub validator_index: ValidatorIndex,
    +    pub signature: ValidatorSignature,
    +    pub kind: InvalidDisputeStatementKind,
     }
    Expand description

    Any invalid vote (currently only explicit).

    -

    Fields§

    §validator_index: ValidatorIndex

    The voting validator index.

    -
    §signature: ValidatorSignature

    The validator signature, that can be verified when constructing a +

    Fields§

    §validator_index: ValidatorIndex

    The voting validator index.

    +
    §signature: ValidatorSignature

    The validator signature, that can be verified when constructing a SignedDisputeStatement.

    -
    §kind: InvalidDisputeStatementKind

    Kind of dispute statement.

    +
    §kind: InvalidDisputeStatementKind

    Kind of dispute statement.

    Trait Implementations§

    source§

    impl Clone for InvalidDisputeVote

    source§

    fn clone(&self) -> InvalidDisputeVote

    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 Debug for InvalidDisputeVote

    source§

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

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

    impl Decode for InvalidDisputeVote

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -32,8 +32,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

    Causes self to use its Binary implementation when Debug-formatted.
    §

    fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

    Causes self to use its Display implementation when Debug-formatted.
    §

    fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_primitives/disputes/struct.SignedDisputeStatement.html b/doc/polkadot_node_primitives/disputes/struct.SignedDisputeStatement.html index f752c84d6094..17df42aea19e 100644 --- a/doc/polkadot_node_primitives/disputes/struct.SignedDisputeStatement.html +++ b/doc/polkadot_node_primitives/disputes/struct.SignedDisputeStatement.html @@ -1,38 +1,38 @@ SignedDisputeStatement in polkadot_node_primitives::disputes - Rust
    pub struct SignedDisputeStatement { /* private fields */ }
    Expand description

    A checked dispute statement from an associated validator.

    Implementations§

    source§

    impl SignedDisputeStatement

    source

    pub fn new_unchecked_from_trusted_source( - dispute_statement: DisputeStatement, + dispute_statement: DisputeStatement, candidate_hash: CandidateHash, session_index: SessionIndex, - validator_public: ValidatorId, - validator_signature: ValidatorSignature + validator_public: ValidatorId, + validator_signature: ValidatorSignature ) -> Self

    Create a new SignedDisputeStatement from information that is available on-chain, and hence already can be trusted.

    Attention: Not to be used other than with guaranteed fetches.

    source

    pub fn new_checked( - dispute_statement: DisputeStatement, + dispute_statement: DisputeStatement, candidate_hash: CandidateHash, session_index: SessionIndex, - validator_public: ValidatorId, - validator_signature: ValidatorSignature + validator_public: ValidatorId, + validator_signature: ValidatorSignature ) -> Result<Self, ()>

    Create a new SignedDisputeStatement, which is only possible by checking the signature.

    source

    pub fn sign_explicit( keystore: &KeystorePtr, valid: bool, candidate_hash: CandidateHash, session_index: SessionIndex, - validator_public: ValidatorId + validator_public: ValidatorId ) -> Result<Option<Self>, KeystoreError>

    Sign this statement with the given keystore and key. Pass valid = true to indicate validity of the candidate, and valid = false to indicate invalidity.

    -
    source

    pub fn statement(&self) -> &DisputeStatement

    Access the underlying dispute statement

    +
    source

    pub fn statement(&self) -> &DisputeStatement

    Access the underlying dispute statement

    source

    pub fn candidate_hash(&self) -> &CandidateHash

    Access the underlying candidate hash.

    -
    source

    pub fn validator_public(&self) -> &ValidatorId

    Access the underlying validator public key.

    -
    source

    pub fn validator_signature(&self) -> &ValidatorSignature

    Access the underlying validator signature.

    -
    source

    pub fn into_validator_signature(self) -> ValidatorSignature

    Consume self to return the signature.

    +
    source

    pub fn validator_public(&self) -> &ValidatorId

    Access the underlying validator public key.

    +
    source

    pub fn validator_signature(&self) -> &ValidatorSignature

    Access the underlying validator signature.

    +
    source

    pub fn into_validator_signature(self) -> ValidatorSignature

    Consume self to return the signature.

    source

    pub fn session_index(&self) -> SessionIndex

    Access the underlying session index.

    source

    pub fn from_backing_statement( backing_statement: &UncheckedSignedFullStatement, - signing_context: SigningContext, - validator_public: ValidatorId + signing_context: SigningContext, + validator_public: ValidatorId ) -> Result<Self, ()>

    Convert a [SignedFullStatement] to a SignedDisputeStatement

    As [SignedFullStatement] contains only the validator index and not the validator public key, the public key must be passed as well, diff --git a/doc/polkadot_node_primitives/disputes/struct.UncheckedDisputeMessage.html b/doc/polkadot_node_primitives/disputes/struct.UncheckedDisputeMessage.html index 2bdfc10cb8cb..5e990ebed0a3 100644 --- a/doc/polkadot_node_primitives/disputes/struct.UncheckedDisputeMessage.html +++ b/doc/polkadot_node_primitives/disputes/struct.UncheckedDisputeMessage.html @@ -1,17 +1,17 @@ UncheckedDisputeMessage in polkadot_node_primitives::disputes - Rust

    pub struct UncheckedDisputeMessage {
    -    pub candidate_receipt: CandidateReceipt,
    +    pub candidate_receipt: CandidateReceipt,
         pub session_index: SessionIndex,
         pub invalid_vote: InvalidDisputeVote,
         pub valid_vote: ValidDisputeVote,
     }
    Expand description

    A DisputeMessage where signatures of statements have not yet been checked.

    -

    Fields§

    §candidate_receipt: CandidateReceipt

    The candidate being disputed.

    +

    Fields§

    §candidate_receipt: CandidateReceipt

    The candidate being disputed.

    §session_index: SessionIndex

    The session the candidate appears in.

    §invalid_vote: InvalidDisputeVote

    The invalid vote data that makes up this dispute.

    §valid_vote: ValidDisputeVote

    The valid vote that makes this dispute request valid.

    Implementations§

    source§

    impl UncheckedDisputeMessage

    source

    pub fn try_into_signed_votes( self, - session_info: &SessionInfo -) -> Result<(CandidateReceipt, (SignedDisputeStatement, ValidatorIndex), (SignedDisputeStatement, ValidatorIndex)), ()>

    Try to recover the two signed dispute votes from an UncheckedDisputeMessage.

    + session_info: &SessionInfo +) -> Result<(CandidateReceipt, (SignedDisputeStatement, ValidatorIndex), (SignedDisputeStatement, ValidatorIndex)), ()>

    Try to recover the two signed dispute votes from an UncheckedDisputeMessage.

    Trait Implementations§

    source§

    impl Clone for UncheckedDisputeMessage

    source§

    fn clone(&self) -> UncheckedDisputeMessage

    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 Debug for UncheckedDisputeMessage

    source§

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

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

    impl Decode for UncheckedDisputeMessage

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -37,8 +37,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

    Causes self to use its Binary implementation when Debug-formatted.
    §

    fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

    Causes self to use its Display implementation when Debug-formatted.
    §

    fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_primitives/disputes/struct.ValidCandidateVotes.html b/doc/polkadot_node_primitives/disputes/struct.ValidCandidateVotes.html index 5be744175927..bea981abb0c7 100644 --- a/doc/polkadot_node_primitives/disputes/struct.ValidCandidateVotes.html +++ b/doc/polkadot_node_primitives/disputes/struct.ValidCandidateVotes.html @@ -3,24 +3,24 @@

    Implementations§

    source§

    impl ValidCandidateVotes

    source

    pub fn new() -> Self

    Create new empty ValidCandidateVotes

    source

    pub fn insert_vote( &mut self, - validator_index: ValidatorIndex, - kind: ValidDisputeStatementKind, - sig: ValidatorSignature + validator_index: ValidatorIndex, + kind: ValidDisputeStatementKind, + sig: ValidatorSignature ) -> bool

    Insert a vote, replacing any already existing vote.

    Except, for backing votes: Backing votes are always kept, and will never get overridden. Import of other king of valid votes, will be ignored if a backing vote is already present. Any already existing valid vote, will be overridden by any given backing vote.

    Returns: true, if the insert had any effect.

    source

    pub fn retain<F>(&mut self, f: F)where - F: FnMut(&ValidatorIndex, &mut (ValidDisputeStatementKind, ValidatorSignature)) -> bool,

    Retain any votes that match the given criteria.

    + F: FnMut(&ValidatorIndex, &mut (ValidDisputeStatementKind, ValidatorSignature)) -> bool,

    Retain any votes that match the given criteria.

    source

    pub fn keys( &self -) -> Bkeys<'_, ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature)>

    Get all the validator indeces we have votes for.

    +) -> Bkeys<'_, ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature)>

    Get all the validator indeces we have votes for.

    source

    pub fn raw( &self -) -> &BTreeMap<ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature)>

    Get read only direct access to underlying map.

    -

    Trait Implementations§

    source§

    impl Clone for ValidCandidateVotes

    source§

    fn clone(&self) -> ValidCandidateVotes

    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 Debug for ValidCandidateVotes

    source§

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

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

    impl From<ValidCandidateVotes> for BTreeMap<ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature)>

    source§

    fn from(wrapped: ValidCandidateVotes) -> Self

    Converts to this type from the input type.
    source§

    impl FromIterator<(ValidatorIndex, (ValidDisputeStatementKind, Signature))> for ValidCandidateVotes

    source§

    fn from_iter<T>(iter: T) -> Selfwhere - T: IntoIterator<Item = (ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature))>,

    Creates a value from an iterator. Read more
    source§

    impl IntoIterator for ValidCandidateVotes

    §

    type Item = (ValidatorIndex, (ValidDisputeStatementKind, Signature))

    The type of the elements being iterated over.
    §

    type IntoIter = <BTreeMap<ValidatorIndex, (ValidDisputeStatementKind, Signature), Global> as IntoIterator>::IntoIter

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +) -> &BTreeMap<ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature)>

    Get read only direct access to underlying map.

    +

    Trait Implementations§

    source§

    impl Clone for ValidCandidateVotes

    source§

    fn clone(&self) -> ValidCandidateVotes

    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 Debug for ValidCandidateVotes

    source§

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

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

    impl From<ValidCandidateVotes> for BTreeMap<ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature)>

    source§

    fn from(wrapped: ValidCandidateVotes) -> Self

    Converts to this type from the input type.
    source§

    impl FromIterator<(ValidatorIndex, (ValidDisputeStatementKind, Signature))> for ValidCandidateVotes

    source§

    fn from_iter<T>(iter: T) -> Selfwhere + T: IntoIterator<Item = (ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature))>,

    Creates a value from an iterator. Read more
    source§

    impl IntoIterator for ValidCandidateVotes

    §

    type Item = (ValidatorIndex, (ValidDisputeStatementKind, Signature))

    The type of the elements being iterated over.
    §

    type IntoIter = <BTreeMap<ValidatorIndex, (ValidDisputeStatementKind, Signature), Global> as IntoIterator>::IntoIter

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<I> BidiIterator for Iwhere I: IntoIterator, <I as IntoIterator>::IntoIter: DoubleEndedIterator,

    §

    fn bidi(self, cond: bool) -> Bidi<Self::IntoIter>

    Conditionally reverses the direction of iteration. Read more
    source§

    impl<T> Borrow<T> for Twhere diff --git a/doc/polkadot_node_primitives/disputes/struct.ValidDisputeVote.html b/doc/polkadot_node_primitives/disputes/struct.ValidDisputeVote.html index 489c06c22b68..05f94136d5cc 100644 --- a/doc/polkadot_node_primitives/disputes/struct.ValidDisputeVote.html +++ b/doc/polkadot_node_primitives/disputes/struct.ValidDisputeVote.html @@ -1,12 +1,12 @@ ValidDisputeVote in polkadot_node_primitives::disputes - Rust
    pub struct ValidDisputeVote {
    -    pub validator_index: ValidatorIndex,
    -    pub signature: ValidatorSignature,
    -    pub kind: ValidDisputeStatementKind,
    +    pub validator_index: ValidatorIndex,
    +    pub signature: ValidatorSignature,
    +    pub kind: ValidDisputeStatementKind,
     }
    Expand description

    Any valid vote (backing, approval, explicit).

    -

    Fields§

    §validator_index: ValidatorIndex

    The voting validator index.

    -
    §signature: ValidatorSignature

    The validator signature, that can be verified when constructing a +

    Fields§

    §validator_index: ValidatorIndex

    The voting validator index.

    +
    §signature: ValidatorSignature

    The validator signature, that can be verified when constructing a SignedDisputeStatement.

    -
    §kind: ValidDisputeStatementKind

    Kind of dispute statement.

    +
    §kind: ValidDisputeStatementKind

    Kind of dispute statement.

    Trait Implementations§

    source§

    impl Clone for ValidDisputeVote

    source§

    fn clone(&self) -> ValidDisputeVote

    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 Debug for ValidDisputeVote

    source§

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

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

    impl Decode for ValidDisputeVote

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -32,8 +32,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

    Causes self to use its Binary implementation when Debug-formatted.
    §

    fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

    Causes self to use its Display implementation when Debug-formatted.
    §

    fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_primitives/disputes/type.InvalidVoteData.html b/doc/polkadot_node_primitives/disputes/type.InvalidVoteData.html index 8ab6ec08234a..136807d72d79 100644 --- a/doc/polkadot_node_primitives/disputes/type.InvalidVoteData.html +++ b/doc/polkadot_node_primitives/disputes/type.InvalidVoteData.html @@ -1,2 +1,2 @@ -InvalidVoteData in polkadot_node_primitives::disputes - Rust
    pub type InvalidVoteData = (ValidatorIndex, (InvalidDisputeStatementKind, ValidatorSignature));
    Expand description

    Type alias for retrieving invalid votes from CandidateVotes

    +InvalidVoteData in polkadot_node_primitives::disputes - Rust
    pub type InvalidVoteData = (ValidatorIndex, (InvalidDisputeStatementKind, ValidatorSignature));
    Expand description

    Type alias for retrieving invalid votes from CandidateVotes

    \ No newline at end of file diff --git a/doc/polkadot_node_primitives/disputes/type.ValidVoteData.html b/doc/polkadot_node_primitives/disputes/type.ValidVoteData.html index c5c8a2bce10a..76181eabbfb3 100644 --- a/doc/polkadot_node_primitives/disputes/type.ValidVoteData.html +++ b/doc/polkadot_node_primitives/disputes/type.ValidVoteData.html @@ -1,2 +1,2 @@ -ValidVoteData in polkadot_node_primitives::disputes - Rust
    pub type ValidVoteData = (ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature));
    Expand description

    Type alias for retrieving valid votes from CandidateVotes

    +ValidVoteData in polkadot_node_primitives::disputes - Rust
    pub type ValidVoteData = (ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature));
    Expand description

    Type alias for retrieving valid votes from CandidateVotes

    \ No newline at end of file diff --git a/doc/polkadot_node_primitives/enum.BabeAllowedSlots.html b/doc/polkadot_node_primitives/enum.BabeAllowedSlots.html index a4b0d01a34cd..edd038314894 100644 --- a/doc/polkadot_node_primitives/enum.BabeAllowedSlots.html +++ b/doc/polkadot_node_primitives/enum.BabeAllowedSlots.html @@ -44,8 +44,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/enum.MaybeCompressedPoV.html b/doc/polkadot_node_primitives/enum.MaybeCompressedPoV.html index 5232db80a975..f238e41060e6 100644 --- a/doc/polkadot_node_primitives/enum.MaybeCompressedPoV.html +++ b/doc/polkadot_node_primitives/enum.MaybeCompressedPoV.html @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

    Causes self to use its Binary implementation when Debug-formatted.
    §

    fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

    Causes self to use its Display implementation when Debug-formatted.
    §

    fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_primitives/enum.Statement.html b/doc/polkadot_node_primitives/enum.Statement.html index f054dce6c3d5..e81db8f37a08 100644 --- a/doc/polkadot_node_primitives/enum.Statement.html +++ b/doc/polkadot_node_primitives/enum.Statement.html @@ -1,17 +1,17 @@ Statement in polkadot_node_primitives - Rust
    pub enum Statement {
    -    Seconded(CommittedCandidateReceipt),
    +    Seconded(CommittedCandidateReceipt),
         Valid(CandidateHash),
     }
    Expand description

    A statement, where the candidate receipt is included in the Seconded variant.

    This is the committed candidate receipt instead of the bare candidate receipt. As such, it gives access to the commitments to validators who have not executed the candidate. This is necessary to allow a block-producing validator to include candidates from outside the para it is assigned to.

    -

    Variants§

    §

    Seconded(CommittedCandidateReceipt)

    A statement that a validator seconds a candidate.

    +

    Variants§

    §

    Seconded(CommittedCandidateReceipt)

    A statement that a validator seconds a candidate.

    §

    Valid(CandidateHash)

    A statement that a validator has deemed a candidate valid.

    Implementations§

    source§

    impl Statement

    source

    pub fn candidate_hash(&self) -> CandidateHash

    Get the candidate hash referenced by this statement.

    If this is a Statement::Seconded, this does hash the candidate receipt, which may be expensive for large candidates.

    -
    source

    pub fn to_compact(&self) -> CompactStatement

    Transform this statement into its compact version, which references only the hash +

    source

    pub fn to_compact(&self) -> CompactStatement

    Transform this statement into its compact version, which references only the hash of the candidate.

    Trait Implementations§

    source§

    impl Clone for Statement

    source§

    fn clone(&self) -> Statement

    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 Debug for Statement

    source§

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

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

    impl Decode for Statement

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy @@ -24,7 +24,7 @@ &self, __codec_dest_edqy: &mut __CodecOutputEdqy )

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl EncodeAs<CompactStatement> for Statement

    source§

    fn encode_as(&self) -> Vec<u8>

    Convert Self into T, then encode T. Read more
    source§

    impl From<&Statement> for CompactStatement

    source§

    fn from(stmt: &Statement) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Statement> for Statement

    source§

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

    This method tests for self and other values to be equal, and is used + F: FnOnce(&[u8]) -> R,
    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl EncodeAs<CompactStatement> for Statement

    source§

    fn encode_as(&self) -> Vec<u8>

    Convert Self into T, then encode T. Read more
    source§

    impl From<&Statement> for CompactStatement

    source§

    fn from(stmt: &Statement) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Statement> for Statement

    source§

    fn eq(&self, other: &Statement) -> 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 sufficient, and should not be overridden without very good reason.
    source§

    impl EncodeLike<Statement> for Statement

    source§

    impl Eq for Statement

    source§

    impl StructuralEq for Statement

    source§

    impl StructuralPartialEq for Statement

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere @@ -40,8 +40,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/enum.ValidationResult.html b/doc/polkadot_node_primitives/enum.ValidationResult.html index 3b283c6c7757..ea7cc67f288d 100644 --- a/doc/polkadot_node_primitives/enum.ValidationResult.html +++ b/doc/polkadot_node_primitives/enum.ValidationResult.html @@ -1,8 +1,8 @@ ValidationResult in polkadot_node_primitives - Rust
    pub enum ValidationResult {
    -    Valid(CandidateCommitments, PersistedValidationData),
    +    Valid(CandidateCommitments, PersistedValidationData),
         Invalid(InvalidCandidate),
     }
    Expand description

    Result of the validation of the candidate.

    -

    Variants§

    §

    Valid(CandidateCommitments, PersistedValidationData)

    Candidate is valid. The validation process yields these outputs and the persisted +

    Variants§

    §

    Valid(CandidateCommitments, PersistedValidationData)

    Candidate is valid. The validation process yields these outputs and the persisted validation data used to form inputs.

    §

    Invalid(InvalidCandidate)

    Candidate is invalid.

    Trait Implementations§

    source§

    impl Debug for ValidationResult

    source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/polkadot_node_primitives/struct.AvailableData.html b/doc/polkadot_node_primitives/struct.AvailableData.html index c0402bf400c1..70befcb9ca96 100644 --- a/doc/polkadot_node_primitives/struct.AvailableData.html +++ b/doc/polkadot_node_primitives/struct.AvailableData.html @@ -1,9 +1,9 @@ AvailableData in polkadot_node_primitives - Rust
    pub struct AvailableData {
         pub pov: Arc<PoV>,
    -    pub validation_data: PersistedValidationData,
    +    pub validation_data: PersistedValidationData,
     }
    Expand description

    This is the data we keep available for each candidate included in the relay chain.

    Fields§

    §pov: Arc<PoV>

    The Proof-of-Validation of the candidate.

    -
    §validation_data: PersistedValidationData

    The persisted validation data needed for approval checks.

    +
    §validation_data: PersistedValidationData

    The persisted validation data needed for approval checks.

    Trait Implementations§

    source§

    impl Clone for AvailableData

    source§

    fn clone(&self) -> AvailableData

    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 Debug for AvailableData

    source§

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

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

    impl Decode for AvailableData

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/struct.BabeEpoch.html b/doc/polkadot_node_primitives/struct.BabeEpoch.html index aa8b39fe8914..7bf777d6d2e4 100644 --- a/doc/polkadot_node_primitives/struct.BabeEpoch.html +++ b/doc/polkadot_node_primitives/struct.BabeEpoch.html @@ -41,8 +41,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more

    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/struct.BabeEpochConfiguration.html b/doc/polkadot_node_primitives/struct.BabeEpochConfiguration.html index 7407aa028110..acb992a493e7 100644 --- a/doc/polkadot_node_primitives/struct.BabeEpochConfiguration.html +++ b/doc/polkadot_node_primitives/struct.BabeEpochConfiguration.html @@ -46,8 +46,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/struct.BlockData.html b/doc/polkadot_node_primitives/struct.BlockData.html index 01849225ccc1..c7c23660d4a9 100644 --- a/doc/polkadot_node_primitives/struct.BlockData.html +++ b/doc/polkadot_node_primitives/struct.BlockData.html @@ -36,8 +36,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/struct.Collation.html b/doc/polkadot_node_primitives/struct.Collation.html index 4a7e4158cee2..e1ed09375101 100644 --- a/doc/polkadot_node_primitives/struct.Collation.html +++ b/doc/polkadot_node_primitives/struct.Collation.html @@ -53,8 +53,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

    Causes self to use its Binary implementation when Debug-formatted.
    §

    fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

    Causes self to use its Display implementation when Debug-formatted.
    §

    fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_node_primitives/struct.CollationGenerationConfig.html b/doc/polkadot_node_primitives/struct.CollationGenerationConfig.html index 3ccd078fa7d0..b23268fc2ca1 100644 --- a/doc/polkadot_node_primitives/struct.CollationGenerationConfig.html +++ b/doc/polkadot_node_primitives/struct.CollationGenerationConfig.html @@ -1,9 +1,9 @@ CollationGenerationConfig in polkadot_node_primitives - Rust
    pub struct CollationGenerationConfig {
    -    pub key: CollatorPair,
    +    pub key: CollatorPair,
         pub collator: CollatorFn,
         pub para_id: ParaId,
     }
    Expand description

    Configuration for the collation generator

    -

    Fields§

    §key: CollatorPair

    Collator’s authentication key, so it can sign things.

    +

    Fields§

    §key: CollatorPair

    Collator’s authentication key, so it can sign things.

    §collator: CollatorFn

    Collation function. See CollatorFn for more details.

    §para_id: ParaId

    The parachain that this collator collates for

    Trait Implementations§

    source§

    impl Debug for CollationGenerationConfig

    source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/polkadot_node_primitives/struct.ErasureChunk.html b/doc/polkadot_node_primitives/struct.ErasureChunk.html index 59649a5c55f2..1daedf7822ea 100644 --- a/doc/polkadot_node_primitives/struct.ErasureChunk.html +++ b/doc/polkadot_node_primitives/struct.ErasureChunk.html @@ -1,10 +1,10 @@ ErasureChunk in polkadot_node_primitives - Rust
    pub struct ErasureChunk {
         pub chunk: Vec<u8>,
    -    pub index: ValidatorIndex,
    +    pub index: ValidatorIndex,
         pub proof: Proof,
     }
    Expand description

    A chunk of erasure-encoded block data.

    Fields§

    §chunk: Vec<u8>

    The erasure-encoded chunk of data belonging to the candidate block.

    -
    §index: ValidatorIndex

    The index of this erasure-encoded chunk of data.

    +
    §index: ValidatorIndex

    The index of this erasure-encoded chunk of data.

    §proof: Proof

    Proof for this chunk’s branch in the Merkle tree.

    Implementations§

    source§

    impl ErasureChunk

    source

    pub fn proof(&self) -> &Proof

    Convert bounded Vec Proof to regular Vec<Vec>

    Trait Implementations§

    source§

    impl Clone for ErasureChunk

    source§

    fn clone(&self) -> ErasureChunk

    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 Debug for ErasureChunk

    source§

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

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

    impl Decode for ErasureChunk

    source§

    fn decode<__CodecInputEdqy: Input>( @@ -41,8 +41,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/struct.PoV.html b/doc/polkadot_node_primitives/struct.PoV.html index 5b2b8aeb7a8f..9c01c4c4ebad 100644 --- a/doc/polkadot_node_primitives/struct.PoV.html +++ b/doc/polkadot_node_primitives/struct.PoV.html @@ -29,8 +29,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more

    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/struct.Proof.html b/doc/polkadot_node_primitives/struct.Proof.html index f52efc0bc4ed..98cacfa73ce3 100644 --- a/doc/polkadot_node_primitives/struct.Proof.html +++ b/doc/polkadot_node_primitives/struct.Proof.html @@ -31,8 +31,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_node_primitives/type.CollatorFn.html b/doc/polkadot_node_primitives/type.CollatorFn.html index bc10ccaba5c5..79ed3d3b4ba9 100644 --- a/doc/polkadot_node_primitives/type.CollatorFn.html +++ b/doc/polkadot_node_primitives/type.CollatorFn.html @@ -1,4 +1,4 @@ -CollatorFn in polkadot_node_primitives - Rust

    Type Definition polkadot_node_primitives::CollatorFn

    source ·
    pub type CollatorFn = Box<dyn Fn(Hash, &PersistedValidationData) -> Pin<Box<dyn Future<Output = Option<CollationResult>> + Send>> + Send + Sync>;
    Expand description

    Collation function.

    +CollatorFn in polkadot_node_primitives - Rust

    Type Definition polkadot_node_primitives::CollatorFn

    source ·
    pub type CollatorFn = Box<dyn Fn(Hash, &PersistedValidationData) -> Pin<Box<dyn Future<Output = Option<CollationResult>> + Send>> + Send + Sync>;
    Expand description

    Collation function.

    Will be called with the hash of the relay chain block the parachain block should be build on and the [ValidationData] that provides information about the state of the parachain on the relay chain.

    diff --git a/doc/polkadot_node_primitives/type.SignedFullStatement.html b/doc/polkadot_node_primitives/type.SignedFullStatement.html index 08ac609a3cf4..b8d935d6ac13 100644 --- a/doc/polkadot_node_primitives/type.SignedFullStatement.html +++ b/doc/polkadot_node_primitives/type.SignedFullStatement.html @@ -1,4 +1,4 @@ -SignedFullStatement in polkadot_node_primitives - Rust
    pub type SignedFullStatement = Signed<Statement, CompactStatement>;
    Expand description

    A statement, the corresponding signature, and the index of the sender.

    +SignedFullStatement in polkadot_node_primitives - Rust
    pub type SignedFullStatement = Signed<Statement, CompactStatement>;
    Expand description

    A statement, the corresponding signature, and the index of the sender.

    Signing context and validator set should be apparent from context.

    This statement is “full” in the sense that the Seconded variant includes the candidate receipt. Only the compact SignedStatement is suitable for submission to the chain.

    diff --git a/doc/polkadot_node_primitives/type.UncheckedSignedFullStatement.html b/doc/polkadot_node_primitives/type.UncheckedSignedFullStatement.html index b596849f5d0b..f51469213b43 100644 --- a/doc/polkadot_node_primitives/type.UncheckedSignedFullStatement.html +++ b/doc/polkadot_node_primitives/type.UncheckedSignedFullStatement.html @@ -1,2 +1,2 @@ -UncheckedSignedFullStatement in polkadot_node_primitives - Rust
    pub type UncheckedSignedFullStatement = UncheckedSigned<Statement, CompactStatement>;
    Expand description

    Variant of SignedFullStatement where the signature has not yet been verified.

    +UncheckedSignedFullStatement in polkadot_node_primitives - Rust
    pub type UncheckedSignedFullStatement = UncheckedSigned<Statement, CompactStatement>;
    Expand description

    Variant of SignedFullStatement where the signature has not yet been verified.

    \ No newline at end of file diff --git a/doc/polkadot_node_subsystem_types/enum.Span.html b/doc/polkadot_node_subsystem_types/enum.Span.html index 93fdb6dad201..9c5f4eaa86e6 100644 --- a/doc/polkadot_node_subsystem_types/enum.Span.html +++ b/doc/polkadot_node_subsystem_types/enum.Span.html @@ -22,9 +22,9 @@

    pub fn with_para_id(self, para_id: Id) -> Span

    Attach a para-id to the span.

    pub fn with_stage(self, stage: Stage) -> Span

    Attach a candidate stage. Should always come with a CandidateHash.

    -

    pub fn with_validator_index(self, validator: ValidatorIndex) -> Span

    pub fn with_chunk_index(self, chunk_index: u32) -> Span

    pub fn with_relay_parent(self, relay_parent: H256) -> Span

    pub fn with_claimed_validator_index( +

    pub fn with_validator_index(self, validator: ValidatorIndex) -> Span

    pub fn with_chunk_index(self, chunk_index: u32) -> Span

    pub fn with_relay_parent(self, relay_parent: H256) -> Span

    pub fn with_claimed_validator_index( self, - claimed_validator_index: ValidatorIndex + claimed_validator_index: ValidatorIndex ) -> Span

    pub fn with_pov(self, pov: &PoV) -> Span

    pub fn with_int_tag(self, tag: &'static str, i: i64) -> Span

    Add an additional int tag to the span without consuming.

    Should be used sparingly, introduction of new types is preferred.

    pub fn with_uint_tag(self, tag: &'static str, u: u64) -> Span

    pub fn with_string_fmt_debug_tag<V>(self, tag: &'static str, val: V) -> Spanwhere diff --git a/doc/polkadot_node_subsystem_types/messages/enum.ApprovalCheckError.html b/doc/polkadot_node_subsystem_types/messages/enum.ApprovalCheckError.html index 0659c1bec1de..046c3f7042ab 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.ApprovalCheckError.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.ApprovalCheckError.html @@ -1,14 +1,14 @@ ApprovalCheckError in polkadot_node_subsystem_types::messages - Rust
    pub enum ApprovalCheckError {
         UnknownBlock(Hash),
         UnknownSessionIndex(SessionIndex),
    -    InvalidCandidateIndex(CandidateIndex),
    -    InvalidValidatorIndex(ValidatorIndex),
    -    InvalidCandidate(CandidateIndex, CandidateHash),
    -    InvalidSignature(ValidatorIndex),
    -    NoAssignment(ValidatorIndex),
    +    InvalidCandidateIndex(CandidateIndex),
    +    InvalidValidatorIndex(ValidatorIndex),
    +    InvalidCandidate(CandidateIndex, CandidateHash),
    +    InvalidSignature(ValidatorIndex),
    +    NoAssignment(ValidatorIndex),
         Internal(Hash, CandidateHash),
     }
    Expand description

    The error result type of ApprovalVotingMessage::CheckAndImportApproval request.

    -

    Variants§

    §

    UnknownBlock(Hash)

    §

    UnknownSessionIndex(SessionIndex)

    §

    InvalidCandidateIndex(CandidateIndex)

    §

    InvalidValidatorIndex(ValidatorIndex)

    §

    InvalidCandidate(CandidateIndex, CandidateHash)

    §

    InvalidSignature(ValidatorIndex)

    §

    NoAssignment(ValidatorIndex)

    §

    Internal(Hash, CandidateHash)

    Trait Implementations§

    source§

    impl Clone for ApprovalCheckError

    source§

    fn clone(&self) -> ApprovalCheckError

    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 Debug for ApprovalCheckError

    source§

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

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

    impl Display for ApprovalCheckError

    source§

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

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

    impl Error for ApprovalCheckError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl PartialEq<ApprovalCheckError> for ApprovalCheckError

    source§

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

    This method tests for self and other values to be equal, and is used +

    Variants§

    §

    UnknownBlock(Hash)

    §

    UnknownSessionIndex(SessionIndex)

    §

    InvalidCandidateIndex(CandidateIndex)

    §

    InvalidValidatorIndex(ValidatorIndex)

    §

    InvalidCandidate(CandidateIndex, CandidateHash)

    §

    InvalidSignature(ValidatorIndex)

    §

    NoAssignment(ValidatorIndex)

    §

    Internal(Hash, CandidateHash)

    Trait Implementations§

    source§

    impl Clone for ApprovalCheckError

    source§

    fn clone(&self) -> ApprovalCheckError

    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 Debug for ApprovalCheckError

    source§

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

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

    impl Display for ApprovalCheckError

    source§

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

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

    impl Error for ApprovalCheckError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl PartialEq<ApprovalCheckError> for ApprovalCheckError

    source§

    fn eq(&self, other: &ApprovalCheckError) -> 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 sufficient, and should not be overridden without very good reason.
    source§

    impl Eq for ApprovalCheckError

    source§

    impl StructuralEq for ApprovalCheckError

    source§

    impl StructuralPartialEq for ApprovalCheckError

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> Any for Twhere diff --git a/doc/polkadot_node_subsystem_types/messages/enum.ApprovalDistributionMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.ApprovalDistributionMessage.html index 23d26611087e..b88369072cc3 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.ApprovalDistributionMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.ApprovalDistributionMessage.html @@ -1,20 +1,20 @@ ApprovalDistributionMessage in polkadot_node_subsystem_types::messages - Rust
    pub enum ApprovalDistributionMessage {
         NewBlocks(Vec<BlockApprovalMeta>),
    -    DistributeAssignment(IndirectAssignmentCert, CandidateIndex),
    +    DistributeAssignment(IndirectAssignmentCert, CandidateIndex),
         DistributeApproval(IndirectSignedApprovalVote),
         NetworkBridgeUpdate(NetworkBridgeEvent<ApprovalDistributionMessage>),
    -    GetApprovalSignatures(HashSet<(Hash, CandidateIndex)>, Sender<HashMap<ValidatorIndex, ValidatorSignature>>),
    +    GetApprovalSignatures(HashSet<(Hash, CandidateIndex)>, Sender<HashMap<ValidatorIndex, ValidatorSignature>>),
         ApprovalCheckingLagUpdate(BlockNumber),
     }
    Expand description

    Message to the Approval Distribution subsystem.

    Variants§

    §

    NewBlocks(Vec<BlockApprovalMeta>)

    Notify the ApprovalDistribution subsystem about new blocks and the candidates contained within them.

    -
    §

    DistributeAssignment(IndirectAssignmentCert, CandidateIndex)

    Distribute an assignment cert from the local validator. The cert is assumed +

    §

    DistributeAssignment(IndirectAssignmentCert, CandidateIndex)

    Distribute an assignment cert from the local validator. The cert is assumed to be valid, relevant, and for the given relay-parent and validator index.

    §

    DistributeApproval(IndirectSignedApprovalVote)

    Distribute an approval vote for the local validator. The approval vote is assumed to be valid, relevant, and the corresponding approval already issued. If not, the subsystem is free to drop the message.

    §

    NetworkBridgeUpdate(NetworkBridgeEvent<ApprovalDistributionMessage>)

    An update from the network bridge.

    -
    §

    GetApprovalSignatures(HashSet<(Hash, CandidateIndex)>, Sender<HashMap<ValidatorIndex, ValidatorSignature>>)

    Get all approval signatures for all chains a candidate appeared in.

    +
    §

    GetApprovalSignatures(HashSet<(Hash, CandidateIndex)>, Sender<HashMap<ValidatorIndex, ValidatorSignature>>)

    Get all approval signatures for all chains a candidate appeared in.

    §

    ApprovalCheckingLagUpdate(BlockNumber)

    Approval checking lag update measured in blocks.

    Trait Implementations§

    source§

    impl Debug for ApprovalDistributionMessage

    source§

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

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

    impl From<NetworkBridgeEvent<Versioned<ApprovalDistributionMessage>>> for ApprovalDistributionMessage

    source§

    fn from( original: NetworkBridgeEvent<ApprovalDistributionMessage> diff --git a/doc/polkadot_node_subsystem_types/messages/enum.ApprovalVotingMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.ApprovalVotingMessage.html index d02f70d72ec9..19123a1dd016 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.ApprovalVotingMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.ApprovalVotingMessage.html @@ -1,10 +1,10 @@ ApprovalVotingMessage in polkadot_node_subsystem_types::messages - Rust
    pub enum ApprovalVotingMessage {
    -    CheckAndImportAssignment(IndirectAssignmentCert, CandidateIndex, Sender<AssignmentCheckResult>),
    +    CheckAndImportAssignment(IndirectAssignmentCert, CandidateIndex, Sender<AssignmentCheckResult>),
         CheckAndImportApproval(IndirectSignedApprovalVote, Sender<ApprovalCheckResult>),
         ApprovedAncestor(Hash, BlockNumber, Sender<Option<HighestApprovedAncestorBlock>>),
    -    GetApprovalSignaturesForCandidate(CandidateHash, Sender<HashMap<ValidatorIndex, ValidatorSignature>>),
    +    GetApprovalSignaturesForCandidate(CandidateHash, Sender<HashMap<ValidatorIndex, ValidatorSignature>>),
     }
    Expand description

    Message to the Approval Voting subsystem.

    -

    Variants§

    §

    CheckAndImportAssignment(IndirectAssignmentCert, CandidateIndex, Sender<AssignmentCheckResult>)

    Check if the assignment is valid and can be accepted by our view of the protocol. +

    Variants§

    §

    CheckAndImportAssignment(IndirectAssignmentCert, CandidateIndex, Sender<AssignmentCheckResult>)

    Check if the assignment is valid and can be accepted by our view of the protocol. Should not be sent unless the block hash is known.

    §

    CheckAndImportApproval(IndirectSignedApprovalVote, Sender<ApprovalCheckResult>)

    Check if the approval vote is valid and can be accepted by our view of the protocol.

    @@ -15,7 +15,7 @@ earliest possible vote.

    It can also return the same block hash, if that is acceptable to vote upon. Return None if the input hash is unrecognized.

    -
    §

    GetApprovalSignaturesForCandidate(CandidateHash, Sender<HashMap<ValidatorIndex, ValidatorSignature>>)

    Retrieve all available approval signatures for a candidate from approval-voting.

    +
    §

    GetApprovalSignaturesForCandidate(CandidateHash, Sender<HashMap<ValidatorIndex, ValidatorSignature>>)

    Retrieve all available approval signatures for a candidate from approval-voting.

    This message involves a linear search for candidates on each relay chain fork and also requires calling into approval-distribution: Calls should be infrequent and bounded.

    Trait Implementations§

    source§

    impl Debug for ApprovalVotingMessage

    source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/polkadot_node_subsystem_types/messages/enum.AssignmentCheckError.html b/doc/polkadot_node_subsystem_types/messages/enum.AssignmentCheckError.html index a4322843267c..b2a2eaeab355 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.AssignmentCheckError.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.AssignmentCheckError.html @@ -1,12 +1,12 @@ AssignmentCheckError in polkadot_node_subsystem_types::messages - Rust
    pub enum AssignmentCheckError {
         UnknownBlock(Hash),
         UnknownSessionIndex(SessionIndex),
    -    InvalidCandidateIndex(CandidateIndex),
    -    InvalidCandidate(CandidateIndex, CandidateHash),
    -    InvalidCert(ValidatorIndex, String),
    +    InvalidCandidateIndex(CandidateIndex),
    +    InvalidCandidate(CandidateIndex, CandidateHash),
    +    InvalidCert(ValidatorIndex, String),
         Internal(Hash, CandidateHash),
     }
    Expand description

    The error result type of ApprovalVotingMessage::CheckAndImportAssignment request.

    -

    Variants§

    §

    UnknownBlock(Hash)

    §

    UnknownSessionIndex(SessionIndex)

    §

    InvalidCandidateIndex(CandidateIndex)

    §

    InvalidCandidate(CandidateIndex, CandidateHash)

    §

    InvalidCert(ValidatorIndex, String)

    §

    Internal(Hash, CandidateHash)

    Trait Implementations§

    source§

    impl Clone for AssignmentCheckError

    source§

    fn clone(&self) -> AssignmentCheckError

    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 Debug for AssignmentCheckError

    source§

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

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

    impl Display for AssignmentCheckError

    source§

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

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

    impl Error for AssignmentCheckError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl PartialEq<AssignmentCheckError> for AssignmentCheckError

    source§

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

    This method tests for self and other values to be equal, and is used +

    Variants§

    §

    UnknownBlock(Hash)

    §

    UnknownSessionIndex(SessionIndex)

    §

    InvalidCandidateIndex(CandidateIndex)

    §

    InvalidCandidate(CandidateIndex, CandidateHash)

    §

    InvalidCert(ValidatorIndex, String)

    §

    Internal(Hash, CandidateHash)

    Trait Implementations§

    source§

    impl Clone for AssignmentCheckError

    source§

    fn clone(&self) -> AssignmentCheckError

    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 Debug for AssignmentCheckError

    source§

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

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

    impl Display for AssignmentCheckError

    source§

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

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

    impl Error for AssignmentCheckError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, demand: &mut Demand<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl PartialEq<AssignmentCheckError> for AssignmentCheckError

    source§

    fn eq(&self, other: &AssignmentCheckError) -> 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 sufficient, and should not be overridden without very good reason.
    source§

    impl Eq for AssignmentCheckError

    source§

    impl StructuralEq for AssignmentCheckError

    source§

    impl StructuralPartialEq for AssignmentCheckError

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> Any for Twhere diff --git a/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityDistributionMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityDistributionMessage.html index 9b40bbc91e5a..129476259609 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityDistributionMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityDistributionMessage.html @@ -1,7 +1,7 @@ AvailabilityDistributionMessage in polkadot_node_subsystem_types::messages - Rust
    pub enum AvailabilityDistributionMessage {
         FetchPoV {
             relay_parent: Hash,
    -        from_validator: ValidatorIndex,
    +        from_validator: ValidatorIndex,
             para_id: ParaId,
             candidate_hash: CandidateHash,
             pov_hash: Hash,
    @@ -9,7 +9,7 @@
         },
     }
    Expand description

    Availability Distribution Message.

    Variants§

    §

    FetchPoV

    Fields

    §relay_parent: Hash

    The relay parent giving the necessary context.

    -
    §from_validator: ValidatorIndex

    Validator to fetch the PoV from.

    +
    §from_validator: ValidatorIndex

    Validator to fetch the PoV from.

    §para_id: ParaId

    The id of the parachain that produced this PoV. This field is only used to provide more context when logging errors from the AvailabilityDistribution subsystem.

    diff --git a/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityRecoveryMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityRecoveryMessage.html index bd1b585df8a6..a4b1cd9ae571 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityRecoveryMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityRecoveryMessage.html @@ -1,9 +1,9 @@ AvailabilityRecoveryMessage in polkadot_node_subsystem_types::messages - Rust
    pub enum AvailabilityRecoveryMessage {
    -    RecoverAvailableData(CandidateReceipt, SessionIndex, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>),
    +    RecoverAvailableData(CandidateReceipt, SessionIndex, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>),
     }
    Expand description

    Availability Recovery Message.

    -

    Variants§

    §

    RecoverAvailableData(CandidateReceipt, SessionIndex, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>)

    Recover available data from validators on the network.

    -

    Trait Implementations§

    source§

    impl Debug for AvailabilityRecoveryMessage

    source§

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

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

    impl From<(CandidateReceipt<H256>, u32, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>)> for AvailabilityRecoveryMessage

    source§

    fn from( - original: (CandidateReceipt, SessionIndex, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>) +

    Variants§

    §

    RecoverAvailableData(CandidateReceipt, SessionIndex, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>)

    Recover available data from validators on the network.

    +

    Trait Implementations§

    source§

    impl Debug for AvailabilityRecoveryMessage

    source§

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

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

    impl From<(CandidateReceipt<H256>, u32, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>)> for AvailabilityRecoveryMessage

    source§

    fn from( + original: (CandidateReceipt, SessionIndex, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>) ) -> AvailabilityRecoveryMessage

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> Any for Twhere T: Any,

    §

    fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>

    §

    fn type_name(&self) -> &'static str

    §

    impl<T> AnySync for Twhere diff --git a/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityStoreMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityStoreMessage.html index 8caac731041e..c4c443392426 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityStoreMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.AvailabilityStoreMessage.html @@ -1,10 +1,10 @@ AvailabilityStoreMessage in polkadot_node_subsystem_types::messages - Rust
    pub enum AvailabilityStoreMessage {
         QueryAvailableData(CandidateHash, Sender<Option<AvailableData>>),
         QueryDataAvailability(CandidateHash, Sender<bool>),
    -    QueryChunk(CandidateHash, ValidatorIndex, Sender<Option<ErasureChunk>>),
    +    QueryChunk(CandidateHash, ValidatorIndex, Sender<Option<ErasureChunk>>),
         QueryChunkSize(CandidateHash, Sender<Option<usize>>),
         QueryAllChunks(CandidateHash, Sender<Vec<ErasureChunk>>),
    -    QueryChunkAvailability(CandidateHash, ValidatorIndex, Sender<bool>),
    +    QueryChunkAvailability(CandidateHash, ValidatorIndex, Sender<bool>),
         StoreChunk {
             candidate_hash: CandidateHash,
             chunk: ErasureChunk,
    @@ -23,10 +23,10 @@
     

    This is useful in cases when existence matters, but we don’t want to necessarily pass around multiple megabytes of data to get a single bit of information.

    -
    §

    QueryChunk(CandidateHash, ValidatorIndex, Sender<Option<ErasureChunk>>)

    Query an ErasureChunk from the AV store by the candidate hash and validator index.

    +
    §

    QueryChunk(CandidateHash, ValidatorIndex, Sender<Option<ErasureChunk>>)

    Query an ErasureChunk from the AV store by the candidate hash and validator index.

    §

    QueryChunkSize(CandidateHash, Sender<Option<usize>>)

    Get the size of an ErasureChunk from the AV store by the candidate hash.

    §

    QueryAllChunks(CandidateHash, Sender<Vec<ErasureChunk>>)

    Query all chunks that we have for the given candidate hash.

    -
    §

    QueryChunkAvailability(CandidateHash, ValidatorIndex, Sender<bool>)

    Query whether an ErasureChunk exists within the AV Store.

    +
    §

    QueryChunkAvailability(CandidateHash, ValidatorIndex, Sender<bool>)

    Query whether an ErasureChunk exists within the AV Store.

    This is useful in cases like bitfield signing, when existence matters, but we don’t want to necessarily pass around large quantities of data to get a single bit of information.

    diff --git a/doc/polkadot_node_subsystem_types/messages/enum.BitfieldDistributionMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.BitfieldDistributionMessage.html index fe5e8aac3087..e0e0ca75ca8b 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.BitfieldDistributionMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.BitfieldDistributionMessage.html @@ -1,8 +1,8 @@ BitfieldDistributionMessage in polkadot_node_subsystem_types::messages - Rust
    pub enum BitfieldDistributionMessage {
    -    DistributeBitfield(Hash, SignedAvailabilityBitfield),
    +    DistributeBitfield(Hash, SignedAvailabilityBitfield),
         NetworkBridgeUpdate(NetworkBridgeEvent<BitfieldDistributionMessage>),
     }
    Expand description

    Bitfield distribution message.

    -

    Variants§

    §

    DistributeBitfield(Hash, SignedAvailabilityBitfield)

    Distribute a bitfield via gossip to other validators.

    +

    Variants§

    §

    DistributeBitfield(Hash, SignedAvailabilityBitfield)

    Distribute a bitfield via gossip to other validators.

    §

    NetworkBridgeUpdate(NetworkBridgeEvent<BitfieldDistributionMessage>)

    Event from the network bridge.

    Trait Implementations§

    source§

    impl Debug for BitfieldDistributionMessage

    source§

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

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

    impl From<NetworkBridgeEvent<Versioned<BitfieldDistributionMessage>>> for BitfieldDistributionMessage

    source§

    fn from( original: NetworkBridgeEvent<BitfieldDistributionMessage> diff --git a/doc/polkadot_node_subsystem_types/messages/enum.CandidateBackingMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.CandidateBackingMessage.html index 479cdec0050d..18b30dcc4995 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.CandidateBackingMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.CandidateBackingMessage.html @@ -1,11 +1,11 @@ CandidateBackingMessage in polkadot_node_subsystem_types::messages - Rust
    pub enum CandidateBackingMessage {
    -    GetBackedCandidates(Hash, Vec<CandidateHash>, Sender<Vec<BackedCandidate>>),
    -    Second(Hash, CandidateReceipt, PoV),
    +    GetBackedCandidates(Hash, Vec<CandidateHash>, Sender<Vec<BackedCandidate>>),
    +    Second(Hash, CandidateReceipt, PoV),
         Statement(Hash, SignedFullStatement),
     }
    Expand description

    Messages received by the Candidate Backing subsystem.

    -

    Variants§

    §

    GetBackedCandidates(Hash, Vec<CandidateHash>, Sender<Vec<BackedCandidate>>)

    Requests a set of backable candidates that could be backed in a child of the given +

    Variants§

    §

    GetBackedCandidates(Hash, Vec<CandidateHash>, Sender<Vec<BackedCandidate>>)

    Requests a set of backable candidates that could be backed in a child of the given relay-parent, referenced by its hash.

    -
    §

    Second(Hash, CandidateReceipt, PoV)

    Note that the Candidate Backing subsystem should second the given candidate in the context +

    §

    Second(Hash, CandidateReceipt, PoV)

    Note that the Candidate Backing subsystem should second the given candidate in the context of the given relay-parent (ref. by hash). This candidate must be validated.

    §

    Statement(Hash, SignedFullStatement)

    Note a validator’s statement about a particular candidate. Disagreements about validity must be escalated to a broader check by the Disputes Subsystem, though that escalation is diff --git a/doc/polkadot_node_subsystem_types/messages/enum.CandidateValidationMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.CandidateValidationMessage.html index 7850fba340cb..0639ff9a0fac 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.CandidateValidationMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.CandidateValidationMessage.html @@ -1,13 +1,13 @@ CandidateValidationMessage in polkadot_node_subsystem_types::messages - Rust

    pub enum CandidateValidationMessage {
    -    ValidateFromChainState(CandidateReceipt, Arc<PoV>, PvfExecTimeoutKind, Sender<Result<ValidationResult, ValidationFailed>>),
    -    ValidateFromExhaustive(PersistedValidationData, ValidationCode, CandidateReceipt, Arc<PoV>, PvfExecTimeoutKind, Sender<Result<ValidationResult, ValidationFailed>>),
    +    ValidateFromChainState(CandidateReceipt, Arc<PoV>, PvfExecTimeoutKind, Sender<Result<ValidationResult, ValidationFailed>>),
    +    ValidateFromExhaustive(PersistedValidationData, ValidationCode, CandidateReceipt, Arc<PoV>, PvfExecTimeoutKind, Sender<Result<ValidationResult, ValidationFailed>>),
         PreCheck(Hash, ValidationCodeHash, Sender<PreCheckOutcome>),
     }
    Expand description

    Messages received by the Validation subsystem.

    Validation Requests

    Validation requests made to the subsystem should return an error only on internal error. Otherwise, they should return either Ok(ValidationResult::Valid(_)) or Ok(ValidationResult::Invalid).

    -

    Variants§

    §

    ValidateFromChainState(CandidateReceipt, Arc<PoV>, PvfExecTimeoutKind, Sender<Result<ValidationResult, ValidationFailed>>)

    Tuple Fields

    §1: Arc<PoV>
    §2: PvfExecTimeoutKind

    Execution timeout

    +

    Variants§

    §

    ValidateFromChainState(CandidateReceipt, Arc<PoV>, PvfExecTimeoutKind, Sender<Result<ValidationResult, ValidationFailed>>)

    Tuple Fields

    §0: CandidateReceipt
    §1: Arc<PoV>
    §2: PvfExecTimeoutKind

    Execution timeout

    §3: Sender<Result<ValidationResult, ValidationFailed>>

    Validate a candidate with provided parameters using relay-chain state.

    This will implicitly attempt to gather the PersistedValidationData and ValidationCode from the runtime API of the chain, based on the relay_parent @@ -15,7 +15,7 @@

    Validation Requests<

    This will also perform checking of validation outputs against the acceptance criteria.

    If there is no state available which can provide this data or the core for the para is not free at the relay-parent, an error is returned.

    -

    §

    ValidateFromExhaustive(PersistedValidationData, ValidationCode, CandidateReceipt, Arc<PoV>, PvfExecTimeoutKind, Sender<Result<ValidationResult, ValidationFailed>>)

    Tuple Fields

    §3: Arc<PoV>
    §4: PvfExecTimeoutKind

    Execution timeout

    +
    §

    ValidateFromExhaustive(PersistedValidationData, ValidationCode, CandidateReceipt, Arc<PoV>, PvfExecTimeoutKind, Sender<Result<ValidationResult, ValidationFailed>>)

    Tuple Fields

    §0: PersistedValidationData
    §2: CandidateReceipt
    §3: Arc<PoV>
    §4: PvfExecTimeoutKind

    Execution timeout

    §5: Sender<Result<ValidationResult, ValidationFailed>>

    Validate a candidate with provided, exhaustive parameters for validation.

    Explicitly provide the PersistedValidationData and ValidationCode so this can do full validation without needing to access the state of the relay-chain.

    diff --git a/doc/polkadot_node_subsystem_types/messages/enum.CollatorProtocolMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.CollatorProtocolMessage.html index 33239c263c30..cfb75504ada5 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.CollatorProtocolMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.CollatorProtocolMessage.html @@ -1,9 +1,9 @@ CollatorProtocolMessage in polkadot_node_subsystem_types::messages - Rust
    pub enum CollatorProtocolMessage {
         CollateOn(ParaId),
    -    DistributeCollation(CandidateReceipt, PoV, Option<Sender<CollationSecondedSignal>>),
    -    ReportCollator(CollatorId),
    +    DistributeCollation(CandidateReceipt, PoV, Option<Sender<CollationSecondedSignal>>),
    +    ReportCollator(CollatorId),
         NetworkBridgeUpdate(NetworkBridgeEvent<CollatorProtocolMessage>),
    -    Invalid(Hash, CandidateReceipt),
    +    Invalid(Hash, CandidateReceipt),
         Seconded(Hash, SignedFullStatement),
     }
    Expand description

    Messages received by the Collator Protocol subsystem.

    Variants§

    §

    CollateOn(ParaId)

    Signal to the collator protocol that it should connect to validators with the expectation @@ -11,13 +11,13 @@ all, and only by the Collation Generation subsystem. As such, it will overwrite the value of the previous signal.

    This should be sent before any DistributeCollation message.

    -
    §

    DistributeCollation(CandidateReceipt, PoV, Option<Sender<CollationSecondedSignal>>)

    Provide a collation to distribute to validators with an optional result sender.

    +
    §

    DistributeCollation(CandidateReceipt, PoV, Option<Sender<CollationSecondedSignal>>)

    Provide a collation to distribute to validators with an optional result sender.

    The result sender should be informed when at least one parachain validator seconded the collation. It is also completely okay to just drop the sender.

    -
    §

    ReportCollator(CollatorId)

    Report a collator as having provided an invalid collation. This should lead to disconnect +

    §

    ReportCollator(CollatorId)

    Report a collator as having provided an invalid collation. This should lead to disconnect and blacklist of the collator.

    §

    NetworkBridgeUpdate(NetworkBridgeEvent<CollatorProtocolMessage>)

    Get a network bridge update.

    -
    §

    Invalid(Hash, CandidateReceipt)

    We recommended a particular candidate to be seconded, but it was invalid; penalize the +

    §

    Invalid(Hash, CandidateReceipt)

    We recommended a particular candidate to be seconded, but it was invalid; penalize the collator.

    The hash is the relay parent.

    §

    Seconded(Hash, SignedFullStatement)

    The candidate we recommended to be seconded was validated successfully.

    diff --git a/doc/polkadot_node_subsystem_types/messages/enum.DisputeCoordinatorMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.DisputeCoordinatorMessage.html index 47f97ddd09a7..7bd5c4719b9a 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.DisputeCoordinatorMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.DisputeCoordinatorMessage.html @@ -1,14 +1,14 @@ DisputeCoordinatorMessage in polkadot_node_subsystem_types::messages - Rust
    pub enum DisputeCoordinatorMessage {
         ImportStatements {
    -        candidate_receipt: CandidateReceipt,
    +        candidate_receipt: CandidateReceipt,
             session: SessionIndex,
    -        statements: Vec<(SignedDisputeStatement, ValidatorIndex)>,
    +        statements: Vec<(SignedDisputeStatement, ValidatorIndex)>,
             pending_confirmation: Option<Sender<ImportStatementsResult>>,
         },
         RecentDisputes(Sender<Vec<(SessionIndex, CandidateHash, DisputeStatus)>>),
         ActiveDisputes(Sender<Vec<(SessionIndex, CandidateHash, DisputeStatus)>>),
         QueryCandidateVotes(Vec<(SessionIndex, CandidateHash)>, Sender<Vec<(SessionIndex, CandidateHash, CandidateVotes)>>),
    -    IssueLocalStatement(SessionIndex, CandidateHash, CandidateReceipt, bool),
    +    IssueLocalStatement(SessionIndex, CandidateHash, CandidateReceipt, bool),
         DetermineUndisputedChain {
             base: (BlockNumber, Hash),
             block_descriptions: Vec<BlockDescription>,
    @@ -17,9 +17,9 @@
     }
    Expand description

    Messages received by the dispute coordinator subsystem.

    NOTE: Any response oneshots might get cancelled if the DisputeCoordinator was not yet properly initialized for some reason.

    -

    Variants§

    §

    ImportStatements

    Fields

    §candidate_receipt: CandidateReceipt

    The candidate receipt itself.

    +

    Variants§

    §

    ImportStatements

    Fields

    §candidate_receipt: CandidateReceipt

    The candidate receipt itself.

    §session: SessionIndex

    The session the candidate appears in.

    -
    §statements: Vec<(SignedDisputeStatement, ValidatorIndex)>

    Statements, with signatures checked, by validators participating in disputes.

    +
    §statements: Vec<(SignedDisputeStatement, ValidatorIndex)>

    Statements, with signatures checked, by validators participating in disputes.

    The validator index passed alongside each statement should correspond to the index of the validator in the set.

    §pending_confirmation: Option<Sender<ImportStatementsResult>>

    Inform the requester once we finished importing (if a sender was provided).

    @@ -54,7 +54,7 @@
    §

    ActiveDisputes(Sender<Vec<(SessionIndex, CandidateHash, DisputeStatus)>>)

    Fetch a list of all active disputes that the coordinator is aware of. These disputes are either not yet concluded or recently concluded.

    §

    QueryCandidateVotes(Vec<(SessionIndex, CandidateHash)>, Sender<Vec<(SessionIndex, CandidateHash, CandidateVotes)>>)

    Get candidate votes for a candidate.

    -
    §

    IssueLocalStatement(SessionIndex, CandidateHash, CandidateReceipt, bool)

    Sign and issue local dispute votes. A value of true indicates validity, and false +

    §

    IssueLocalStatement(SessionIndex, CandidateHash, CandidateReceipt, bool)

    Sign and issue local dispute votes. A value of true indicates validity, and false invalidity.

    §

    DetermineUndisputedChain

    Fields

    §base: (BlockNumber, Hash)

    The lowest possible block to vote on.

    §block_descriptions: Vec<BlockDescription>

    Descriptions of all the blocks counting upwards from the block after the base number

    diff --git a/doc/polkadot_node_subsystem_types/messages/enum.NetworkBridgeRxMessage.html b/doc/polkadot_node_subsystem_types/messages/enum.NetworkBridgeRxMessage.html index 16501a11762a..04bd2158b5b9 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.NetworkBridgeRxMessage.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.NetworkBridgeRxMessage.html @@ -1,8 +1,8 @@ NetworkBridgeRxMessage in polkadot_node_subsystem_types::messages - Rust
    pub enum NetworkBridgeRxMessage {
         NewGossipTopology {
             session: SessionIndex,
    -        local_index: Option<ValidatorIndex>,
    -        canonical_shuffling: Vec<(AuthorityDiscoveryId, ValidatorIndex)>,
    +        local_index: Option<ValidatorIndex>,
    +        canonical_shuffling: Vec<(AuthorityDiscoveryId, ValidatorIndex)>,
             shuffled_indices: Vec<usize>,
         },
         UpdatedAuthorityIds {
    @@ -11,8 +11,8 @@
         },
     }
    Expand description

    Messages received from other subsystems.

    Variants§

    §

    NewGossipTopology

    Fields

    §session: SessionIndex

    The session info this gossip topology is concerned with.

    -
    §local_index: Option<ValidatorIndex>

    Our validator index in the session, if any.

    -
    §canonical_shuffling: Vec<(AuthorityDiscoveryId, ValidatorIndex)>

    The canonical shuffling of validators for the session.

    +
    §local_index: Option<ValidatorIndex>

    Our validator index in the session, if any.

    +
    §canonical_shuffling: Vec<(AuthorityDiscoveryId, ValidatorIndex)>

    The canonical shuffling of validators for the session.

    §shuffled_indices: Vec<usize>

    The reverse mapping of canonical_shuffling: from validator index to the index in canonical_shuffling

    Inform the distribution subsystems about the new diff --git a/doc/polkadot_node_subsystem_types/messages/enum.ProvisionableData.html b/doc/polkadot_node_subsystem_types/messages/enum.ProvisionableData.html index cf2896b9d851..56893f80e23e 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.ProvisionableData.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.ProvisionableData.html @@ -1,15 +1,15 @@ ProvisionableData in polkadot_node_subsystem_types::messages - Rust

    pub enum ProvisionableData {
    -    Bitfield(Hash, SignedAvailabilityBitfield),
    -    BackedCandidate(CandidateReceipt),
    -    MisbehaviorReport(Hash, ValidatorIndex, Misbehavior),
    -    Dispute(Hash, ValidatorSignature),
    +    Bitfield(Hash, SignedAvailabilityBitfield),
    +    BackedCandidate(CandidateReceipt),
    +    MisbehaviorReport(Hash, ValidatorIndex, Misbehavior),
    +    Dispute(Hash, ValidatorSignature),
     }
    Expand description

    This data becomes intrinsics or extrinsics which should be included in a future relay chain block.

    -

    Variants§

    §

    Bitfield(Hash, SignedAvailabilityBitfield)

    This bitfield indicates the availability of various candidate blocks.

    -
    §

    BackedCandidate(CandidateReceipt)

    The Candidate Backing subsystem believes that this candidate is valid, pending +

    Variants§

    §

    Bitfield(Hash, SignedAvailabilityBitfield)

    This bitfield indicates the availability of various candidate blocks.

    +
    §

    BackedCandidate(CandidateReceipt)

    The Candidate Backing subsystem believes that this candidate is valid, pending availability.

    -
    §

    MisbehaviorReport(Hash, ValidatorIndex, Misbehavior)

    Misbehavior reports are self-contained proofs of validator misbehavior.

    -
    §

    Dispute(Hash, ValidatorSignature)

    Disputes trigger a broad dispute resolution process.

    +
    §

    MisbehaviorReport(Hash, ValidatorIndex, Misbehavior)

    Misbehavior reports are self-contained proofs of validator misbehavior.

    +
    §

    Dispute(Hash, ValidatorSignature)

    Disputes trigger a broad dispute resolution process.

    Trait Implementations§

    source§

    impl Clone for ProvisionableData

    source§

    fn clone(&self) -> ProvisionableData

    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 Debug for ProvisionableData

    source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> Any for Twhere T: Any,

    §

    fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>

    §

    fn type_name(&self) -> &'static str

    §

    impl<T> AnySync for Twhere diff --git a/doc/polkadot_node_subsystem_types/messages/enum.RuntimeApiRequest.html b/doc/polkadot_node_subsystem_types/messages/enum.RuntimeApiRequest.html index af61e02dbe75..34b7e6327a97 100644 --- a/doc/polkadot_node_subsystem_types/messages/enum.RuntimeApiRequest.html +++ b/doc/polkadot_node_subsystem_types/messages/enum.RuntimeApiRequest.html @@ -1,70 +1,70 @@ RuntimeApiRequest in polkadot_node_subsystem_types::messages - Rust
    pub enum RuntimeApiRequest {
     
    Show 26 variants Version(RuntimeApiSender<u32>), Authorities(RuntimeApiSender<Vec<AuthorityDiscoveryId>>), - Validators(RuntimeApiSender<Vec<ValidatorId>>), - ValidatorGroups(RuntimeApiSender<(Vec<Vec<ValidatorIndex>>, GroupRotationInfo)>), - AvailabilityCores(RuntimeApiSender<Vec<CoreState>>), - PersistedValidationData(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<PersistedValidationData>>), - AssumedValidationData(ParaId, Hash, RuntimeApiSender<Option<(PersistedValidationData, ValidationCodeHash)>>), - CheckValidationOutputs(ParaId, CandidateCommitments, RuntimeApiSender<bool>), + Validators(RuntimeApiSender<Vec<ValidatorId>>), + ValidatorGroups(RuntimeApiSender<(Vec<Vec<ValidatorIndex>>, GroupRotationInfo)>), + AvailabilityCores(RuntimeApiSender<Vec<CoreState>>), + PersistedValidationData(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<PersistedValidationData>>), + AssumedValidationData(ParaId, Hash, RuntimeApiSender<Option<(PersistedValidationData, ValidationCodeHash)>>), + CheckValidationOutputs(ParaId, CandidateCommitments, RuntimeApiSender<bool>), SessionIndexForChild(RuntimeApiSender<SessionIndex>), - ValidationCode(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<ValidationCode>>), + ValidationCode(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<ValidationCode>>), ValidationCodeByHash(ValidationCodeHash, RuntimeApiSender<Option<ValidationCode>>), - CandidatePendingAvailability(ParaId, RuntimeApiSender<Option<CommittedCandidateReceipt>>), - CandidateEvents(RuntimeApiSender<Vec<CandidateEvent>>), - SessionExecutorParams(SessionIndex, RuntimeApiSender<Option<ExecutorParams>>), - SessionInfo(SessionIndex, RuntimeApiSender<Option<SessionInfo>>), + CandidatePendingAvailability(ParaId, RuntimeApiSender<Option<CommittedCandidateReceipt>>), + CandidateEvents(RuntimeApiSender<Vec<CandidateEvent>>), + SessionExecutorParams(SessionIndex, RuntimeApiSender<Option<ExecutorParams>>), + SessionInfo(SessionIndex, RuntimeApiSender<Option<SessionInfo>>), DmqContents(ParaId, RuntimeApiSender<Vec<InboundDownwardMessage<BlockNumber>>>), InboundHrmpChannelsContents(ParaId, RuntimeApiSender<BTreeMap<ParaId, Vec<InboundHrmpMessage<BlockNumber>>>>), CurrentBabeEpoch(RuntimeApiSender<BabeEpoch>), - FetchOnChainVotes(RuntimeApiSender<Option<ScrapedOnChainVotes>>), - SubmitPvfCheckStatement(PvfCheckStatement, ValidatorSignature, RuntimeApiSender<()>), + FetchOnChainVotes(RuntimeApiSender<Option<ScrapedOnChainVotes>>), + SubmitPvfCheckStatement(PvfCheckStatement, ValidatorSignature, RuntimeApiSender<()>), PvfsRequirePrecheck(RuntimeApiSender<Vec<ValidationCodeHash>>), - ValidationCodeHash(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<ValidationCodeHash>>), - Disputes(RuntimeApiSender<Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>>), - UnappliedSlashes(RuntimeApiSender<Vec<(SessionIndex, CandidateHash, PendingSlashes)>>), - KeyOwnershipProof(ValidatorId, RuntimeApiSender<Option<OpaqueKeyOwnershipProof>>), - SubmitReportDisputeLost(DisputeProof, OpaqueKeyOwnershipProof, RuntimeApiSender<Option<()>>), + ValidationCodeHash(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<ValidationCodeHash>>), + Disputes(RuntimeApiSender<Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>>), + UnappliedSlashes(RuntimeApiSender<Vec<(SessionIndex, CandidateHash, PendingSlashes)>>), + KeyOwnershipProof(ValidatorId, RuntimeApiSender<Option<OpaqueKeyOwnershipProof>>), + SubmitReportDisputeLost(DisputeProof, OpaqueKeyOwnershipProof, RuntimeApiSender<Option<()>>),
    }
    Expand description

    A request to the Runtime API subsystem.

    Variants§

    §

    Version(RuntimeApiSender<u32>)

    Get the version of the runtime API, if any.

    §

    Authorities(RuntimeApiSender<Vec<AuthorityDiscoveryId>>)

    Get the next, current and some previous authority discovery set deduplicated.

    -
    §

    Validators(RuntimeApiSender<Vec<ValidatorId>>)

    Get the current validator set.

    -
    §

    ValidatorGroups(RuntimeApiSender<(Vec<Vec<ValidatorIndex>>, GroupRotationInfo)>)

    Get the validator groups and group rotation info.

    -
    §

    AvailabilityCores(RuntimeApiSender<Vec<CoreState>>)

    Get information on all availability cores.

    -
    §

    PersistedValidationData(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<PersistedValidationData>>)

    Get the persisted validation data for a particular para, taking the given +

    §

    Validators(RuntimeApiSender<Vec<ValidatorId>>)

    Get the current validator set.

    +
    §

    ValidatorGroups(RuntimeApiSender<(Vec<Vec<ValidatorIndex>>, GroupRotationInfo)>)

    Get the validator groups and group rotation info.

    +
    §

    AvailabilityCores(RuntimeApiSender<Vec<CoreState>>)

    Get information on all availability cores.

    +
    §

    PersistedValidationData(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<PersistedValidationData>>)

    Get the persisted validation data for a particular para, taking the given OccupiedCoreAssumption, which will inform on how the validation data should be computed if the para currently occupies a core.

    -
    §

    AssumedValidationData(ParaId, Hash, RuntimeApiSender<Option<(PersistedValidationData, ValidationCodeHash)>>)

    Get the persisted validation data for a particular para along with the current validation +

    §

    AssumedValidationData(ParaId, Hash, RuntimeApiSender<Option<(PersistedValidationData, ValidationCodeHash)>>)

    Get the persisted validation data for a particular para along with the current validation code hash, matching the data hash against an expected one.

    -
    §

    CheckValidationOutputs(ParaId, CandidateCommitments, RuntimeApiSender<bool>)

    Sends back true if the validation outputs pass all acceptance criteria checks.

    +
    §

    CheckValidationOutputs(ParaId, CandidateCommitments, RuntimeApiSender<bool>)

    Sends back true if the validation outputs pass all acceptance criteria checks.

    §

    SessionIndexForChild(RuntimeApiSender<SessionIndex>)

    Get the session index that a child of the block will have.

    -
    §

    ValidationCode(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<ValidationCode>>)

    Get the validation code for a para, taking the given OccupiedCoreAssumption, which +

    §

    ValidationCode(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<ValidationCode>>)

    Get the validation code for a para, taking the given OccupiedCoreAssumption, which will inform on how the validation data should be computed if the para currently occupies a core.

    §

    ValidationCodeByHash(ValidationCodeHash, RuntimeApiSender<Option<ValidationCode>>)

    Get validation code by its hash, either past, current or future code can be returned, as long as state is still available.

    -
    §

    CandidatePendingAvailability(ParaId, RuntimeApiSender<Option<CommittedCandidateReceipt>>)

    Get a the candidate pending availability for a particular parachain by parachain / core +

    §

    CandidatePendingAvailability(ParaId, RuntimeApiSender<Option<CommittedCandidateReceipt>>)

    Get a the candidate pending availability for a particular parachain by parachain / core index

    -
    §

    CandidateEvents(RuntimeApiSender<Vec<CandidateEvent>>)

    Get all events concerning candidates (backing, inclusion, time-out) in the parent of +

    §

    CandidateEvents(RuntimeApiSender<Vec<CandidateEvent>>)

    Get all events concerning candidates (backing, inclusion, time-out) in the parent of the block in whose state this request is executed.

    -
    §

    SessionExecutorParams(SessionIndex, RuntimeApiSender<Option<ExecutorParams>>)

    Get the execution environment parameter set by session index

    -
    §

    SessionInfo(SessionIndex, RuntimeApiSender<Option<SessionInfo>>)

    Get the session info for the given session, if stored.

    +
    §

    SessionExecutorParams(SessionIndex, RuntimeApiSender<Option<ExecutorParams>>)

    Get the execution environment parameter set by session index

    +
    §

    SessionInfo(SessionIndex, RuntimeApiSender<Option<SessionInfo>>)

    Get the session info for the given session, if stored.

    §

    DmqContents(ParaId, RuntimeApiSender<Vec<InboundDownwardMessage<BlockNumber>>>)

    Get all the pending inbound messages in the downward message queue for a para.

    §

    InboundHrmpChannelsContents(ParaId, RuntimeApiSender<BTreeMap<ParaId, Vec<InboundHrmpMessage<BlockNumber>>>>)

    Get the contents of all channels addressed to the given recipient. Channels that have no messages in them are also included.

    §

    CurrentBabeEpoch(RuntimeApiSender<BabeEpoch>)

    Get information about the BABE epoch the block was included in.

    -
    §

    FetchOnChainVotes(RuntimeApiSender<Option<ScrapedOnChainVotes>>)

    Get all disputes in relation to a relay parent.

    -
    §

    SubmitPvfCheckStatement(PvfCheckStatement, ValidatorSignature, RuntimeApiSender<()>)

    Submits a PVF pre-checking statement into the transaction pool.

    +
    §

    FetchOnChainVotes(RuntimeApiSender<Option<ScrapedOnChainVotes>>)

    Get all disputes in relation to a relay parent.

    +
    §

    SubmitPvfCheckStatement(PvfCheckStatement, ValidatorSignature, RuntimeApiSender<()>)

    Submits a PVF pre-checking statement into the transaction pool.

    §

    PvfsRequirePrecheck(RuntimeApiSender<Vec<ValidationCodeHash>>)

    Returns code hashes of PVFs that require pre-checking by validators in the active set.

    -
    §

    ValidationCodeHash(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<ValidationCodeHash>>)

    Get the validation code used by the specified para, taking the given +

    §

    ValidationCodeHash(ParaId, OccupiedCoreAssumption, RuntimeApiSender<Option<ValidationCodeHash>>)

    Get the validation code used by the specified para, taking the given OccupiedCoreAssumption, which will inform on how the validation data should be computed if the para currently occupies a core.

    -
    §

    Disputes(RuntimeApiSender<Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>>)

    Returns all on-chain disputes at given block number. Available in v3.

    -
    §

    UnappliedSlashes(RuntimeApiSender<Vec<(SessionIndex, CandidateHash, PendingSlashes)>>)

    Returns a list of validators that lost a past session dispute and need to be slashed. +

    §

    Disputes(RuntimeApiSender<Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>>)

    Returns all on-chain disputes at given block number. Available in v3.

    +
    §

    UnappliedSlashes(RuntimeApiSender<Vec<(SessionIndex, CandidateHash, PendingSlashes)>>)

    Returns a list of validators that lost a past session dispute and need to be slashed. V5

    -
    §

    KeyOwnershipProof(ValidatorId, RuntimeApiSender<Option<OpaqueKeyOwnershipProof>>)

    Returns a merkle proof of a validator session key. +

    §

    KeyOwnershipProof(ValidatorId, RuntimeApiSender<Option<OpaqueKeyOwnershipProof>>)

    Returns a merkle proof of a validator session key. V5

    -
    §

    SubmitReportDisputeLost(DisputeProof, OpaqueKeyOwnershipProof, RuntimeApiSender<Option<()>>)

    Submits an unsigned extrinsic to slash validator who lost a past session dispute. +

    §

    SubmitReportDisputeLost(DisputeProof, OpaqueKeyOwnershipProof, RuntimeApiSender<Option<()>>)

    Submits an unsigned extrinsic to slash validator who lost a past session dispute. V5

    Implementations§

    source§

    impl RuntimeApiRequest

    source

    pub const DISPUTES_RUNTIME_REQUIREMENT: u32 = 3u32

    Runtime version requirements for each message Disputes

    diff --git a/doc/polkadot_node_subsystem_types/messages/network_bridge_event/struct.NewGossipTopology.html b/doc/polkadot_node_subsystem_types/messages/network_bridge_event/struct.NewGossipTopology.html index 180d512f22fd..89f25f406390 100644 --- a/doc/polkadot_node_subsystem_types/messages/network_bridge_event/struct.NewGossipTopology.html +++ b/doc/polkadot_node_subsystem_types/messages/network_bridge_event/struct.NewGossipTopology.html @@ -1,11 +1,11 @@ NewGossipTopology in polkadot_node_subsystem_types::messages::network_bridge_event - Rust
    pub struct NewGossipTopology {
         pub session: SessionIndex,
         pub topology: SessionGridTopology,
    -    pub local_index: Option<ValidatorIndex>,
    +    pub local_index: Option<ValidatorIndex>,
     }
    Expand description

    A struct indicating new gossip topology.

    Fields§

    §session: SessionIndex

    The session index this topology corresponds to.

    §topology: SessionGridTopology

    The topology itself.

    -
    §local_index: Option<ValidatorIndex>

    The local validator index, if any.

    +
    §local_index: Option<ValidatorIndex>

    The local validator index, if any.

    Trait Implementations§

    source§

    impl Clone for NewGossipTopology

    source§

    fn clone(&self) -> NewGossipTopology

    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 Debug for NewGossipTopology

    source§

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

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

    impl PartialEq<NewGossipTopology> for NewGossipTopology

    source§

    fn eq(&self, other: &NewGossipTopology) -> 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 sufficient, and should not be overridden without very good reason.
    source§

    impl StructuralPartialEq for NewGossipTopology

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/polkadot_node_subsystem_types/messages/struct.ProvisionerInherentData.html b/doc/polkadot_node_subsystem_types/messages/struct.ProvisionerInherentData.html index c68dc4c7b2ed..ef7c9f0645ab 100644 --- a/doc/polkadot_node_subsystem_types/messages/struct.ProvisionerInherentData.html +++ b/doc/polkadot_node_subsystem_types/messages/struct.ProvisionerInherentData.html @@ -1,11 +1,11 @@ ProvisionerInherentData in polkadot_node_subsystem_types::messages - Rust
    pub struct ProvisionerInherentData {
    -    pub bitfields: SignedAvailabilityBitfields,
    -    pub backed_candidates: Vec<BackedCandidate>,
    -    pub disputes: MultiDisputeStatementSet,
    +    pub bitfields: SignedAvailabilityBitfields,
    +    pub backed_candidates: Vec<BackedCandidate>,
    +    pub disputes: MultiDisputeStatementSet,
     }
    Expand description

    Inherent data returned by the provisioner

    -

    Fields§

    §bitfields: SignedAvailabilityBitfields

    Signed bitfields.

    -
    §backed_candidates: Vec<BackedCandidate>

    Backed candidates.

    -
    §disputes: MultiDisputeStatementSet

    Dispute statement sets.

    +

    Fields§

    §bitfields: SignedAvailabilityBitfields

    Signed bitfields.

    +
    §backed_candidates: Vec<BackedCandidate>

    Backed candidates.

    +
    §disputes: MultiDisputeStatementSet

    Dispute statement sets.

    Trait Implementations§

    source§

    impl Clone for ProvisionerInherentData

    source§

    fn clone(&self) -> ProvisionerInherentData

    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 Debug for ProvisionerInherentData

    source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> Any for Twhere T: Any,

    §

    fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>

    §

    fn type_name(&self) -> &'static str

    §

    impl<T> AnySync for Twhere diff --git a/doc/polkadot_node_subsystem_types/struct.DefaultSubsystemClient.html b/doc/polkadot_node_subsystem_types/struct.DefaultSubsystemClient.html index 844f7052d63a..b8a3e9dc2a2b 100644 --- a/doc/polkadot_node_subsystem_types/struct.DefaultSubsystemClient.html +++ b/doc/polkadot_node_subsystem_types/struct.DefaultSubsystemClient.html @@ -5,30 +5,30 @@ ) -> Self

    Create new instance.

    Trait Implementations§

    source§

    impl<Client> RuntimeApiSubsystemClient for DefaultSubsystemClient<Client>where Client: ProvideRuntimeApi<Block> + Send + Sync, - Client::Api: ParachainHost<Block> + BabeApi<Block> + AuthorityDiscoveryApi<Block>,

    source§

    fn validators<'life0, 'async_trait>( + Client::Api: ParachainHost<Block> + BabeApi<Block> + AuthorityDiscoveryApi<Block>,

    source§

    fn validators<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<ValidatorId>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<ValidatorId>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the current validators.
    source§

    fn validator_groups<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<(Vec<Vec<ValidatorIndex>>, GroupRotationInfo<BlockNumber>), ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<(Vec<Vec<ValidatorIndex>>, GroupRotationInfo<BlockNumber>), ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns the validator groups and rotation info localized based on the hypothetical child of a block whose state this is invoked on. Note that now in the GroupRotationInfo should be the successor of the number of the block.
    source§

    fn availability_cores<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<CoreState<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<CoreState<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Yields information on all availability cores as relevant to the child block. Cores are either free or occupied. Free cores can have paras assigned to them.
    source§

    fn persisted_validation_data<'life0, 'async_trait>( &'life0 self, at: Hash, para_id: Id, - assumption: OccupiedCoreAssumption -) -> Pin<Box<dyn Future<Output = Result<Option<PersistedValidationData<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>>where + assumption: OccupiedCoreAssumption +) -> Pin<Box<dyn Future<Output = Result<Option<PersistedValidationData<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Yields the persisted validation data for the given ParaId along with an assumption that should be used if the para currently occupies a core. Read more
    source§

    fn assumed_validation_data<'life0, 'async_trait>( @@ -36,7 +36,7 @@ at: Hash, para_id: Id, expected_persisted_validation_data_hash: Hash -) -> Pin<Box<dyn Future<Output = Result<Option<(PersistedValidationData<Hash, BlockNumber>, ValidationCodeHash)>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<(PersistedValidationData<Hash, BlockNumber>, ValidationCodeHash)>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns the persisted validation data for the given ParaId along with the corresponding validation code hash. Instead of accepting assumption about the para, matches the validation @@ -44,7 +44,7 @@ &'life0 self, at: Hash, para_id: Id, - outputs: CandidateCommitments + outputs: CandidateCommitments ) -> Pin<Box<dyn Future<Output = Result<bool, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Checks if the given validation outputs pass the acceptance criteria.
    source§

    fn session_index_for_child<'life0, 'async_trait>( @@ -56,20 +56,20 @@ &'life0 self, at: Hash, para_id: Id, - assumption: OccupiedCoreAssumption + assumption: OccupiedCoreAssumption ) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCode>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Fetch the validation code used by a para, making the given OccupiedCoreAssumption. Read more
    source§

    fn candidate_pending_availability<'life0, 'async_trait>( &'life0 self, at: Hash, para_id: Id -) -> Pin<Box<dyn Future<Output = Result<Option<CommittedCandidateReceipt<Hash>>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<CommittedCandidateReceipt<Hash>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the receipt of a candidate pending availability. This returns Some for any paras assigned to occupied cores in availability_cores and None otherwise.
    source§

    fn candidate_events<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<CandidateEvent<Hash>>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<CandidateEvent<Hash>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get a vector of events concerning candidates that occurred within a block.
    source§

    fn dmq_contents<'life0, 'async_trait>( &'life0 self, @@ -93,25 +93,25 @@ 'life0: 'async_trait,

    Get the validation code from its hash.
    source§

    fn on_chain_votes<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Option<ScrapedOnChainVotes<Hash>>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<ScrapedOnChainVotes<Hash>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Scrape dispute relevant from on-chain, backing votes and resolved disputes.
    source§

    fn session_executor_params<'life0, 'async_trait>( &'life0 self, at: Hash, session_index: SessionIndex -) -> Pin<Box<dyn Future<Output = Result<Option<ExecutorParams>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<ExecutorParams>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the execution environment parameter set by parent hash, if stored
    source§

    fn session_info<'life0, 'async_trait>( &'life0 self, at: Hash, index: SessionIndex -) -> Pin<Box<dyn Future<Output = Result<Option<SessionInfo>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<SessionInfo>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the session info for the given session, if stored. Read more
    source§

    fn submit_pvf_check_statement<'life0, 'async_trait>( &'life0 self, at: Hash, - stmt: PvfCheckStatement, - signature: ValidatorSignature + stmt: PvfCheckStatement, + signature: ValidatorSignature ) -> Pin<Box<dyn Future<Output = Result<(), ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Submits a PVF pre-checking statement into the transaction pool. Read more
    source§

    fn pvfs_require_precheck<'life0, 'async_trait>( @@ -123,7 +123,7 @@ &'life0 self, at: Hash, para_id: Id, - assumption: OccupiedCoreAssumption + assumption: OccupiedCoreAssumption ) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCodeHash>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Fetch the hash of the validation code used by a para, making the given @@ -145,25 +145,25 @@ 'life0: 'async_trait,

    Parachain host API version
    source§

    fn disputes<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns all onchain disputes. This is a staging method! Do not use on production runtimes!
    source§

    fn unapplied_slashes<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, PendingSlashes)>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, PendingSlashes)>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns a list of validators that lost a past session dispute and need to be slashed. Read more
    source§

    fn key_ownership_proof<'life0, 'async_trait>( &'life0 self, at: Hash, - validator_id: ValidatorId -) -> Pin<Box<dyn Future<Output = Result<Option<OpaqueKeyOwnershipProof>, ApiError>> + Send + 'async_trait>>where + validator_id: ValidatorId +) -> Pin<Box<dyn Future<Output = Result<Option<OpaqueKeyOwnershipProof>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns a merkle proof of a validator session key in a past session. Read more
    source§

    fn submit_report_dispute_lost<'life0, 'async_trait>( &'life0 self, at: Hash, - dispute_proof: DisputeProof, - key_ownership_proof: OpaqueKeyOwnershipProof + dispute_proof: DisputeProof, + key_ownership_proof: OpaqueKeyOwnershipProof ) -> Pin<Box<dyn Future<Output = Result<Option<()>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Submits an unsigned extrinsic to slash validators who lost a dispute about diff --git a/doc/polkadot_node_subsystem_types/trait.RuntimeApiSubsystemClient.html b/doc/polkadot_node_subsystem_types/trait.RuntimeApiSubsystemClient.html index 9b7c0a0ea8da..5347872a8aa4 100644 --- a/doc/polkadot_node_subsystem_types/trait.RuntimeApiSubsystemClient.html +++ b/doc/polkadot_node_subsystem_types/trait.RuntimeApiSubsystemClient.html @@ -9,27 +9,27 @@ fn validators<'life0, 'async_trait>( &'life0 self, at: Hash - ) -> Pin<Box<dyn Future<Output = Result<Vec<ValidatorId>, ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Vec<ValidatorId>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn validator_groups<'life0, 'async_trait>( &'life0 self, at: Hash - ) -> Pin<Box<dyn Future<Output = Result<(Vec<Vec<ValidatorIndex>>, GroupRotationInfo<BlockNumber>), ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<(Vec<Vec<ValidatorIndex>>, GroupRotationInfo<BlockNumber>), ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn availability_cores<'life0, 'async_trait>( &'life0 self, at: Hash - ) -> Pin<Box<dyn Future<Output = Result<Vec<CoreState<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Vec<CoreState<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn persisted_validation_data<'life0, 'async_trait>( &'life0 self, at: Hash, para_id: Id, - assumption: OccupiedCoreAssumption - ) -> Pin<Box<dyn Future<Output = Result<Option<PersistedValidationData<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>> + assumption: OccupiedCoreAssumption + ) -> Pin<Box<dyn Future<Output = Result<Option<PersistedValidationData<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn assumed_validation_data<'life0, 'async_trait>( @@ -37,14 +37,14 @@ at: Hash, para_id: Id, expected_persisted_validation_data_hash: Hash - ) -> Pin<Box<dyn Future<Output = Result<Option<(PersistedValidationData<Hash, BlockNumber>, ValidationCodeHash)>, ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Option<(PersistedValidationData<Hash, BlockNumber>, ValidationCodeHash)>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn check_validation_outputs<'life0, 'async_trait>( &'life0 self, at: Hash, para_id: Id, - outputs: CandidateCommitments + outputs: CandidateCommitments ) -> Pin<Box<dyn Future<Output = Result<bool, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; @@ -58,7 +58,7 @@ &'life0 self, at: Hash, para_id: Id, - assumption: OccupiedCoreAssumption + assumption: OccupiedCoreAssumption ) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCode>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; @@ -66,13 +66,13 @@ &'life0 self, at: Hash, para_id: Id - ) -> Pin<Box<dyn Future<Output = Result<Option<CommittedCandidateReceipt<Hash>>, ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Option<CommittedCandidateReceipt<Hash>>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn candidate_events<'life0, 'async_trait>( &'life0 self, at: Hash - ) -> Pin<Box<dyn Future<Output = Result<Vec<CandidateEvent<Hash>>, ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Vec<CandidateEvent<Hash>>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn dmq_contents<'life0, 'async_trait>( @@ -99,21 +99,21 @@ fn on_chain_votes<'life0, 'async_trait>( &'life0 self, at: Hash - ) -> Pin<Box<dyn Future<Output = Result<Option<ScrapedOnChainVotes<Hash>>, ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Option<ScrapedOnChainVotes<Hash>>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn session_info<'life0, 'async_trait>( &'life0 self, at: Hash, index: SessionIndex - ) -> Pin<Box<dyn Future<Output = Result<Option<SessionInfo>, ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Option<SessionInfo>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn submit_pvf_check_statement<'life0, 'async_trait>( &'life0 self, at: Hash, - stmt: PvfCheckStatement, - signature: ValidatorSignature + stmt: PvfCheckStatement, + signature: ValidatorSignature ) -> Pin<Box<dyn Future<Output = Result<(), ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; @@ -127,34 +127,34 @@ &'life0 self, at: Hash, para_id: Id, - assumption: OccupiedCoreAssumption + assumption: OccupiedCoreAssumption ) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCodeHash>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn disputes<'life0, 'async_trait>( &'life0 self, at: Hash - ) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>, ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn unapplied_slashes<'life0, 'async_trait>( &'life0 self, at: Hash - ) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, PendingSlashes)>, ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, PendingSlashes)>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn key_ownership_proof<'life0, 'async_trait>( &'life0 self, at: Hash, - validator_id: ValidatorId - ) -> Pin<Box<dyn Future<Output = Result<Option<OpaqueKeyOwnershipProof>, ApiError>> + Send + 'async_trait>> + validator_id: ValidatorId + ) -> Pin<Box<dyn Future<Output = Result<Option<OpaqueKeyOwnershipProof>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn submit_report_dispute_lost<'life0, 'async_trait>( &'life0 self, at: Hash, - dispute_proof: DisputeProof, - key_ownership_proof: OpaqueKeyOwnershipProof + dispute_proof: DisputeProof, + key_ownership_proof: OpaqueKeyOwnershipProof ) -> Pin<Box<dyn Future<Output = Result<Option<()>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; @@ -162,7 +162,7 @@ &'life0 self, at: Hash, session_index: SessionIndex - ) -> Pin<Box<dyn Future<Output = Result<Option<ExecutorParams>, ApiError>> + Send + 'async_trait>> + ) -> Pin<Box<dyn Future<Output = Result<Option<ExecutorParams>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn current_epoch<'life0, 'async_trait>( @@ -187,13 +187,13 @@
    source

    fn validators<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<ValidatorId>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<ValidatorId>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the current validators.

    source

    fn validator_groups<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<(Vec<Vec<ValidatorIndex>>, GroupRotationInfo<BlockNumber>), ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<(Vec<Vec<ValidatorIndex>>, GroupRotationInfo<BlockNumber>), ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns the validator groups and rotation info localized based on the hypothetical child of a block whose state this is invoked on. Note that now in the GroupRotationInfo @@ -201,7 +201,7 @@

    source

    fn availability_cores<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<CoreState<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<CoreState<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Yields information on all availability cores as relevant to the child block. Cores are either free or occupied. Free cores can have paras assigned to them.

    @@ -209,8 +209,8 @@ &'life0 self, at: Hash, para_id: Id, - assumption: OccupiedCoreAssumption -) -> Pin<Box<dyn Future<Output = Result<Option<PersistedValidationData<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>>where + assumption: OccupiedCoreAssumption +) -> Pin<Box<dyn Future<Output = Result<Option<PersistedValidationData<Hash, BlockNumber>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Yields the persisted validation data for the given ParaId along with an assumption that should be used if the para currently occupies a core.

    @@ -221,7 +221,7 @@ at: Hash, para_id: Id, expected_persisted_validation_data_hash: Hash -) -> Pin<Box<dyn Future<Output = Result<Option<(PersistedValidationData<Hash, BlockNumber>, ValidationCodeHash)>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<(PersistedValidationData<Hash, BlockNumber>, ValidationCodeHash)>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns the persisted validation data for the given ParaId along with the corresponding validation code hash. Instead of accepting assumption about the para, matches the validation @@ -230,7 +230,7 @@ &'life0 self, at: Hash, para_id: Id, - outputs: CandidateCommitments + outputs: CandidateCommitments ) -> Pin<Box<dyn Future<Output = Result<bool, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Checks if the given validation outputs pass the acceptance criteria.

    @@ -245,7 +245,7 @@ &'life0 self, at: Hash, para_id: Id, - assumption: OccupiedCoreAssumption + assumption: OccupiedCoreAssumption ) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCode>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Fetch the validation code used by a para, making the given OccupiedCoreAssumption.

    @@ -255,14 +255,14 @@ &'life0 self, at: Hash, para_id: Id -) -> Pin<Box<dyn Future<Output = Result<Option<CommittedCandidateReceipt<Hash>>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<CommittedCandidateReceipt<Hash>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the receipt of a candidate pending availability. This returns Some for any paras assigned to occupied cores in availability_cores and None otherwise.

    source

    fn candidate_events<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<CandidateEvent<Hash>>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<CandidateEvent<Hash>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get a vector of events concerning candidates that occurred within a block.

    source

    fn dmq_contents<'life0, 'async_trait>( @@ -290,22 +290,22 @@

    source

    fn on_chain_votes<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Option<ScrapedOnChainVotes<Hash>>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<ScrapedOnChainVotes<Hash>>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Scrape dispute relevant from on-chain, backing votes and resolved disputes.

    source

    fn session_info<'life0, 'async_trait>( &'life0 self, at: Hash, index: SessionIndex -) -> Pin<Box<dyn Future<Output = Result<Option<SessionInfo>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<SessionInfo>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the session info for the given session, if stored.

    NOTE: This function is only available since parachain host version 2.

    source

    fn submit_pvf_check_statement<'life0, 'async_trait>( &'life0 self, at: Hash, - stmt: PvfCheckStatement, - signature: ValidatorSignature + stmt: PvfCheckStatement, + signature: ValidatorSignature ) -> Pin<Box<dyn Future<Output = Result<(), ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Submits a PVF pre-checking statement into the transaction pool.

    @@ -321,7 +321,7 @@ &'life0 self, at: Hash, para_id: Id, - assumption: OccupiedCoreAssumption + assumption: OccupiedCoreAssumption ) -> Pin<Box<dyn Future<Output = Result<Option<ValidationCodeHash>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Fetch the hash of the validation code used by a para, making the given @@ -330,30 +330,30 @@

    source

    fn disputes<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumber>)>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns all onchain disputes. This is a staging method! Do not use on production runtimes!

    source

    fn unapplied_slashes<'life0, 'async_trait>( &'life0 self, at: Hash -) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, PendingSlashes)>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Vec<(SessionIndex, CandidateHash, PendingSlashes)>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns a list of validators that lost a past session dispute and need to be slashed.

    WARNING: This is a staging method! Do not use on production runtimes!

    source

    fn key_ownership_proof<'life0, 'async_trait>( &'life0 self, at: Hash, - validator_id: ValidatorId -) -> Pin<Box<dyn Future<Output = Result<Option<OpaqueKeyOwnershipProof>, ApiError>> + Send + 'async_trait>>where + validator_id: ValidatorId +) -> Pin<Box<dyn Future<Output = Result<Option<OpaqueKeyOwnershipProof>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Returns a merkle proof of a validator session key in a past session.

    WARNING: This is a staging method! Do not use on production runtimes!

    source

    fn submit_report_dispute_lost<'life0, 'async_trait>( &'life0 self, at: Hash, - dispute_proof: DisputeProof, - key_ownership_proof: OpaqueKeyOwnershipProof + dispute_proof: DisputeProof, + key_ownership_proof: OpaqueKeyOwnershipProof ) -> Pin<Box<dyn Future<Output = Result<Option<()>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Submits an unsigned extrinsic to slash validators who lost a dispute about @@ -363,7 +363,7 @@ &'life0 self, at: Hash, session_index: SessionIndex -) -> Pin<Box<dyn Future<Output = Result<Option<ExecutorParams>, ApiError>> + Send + 'async_trait>>where +) -> Pin<Box<dyn Future<Output = Result<Option<ExecutorParams>, ApiError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

    Get the execution environment parameter set by parent hash, if stored

    source

    fn current_epoch<'life0, 'async_trait>( @@ -380,4 +380,4 @@ 'life0: 'async_trait,

    Retrieve authority identifiers of the current and next authority set.

    Implementors§

    source§

    impl<Client> RuntimeApiSubsystemClient for DefaultSubsystemClient<Client>where Client: ProvideRuntimeApi<Block> + Send + Sync, - Client::Api: ParachainHost<Block> + BabeApi<Block> + AuthorityDiscoveryApi<Block>,

    \ No newline at end of file + Client::Api: ParachainHost<Block> + BabeApi<Block> + AuthorityDiscoveryApi<Block>,
    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_commitments.html b/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_commitments.html index 99838e0d4e17..d6ad04c8d5c5 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_commitments.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_commitments.html @@ -1,4 +1,4 @@ dummy_candidate_commitments in polkadot_primitives_test_helpers - Rust
    pub fn dummy_candidate_commitments(
         head_data: impl Into<Option<HeadData>>
    -) -> CandidateCommitments
    Expand description

    Create candidate commitments with filler data.

    +) -> CandidateCommitments
    Expand description

    Create candidate commitments with filler data.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_descriptor.html b/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_descriptor.html index b7430620b028..d3a93912cfda 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_descriptor.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_descriptor.html @@ -1,4 +1,4 @@ dummy_candidate_descriptor in polkadot_primitives_test_helpers - Rust
    pub fn dummy_candidate_descriptor<H: AsRef<[u8]>>(
         relay_parent: H
    -) -> CandidateDescriptor<H>
    Expand description

    Create a candidate descriptor with filler data.

    +) -> CandidateDescriptor<H>
    Expand description

    Create a candidate descriptor with filler data.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_descriptor_bad_sig.html b/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_descriptor_bad_sig.html index ff8f14dcf505..73809db02147 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_descriptor_bad_sig.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_descriptor_bad_sig.html @@ -1,4 +1,4 @@ dummy_candidate_descriptor_bad_sig in polkadot_primitives_test_helpers - Rust
    pub fn dummy_candidate_descriptor_bad_sig(
         relay_parent: Hash
    -) -> CandidateDescriptor<Hash>
    Expand description

    Create a candidate descriptor with a bogus signature and filler data.

    +) -> CandidateDescriptor<Hash>
    Expand description

    Create a candidate descriptor with a bogus signature and filler data.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_receipt.html b/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_receipt.html index 58f50bc01999..a3cc84908d16 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_receipt.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_receipt.html @@ -1,4 +1,4 @@ dummy_candidate_receipt in polkadot_primitives_test_helpers - Rust
    pub fn dummy_candidate_receipt<H: AsRef<[u8]>>(
         relay_parent: H
    -) -> CandidateReceipt<H>
    Expand description

    Creates a candidate receipt with filler data.

    +) -> CandidateReceipt<H>
    Expand description

    Creates a candidate receipt with filler data.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_receipt_bad_sig.html b/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_receipt_bad_sig.html index 4249dd2029ea..516d077cd000 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_receipt_bad_sig.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_candidate_receipt_bad_sig.html @@ -1,6 +1,6 @@ dummy_candidate_receipt_bad_sig in polkadot_primitives_test_helpers - Rust
    pub fn dummy_candidate_receipt_bad_sig(
         relay_parent: Hash,
         commitments: impl Into<Option<Hash>>
    -) -> CandidateReceipt<Hash>
    Expand description

    Create a candidate receipt with a bogus signature and filler data. Optionally set the commitment +) -> CandidateReceipt<Hash>

    Expand description

    Create a candidate receipt with a bogus signature and filler data. Optionally set the commitment hash with the commitments arg.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_collator.html b/doc/polkadot_primitives_test_helpers/fn.dummy_collator.html index 8601deb762c1..fa07633f0c56 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_collator.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_collator.html @@ -1,2 +1,2 @@ -dummy_collator in polkadot_primitives_test_helpers - Rust
    pub fn dummy_collator() -> CollatorId
    Expand description

    Create a meaningless collator id.

    +dummy_collator in polkadot_primitives_test_helpers - Rust
    pub fn dummy_collator() -> CollatorId
    Expand description

    Create a meaningless collator id.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_collator_signature.html b/doc/polkadot_primitives_test_helpers/fn.dummy_collator_signature.html index 3d896f9f6045..c6b8f6d48478 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_collator_signature.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_collator_signature.html @@ -1,2 +1,2 @@ -dummy_collator_signature in polkadot_primitives_test_helpers - Rust
    pub fn dummy_collator_signature() -> CollatorSignature
    Expand description

    Create a meaningless collator signature.

    +dummy_collator_signature in polkadot_primitives_test_helpers - Rust
    pub fn dummy_collator_signature() -> CollatorSignature
    Expand description

    Create a meaningless collator signature.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_committed_candidate_receipt.html b/doc/polkadot_primitives_test_helpers/fn.dummy_committed_candidate_receipt.html index 958f37e821aa..4b6e87ba71ef 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_committed_candidate_receipt.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_committed_candidate_receipt.html @@ -1,4 +1,4 @@ dummy_committed_candidate_receipt in polkadot_primitives_test_helpers - Rust
    pub fn dummy_committed_candidate_receipt<H: AsRef<[u8]>>(
         relay_parent: H
    -) -> CommittedCandidateReceipt<H>
    Expand description

    Creates a committed candidate receipt with filler data.

    +) -> CommittedCandidateReceipt<H>
    Expand description

    Creates a committed candidate receipt with filler data.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_signature.html b/doc/polkadot_primitives_test_helpers/fn.dummy_signature.html index f94618e0d61c..93f67096aac4 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_signature.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_signature.html @@ -1 +1 @@ -dummy_signature in polkadot_primitives_test_helpers - Rust
    pub fn dummy_signature() -> ValidatorSignature
    \ No newline at end of file +dummy_signature in polkadot_primitives_test_helpers - Rust
    pub fn dummy_signature() -> ValidatorSignature
    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.dummy_validator.html b/doc/polkadot_primitives_test_helpers/fn.dummy_validator.html index 5806f34196b1..4d2519c27221 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_validator.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_validator.html @@ -1,2 +1,2 @@ -dummy_validator in polkadot_primitives_test_helpers - Rust
    pub fn dummy_validator() -> ValidatorId
    Expand description

    Create a meaningless validator id.

    +dummy_validator in polkadot_primitives_test_helpers - Rust
    pub fn dummy_validator() -> ValidatorId
    Expand description

    Create a meaningless validator id.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.make_valid_candidate_descriptor.html b/doc/polkadot_primitives_test_helpers/fn.make_valid_candidate_descriptor.html index 8099cca1f957..5a9db8ce990f 100644 --- a/doc/polkadot_primitives_test_helpers/fn.make_valid_candidate_descriptor.html +++ b/doc/polkadot_primitives_test_helpers/fn.make_valid_candidate_descriptor.html @@ -7,6 +7,6 @@ para_head: Hash, erasure_root: Hash, collator: Sr25519Keyring -) -> CandidateDescriptor<H>
    Expand description

    Create a new candidate descriptor, and apply a valid signature +) -> CandidateDescriptor<H>

    Expand description

    Create a new candidate descriptor, and apply a valid signature using the provided collator key.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/fn.resign_candidate_descriptor_with_collator.html b/doc/polkadot_primitives_test_helpers/fn.resign_candidate_descriptor_with_collator.html index d72ce91df6f8..2d1e5095bcae 100644 --- a/doc/polkadot_primitives_test_helpers/fn.resign_candidate_descriptor_with_collator.html +++ b/doc/polkadot_primitives_test_helpers/fn.resign_candidate_descriptor_with_collator.html @@ -1,5 +1,5 @@ resign_candidate_descriptor_with_collator in polkadot_primitives_test_helpers - Rust
    pub fn resign_candidate_descriptor_with_collator<H: AsRef<[u8]>>(
    -    descriptor: &mut CandidateDescriptor<H>,
    +    descriptor: &mut CandidateDescriptor<H>,
         collator: Sr25519Keyring
     )
    Expand description

    After manually modifying the candidate descriptor, resign with a defined collator key.

    \ No newline at end of file diff --git a/doc/polkadot_primitives_test_helpers/struct.TestCandidateBuilder.html b/doc/polkadot_primitives_test_helpers/struct.TestCandidateBuilder.html index cb6065fd101c..7fe3c3765cfe 100644 --- a/doc/polkadot_primitives_test_helpers/struct.TestCandidateBuilder.html +++ b/doc/polkadot_primitives_test_helpers/struct.TestCandidateBuilder.html @@ -4,7 +4,7 @@ pub relay_parent: Hash, pub commitments_hash: Hash, }
    Expand description

    Builder for CandidateReceipt.

    -

    Fields§

    §para_id: ParaId§pov_hash: Hash§relay_parent: Hash§commitments_hash: Hash

    Implementations§

    source§

    impl TestCandidateBuilder

    source

    pub fn build(self) -> CandidateReceipt

    Build a CandidateReceipt.

    +

    Fields§

    §para_id: ParaId§pov_hash: Hash§relay_parent: Hash§commitments_hash: Hash

    Implementations§

    source§

    impl TestCandidateBuilder

    source

    pub fn build(self) -> CandidateReceipt

    Build a CandidateReceipt.

    Trait Implementations§

    source§

    impl Default for TestCandidateBuilder

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    const: unstable · source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/polkadot_runtime/struct.Runtime.html b/doc/polkadot_runtime/struct.Runtime.html index 5f6f835ac2f5..21abc565c3a6 100644 --- a/doc/polkadot_runtime/struct.Runtime.html +++ b/doc/polkadot_runtime/struct.Runtime.html @@ -163,7 +163,7 @@ unbonding in. Read more

    §

    type HistoryDepth = ConstU32<84>

    Number of eras to keep in history. Read more
    §

    type BenchmarkingConfig = StakingBenchmarkingConfig

    Some parameters of the benchmarking.
    §

    type EventListeners = Pallet<Runtime>

    Something that listens to staking updates and performs actions based on the data it receives. Read more
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type RuntimeCall = RuntimeCall

    The overarching call type.
    §

    type Currency = Pallet<Runtime, ()>

    The currency mechanism.
    §

    type DepositBase = DepositBase

    The base amount of currency needed to reserve for creating a multisig execution or to store a dispatch call for later. Read more
    §

    type DepositFactor = DepositFactor

    The amount of currency needed per unit threshold when creating a multisig execution. Read more
    §

    type MaxSignatories = MaxSignatories

    The maximum amount of signatories allowed in the multisig.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, (BackingToPlurality<RuntimeOrigin, RawOrigin<<Runtime as Config>::AccountId, Instance1>, CouncilBodyId>, OriginToPluralityVoice<RuntimeOrigin, StakingAdmin, StakingAdminBodyId>, OriginToPluralityVoice<RuntimeOrigin, FellowshipAdmin, FellowshipAdminBodyId>)>

    Required origin for sending XCM messages. If successful, it resolves to MultiLocation -which exists as an interior location within this chain’s XCM context.
    §

    type XcmRouter = (ChildParachainRouter<Runtime, Pallet<Runtime>, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>>,)

    The type used to actually dispatch an XCM to its destination.
    §

    type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, (BackingToPlurality<RuntimeOrigin, RawOrigin<<Runtime as Config>::AccountId, Instance1>, CouncilBodyId>, SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ThisNetwork>)>

    Required origin for executing XCM messages, including the teleport functionality. If +which exists as an interior location within this chain’s XCM context.
    §

    type XcmRouter = WithUniqueTopic<(ChildParachainRouter<Runtime, Pallet<Runtime>, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>>,)>

    The type used to actually dispatch an XCM to its destination.
    §

    type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, (BackingToPlurality<RuntimeOrigin, RawOrigin<<Runtime as Config>::AccountId, Instance1>, CouncilBodyId>, SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ThisNetwork>)>

    Required origin for executing XCM messages, including the teleport functionality. If successful, then it resolves to MultiLocation which exists as an interior location within this chain’s XCM context.
    §

    type XcmExecuteFilter = Nothing

    Our XCM filter which messages to be executed using XcmExecutor must pass.
    §

    type XcmExecutor = XcmExecutor<XcmConfig>

    Something to execute an XCM message.
    §

    type XcmTeleportFilter = Everything

    Our XCM filter which messages to be teleported using the dedicated extrinsic must pass.
    §

    type XcmReserveTransferFilter = Everything

    Our XCM filter which messages to be reserve-transferred using the dedicated extrinsic must pass.
    §

    type Weigher = WeightInfoBounds<PolkadotXcmWeight<RuntimeCall>, RuntimeCall, MaxInstructions>

    Means of measuring the weight consumed by an XCM message locally.
    §

    type UniversalLocation = UniversalLocation

    This chain’s Universal Location.
    §

    type RuntimeOrigin = RuntimeOrigin

    The runtime Origin type.
    §

    type RuntimeCall = RuntimeCall

    The runtime Call type.
    source§

    const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100u32

    §

    type AdvertisedXcmVersion = CurrentXcmVersion

    The latest supported version that we advertise. Generally just set it to diff --git a/doc/polkadot_runtime/xcm_config/struct.XcmConfig.html b/doc/polkadot_runtime/xcm_config/struct.XcmConfig.html index 84753a0dbc7f..31fd32b326b1 100644 --- a/doc/polkadot_runtime/xcm_config/struct.XcmConfig.html +++ b/doc/polkadot_runtime/xcm_config/struct.XcmConfig.html @@ -1,4 +1,4 @@ -XcmConfig in polkadot_runtime::xcm_config - Rust
    pub struct XcmConfig;

    Trait Implementations§

    source§

    impl Config for XcmConfig

    §

    type RuntimeCall = RuntimeCall

    The outer call dispatch type.
    §

    type XcmSender = (ChildParachainRouter<Runtime, Pallet<Runtime>, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>>,)

    How to send an onward XCM message.
    §

    type AssetTransactor = CurrencyAdapter<Pallet<Runtime, ()>, IsConcrete<TokenLocation>, (ChildParachainConvertsVia<Id, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<ThisNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>), <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, LocalCheckAccount>

    How to withdraw and deposit an asset.
    §

    type OriginConverter = (SovereignSignedViaLocation<(ChildParachainConvertsVia<Id, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<ThisNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>), RuntimeOrigin>, ChildParachainAsNative<Origin, RuntimeOrigin>, SignedAccountId32AsNative<ThisNetwork, RuntimeOrigin>, XcmPassthrough<RuntimeOrigin>)

    How to get a call origin from a OriginKind value.
    §

    type IsReserve = ()

    Combinations of (Asset, Location) pairs which we trust as reserves.
    §

    type IsTeleporter = (Case<DotForStatemint>, Case<DotForCollectives>)

    Combinations of (Asset, Location) pairs which we trust as teleporters.
    §

    type UniversalLocation = UniversalLocation

    This chain’s Universal Location.
    §

    type Barrier = (TakeWeightCredit, AllowKnownQueryResponses<Pallet<Runtime>>, WithComputedOrigin<(AllowTopLevelPaidExecutionFrom<Everything>, AllowSubscriptionsFrom<OnlyParachains>, AllowExplicitUnpaidExecutionFrom<CollectivesOrFellows>), UniversalLocation, ConstU32<8>>)

    Whether we should execute the given XCM at all.
    §

    type Weigher = WeightInfoBounds<PolkadotXcmWeight<RuntimeCall>, RuntimeCall, MaxInstructions>

    The means of determining an XCM message’s weight.
    §

    type Trader = UsingComponents<WeightToFee, TokenLocation, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Pallet<Runtime, ()>, ToAuthor<Runtime>>

    The means of purchasing weight credit for XCM execution.
    §

    type ResponseHandler = Pallet<Runtime>

    What to do when a response of a query is found.
    §

    type AssetTrap = Pallet<Runtime>

    The general asset trap - handler for when assets are left in the Holding Register at the +XcmConfig in polkadot_runtime::xcm_config - Rust
    pub struct XcmConfig;

    Trait Implementations§

    source§

    impl Config for XcmConfig

    §

    type RuntimeCall = RuntimeCall

    The outer call dispatch type.
    §

    type XcmSender = WithUniqueTopic<(ChildParachainRouter<Runtime, Pallet<Runtime>, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>>,)>

    How to send an onward XCM message.
    §

    type AssetTransactor = CurrencyAdapter<Pallet<Runtime, ()>, IsConcrete<TokenLocation>, (ChildParachainConvertsVia<Id, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<ThisNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>), <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, LocalCheckAccount>

    How to withdraw and deposit an asset.
    §

    type OriginConverter = (SovereignSignedViaLocation<(ChildParachainConvertsVia<Id, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<ThisNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>), RuntimeOrigin>, ChildParachainAsNative<Origin, RuntimeOrigin>, SignedAccountId32AsNative<ThisNetwork, RuntimeOrigin>, XcmPassthrough<RuntimeOrigin>)

    How to get a call origin from a OriginKind value.
    §

    type IsReserve = ()

    Combinations of (Asset, Location) pairs which we trust as reserves.
    §

    type IsTeleporter = (Case<DotForStatemint>, Case<DotForCollectives>)

    Combinations of (Asset, Location) pairs which we trust as teleporters.
    §

    type UniversalLocation = UniversalLocation

    This chain’s Universal Location.
    §

    type Barrier = TrailingSetTopicAsId<(TakeWeightCredit, AllowKnownQueryResponses<Pallet<Runtime>>, WithComputedOrigin<(AllowTopLevelPaidExecutionFrom<Everything>, AllowSubscriptionsFrom<OnlyParachains>, AllowExplicitUnpaidExecutionFrom<CollectivesOrFellows>), UniversalLocation, ConstU32<8>>)>

    Whether we should execute the given XCM at all.
    §

    type Weigher = WeightInfoBounds<PolkadotXcmWeight<RuntimeCall>, RuntimeCall, MaxInstructions>

    The means of determining an XCM message’s weight.
    §

    type Trader = UsingComponents<WeightToFee, TokenLocation, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Pallet<Runtime, ()>, ToAuthor<Runtime>>

    The means of purchasing weight credit for XCM execution.
    §

    type ResponseHandler = Pallet<Runtime>

    What to do when a response of a query is found.
    §

    type AssetTrap = Pallet<Runtime>

    The general asset trap - handler for when assets are left in the Holding Register at the end of execution.
    §

    type AssetLocker = ()

    Handler for asset locking.
    §

    type AssetExchanger = ()

    Handler for exchanging assets.
    §

    type AssetClaims = Pallet<Runtime>

    The handler for when there is an instruction to claim assets.
    §

    type SubscriptionService = Pallet<Runtime>

    How we handle version subscription requests.
    §

    type PalletInstancesInfo = (Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime, ()>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime, Instance1>, Pallet<Runtime, Instance2>, Pallet<Runtime>, Pallet<Runtime, Instance1>, Pallet<Runtime, ()>, Pallet<Runtime, ()>, Pallet<Runtime, ()>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime, ()>, Pallet<Runtime>, Pallet<Runtime, ()>, Pallet<Runtime>, Pallet<Runtime, Instance1>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>)

    Information on all pallets.
    §

    type MaxAssetsIntoHolding = MaxAssetsIntoHolding

    The maximum number of assets we target to have in the Holding Register at any one time. Read more
    §

    type FeeManager = ()

    Configure the fees.
    §

    type MessageExporter = ()

    The method of exporting a message.
    §

    type UniversalAliases = Nothing

    The origin locations and specific universal junctions to which they are allowed to elevate themselves.
    §

    type CallDispatcher = WithOriginFilter<SafeCallFilter>

    The call dispatcher used by XCM. Read more
    §

    type SafeCallFilter = SafeCallFilter

    The safe call filter for Transact. Read more
    §

    type Aliasers = Nothing

    A list of (Origin, Target) pairs allowing a given Origin to be substituted with its corresponding Target pair.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/polkadot_runtime/xcm_config/type.Barrier.html b/doc/polkadot_runtime/xcm_config/type.Barrier.html index 9c6aaab5b2ac..500529783a29 100644 --- a/doc/polkadot_runtime/xcm_config/type.Barrier.html +++ b/doc/polkadot_runtime/xcm_config/type.Barrier.html @@ -1,2 +1,2 @@ -Barrier in polkadot_runtime::xcm_config - Rust

    Type Definition polkadot_runtime::xcm_config::Barrier

    source ·
    pub type Barrier = (TakeWeightCredit, AllowKnownQueryResponses<XcmPallet>, WithComputedOrigin<(AllowTopLevelPaidExecutionFrom<Everything>, AllowSubscriptionsFrom<OnlyParachains>, AllowExplicitUnpaidExecutionFrom<CollectivesOrFellows>), UniversalLocation, ConstU32<8>>);
    Expand description

    The barriers one of which must be passed for an XCM message to be executed.

    +Barrier in polkadot_runtime::xcm_config - Rust

    Type Definition polkadot_runtime::xcm_config::Barrier

    source ·
    pub type Barrier = TrailingSetTopicAsId<(TakeWeightCredit, AllowKnownQueryResponses<XcmPallet>, WithComputedOrigin<(AllowTopLevelPaidExecutionFrom<Everything>, AllowSubscriptionsFrom<OnlyParachains>, AllowExplicitUnpaidExecutionFrom<CollectivesOrFellows>), UniversalLocation, ConstU32<8>>)>;
    Expand description

    The barriers one of which must be passed for an XCM message to be executed.

    \ No newline at end of file diff --git a/doc/polkadot_runtime/xcm_config/type.XcmRouter.html b/doc/polkadot_runtime/xcm_config/type.XcmRouter.html index f995be3b3513..7384cad15a3e 100644 --- a/doc/polkadot_runtime/xcm_config/type.XcmRouter.html +++ b/doc/polkadot_runtime/xcm_config/type.XcmRouter.html @@ -1,3 +1,3 @@ -XcmRouter in polkadot_runtime::xcm_config - Rust

    Type Definition polkadot_runtime::xcm_config::XcmRouter

    source ·
    pub type XcmRouter = (ChildParachainRouter<Runtime, XcmPallet, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Dmp>>,);
    Expand description

    The XCM router. When we want to send an XCM message, we use this type. It amalgamates all of our +XcmRouter in polkadot_runtime::xcm_config - Rust

    Type Definition polkadot_runtime::xcm_config::XcmRouter

    source ·
    pub type XcmRouter = WithUniqueTopic<(ChildParachainRouter<Runtime, XcmPallet, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Dmp>>,)>;
    Expand description

    The XCM router. When we want to send an XCM message, we use this type. It amalgamates all of our individual routers.

    \ No newline at end of file diff --git a/doc/polkadot_runtime_metrics/struct.Counter.html b/doc/polkadot_runtime_metrics/struct.Counter.html index 18b418dc8200..11c9f5379aca 100644 --- a/doc/polkadot_runtime_metrics/struct.Counter.html +++ b/doc/polkadot_runtime_metrics/struct.Counter.html @@ -1,6 +1,6 @@ Counter in polkadot_runtime_metrics - Rust
    pub struct Counter;
    Expand description

    A dummy Counter.

    Implementations§

    source§

    impl Counter

    Dummy implementation.

    -
    source

    pub const fn new(_definition: CounterDefinition) -> Self

    Constructor.

    +
    source

    pub const fn new(_definition: CounterDefinition) -> Self

    Constructor.

    source

    pub fn inc_by(&self, _: u64)

    Increment counter by value, implementation is a no op.

    source

    pub fn inc(&self)

    Increment counter, implementation is a no op.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/polkadot_runtime_metrics/struct.CounterVec.html b/doc/polkadot_runtime_metrics/struct.CounterVec.html index cefaa8a4495c..9f8def2eeede 100644 --- a/doc/polkadot_runtime_metrics/struct.CounterVec.html +++ b/doc/polkadot_runtime_metrics/struct.CounterVec.html @@ -1,6 +1,6 @@ CounterVec in polkadot_runtime_metrics - Rust
    pub struct CounterVec;
    Expand description

    A dummy CounterVec.

    Implementations§

    source§

    impl CounterVec

    Dummy implementation.

    -
    source

    pub const fn new(_definition: CounterVecDefinition<'_>) -> Self

    Constructor.

    +
    source

    pub const fn new(_definition: CounterVecDefinition<'_>) -> Self

    Constructor.

    source

    pub fn with_label_values(&self, _label_values: &[&'static str]) -> &Self

    Sets label values, implementation is a no op.

    source

    pub fn inc_by(&self, _: u64)

    Increment counter by value, implementation is a no op.

    source

    pub fn inc(&self)

    Increment counter, implementation is a no op.

    diff --git a/doc/polkadot_runtime_metrics/struct.Histogram.html b/doc/polkadot_runtime_metrics/struct.Histogram.html index c862c9e9ae5a..fe0674526aef 100644 --- a/doc/polkadot_runtime_metrics/struct.Histogram.html +++ b/doc/polkadot_runtime_metrics/struct.Histogram.html @@ -1,6 +1,6 @@ Histogram in polkadot_runtime_metrics - Rust
    pub struct Histogram;
    Expand description

    A dummy Histogram

    Implementations§

    source§

    impl Histogram

    Dummy implementation

    -
    source

    pub const fn new(_definition: HistogramDefinition<'_>) -> Self

    Create a new histogram as specified by definition. This metric needs to be registered +

    source

    pub const fn new(_definition: HistogramDefinition<'_>) -> Self

    Create a new histogram as specified by definition. This metric needs to be registered in the client before it can be used.

    source

    pub fn observe(&self, _value: u128)

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere diff --git a/doc/polkadot_statement_table/generic/enum.Statement.html b/doc/polkadot_statement_table/generic/enum.Statement.html index 6787edd73762..ceba4e38a370 100644 --- a/doc/polkadot_statement_table/generic/enum.Statement.html +++ b/doc/polkadot_statement_table/generic/enum.Statement.html @@ -20,7 +20,7 @@ &self, __codec_dest_edqy: &mut __CodecOutputEdqy )

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl<'a> From<&'a Statement<CommittedCandidateReceipt<H256>, CandidateHash>> for PrimitiveStatement

    source§

    fn from(s: &'a Statement) -> PrimitiveStatement

    Converts to this type from the input type.
    source§

    impl<Candidate: PartialEq, Digest: PartialEq> PartialEq<Statement<Candidate, Digest>> for Statement<Candidate, Digest>

    source§

    fn eq(&self, other: &Statement<Candidate, Digest>) -> bool

    This method tests for self and other values to be equal, and is used + F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl<'a> From<&'a Statement<CommittedCandidateReceipt<H256>, CandidateHash>> for PrimitiveStatement

    source§

    fn from(s: &'a Statement) -> PrimitiveStatement

    Converts to this type from the input type.
    source§

    impl<Candidate: PartialEq, Digest: PartialEq> PartialEq<Statement<Candidate, Digest>> for Statement<Candidate, Digest>

    source§

    fn eq(&self, other: &Statement<Candidate, Digest>) -> 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 sufficient, and should not be overridden without very good reason.
    source§

    impl<Candidate, Digest> EncodeLike<Statement<Candidate, Digest>> for Statement<Candidate, Digest>where Candidate: Encode, @@ -48,8 +48,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_statement_table/generic/enum.ValidityAttestation.html b/doc/polkadot_statement_table/generic/enum.ValidityAttestation.html index d1a5843ca6c3..5798e214e0a6 100644 --- a/doc/polkadot_statement_table/generic/enum.ValidityAttestation.html +++ b/doc/polkadot_statement_table/generic/enum.ValidityAttestation.html @@ -19,7 +19,7 @@ &self, __codec_dest_edqy: &mut __CodecOutputEdqy )

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl Into<ValidityAttestation> for ValidityAttestation<ValidatorSignature>

    source§

    fn into(self) -> PrimitiveValidityAttestation

    Converts this type into the (usually inferred) input type.
    source§

    impl<Signature: PartialEq> PartialEq<ValidityAttestation<Signature>> for ValidityAttestation<Signature>

    source§

    fn eq(&self, other: &ValidityAttestation<Signature>) -> bool

    This method tests for self and other values to be equal, and is used + F: FnOnce(&[u8]) -> R,
    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl Into<ValidityAttestation> for ValidityAttestation<ValidatorSignature>

    source§

    fn into(self) -> PrimitiveValidityAttestation

    Converts this type into the (usually inferred) input type.
    source§

    impl<Signature: PartialEq> PartialEq<ValidityAttestation<Signature>> for ValidityAttestation<Signature>

    source§

    fn eq(&self, other: &ValidityAttestation<Signature>) -> 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 sufficient, and should not be overridden without very good reason.
    source§

    impl<Signature> EncodeLike<ValidityAttestation<Signature>> for ValidityAttestation<Signature>where Signature: Encode,

    source§

    impl<Signature> StructuralPartialEq for ValidityAttestation<Signature>

    Auto Trait Implementations§

    §

    impl<Signature> RefUnwindSafe for ValidityAttestation<Signature>where @@ -41,8 +41,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

    Causes self to use its Binary implementation when Debug-formatted.
    §

    fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

    Causes self to use its Display implementation when Debug-formatted.
    §

    fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_statement_table/generic/struct.AttestedCandidate.html b/doc/polkadot_statement_table/generic/struct.AttestedCandidate.html index 5b536f1efc13..28b264f67f08 100644 --- a/doc/polkadot_statement_table/generic/struct.AttestedCandidate.html +++ b/doc/polkadot_statement_table/generic/struct.AttestedCandidate.html @@ -65,8 +65,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    §

    impl<T> FmtForward for T

    §

    fn fmt_binary(self) -> FmtBinary<Self>where Self: Binary,

    Causes self to use its Binary implementation when Debug-formatted.
    §

    fn fmt_display(self) -> FmtDisplay<Self>where Self: Display,

    Causes self to use its Display implementation when Debug-formatted.
    §

    fn fmt_lower_exp(self) -> FmtLowerExp<Self>where diff --git a/doc/polkadot_statement_table/generic/struct.SignedStatement.html b/doc/polkadot_statement_table/generic/struct.SignedStatement.html index 999ae522a4f8..6b805eb27f70 100644 --- a/doc/polkadot_statement_table/generic/struct.SignedStatement.html +++ b/doc/polkadot_statement_table/generic/struct.SignedStatement.html @@ -65,8 +65,8 @@ ) -> Result<T, Error>

    Decode Self and consume all of the given input data. Read more
    §

    fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

    Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
    source§

    impl<T> DynClone for Twhere - T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    source§

    impl<T> EncodeAs<T> for Twhere - T: Encode,

    source§

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere + T: Clone,

    source§

    fn __clone_box(&self, _: Private) -> *mut ()

    §

    impl<T> EncodeAs<T> for Twhere + T: Encode,

    §

    fn encode_as(&self) -> Vec<u8, Global>

    Convert Self into T, then encode T. Read more
    source§

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    source§

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    §

    impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, diff --git a/doc/polkadot_statement_table/v2/type.Misbehavior.html b/doc/polkadot_statement_table/v2/type.Misbehavior.html index 8a8f4cdc329b..4b92e66a02f8 100644 --- a/doc/polkadot_statement_table/v2/type.Misbehavior.html +++ b/doc/polkadot_statement_table/v2/type.Misbehavior.html @@ -1,2 +1,2 @@ -Misbehavior in polkadot_statement_table::v2 - Rust

    Type Definition polkadot_statement_table::v2::Misbehavior

    source ·
    pub type Misbehavior = Misbehavior<CommittedCandidateReceipt, CandidateHash, ValidatorIndex, ValidatorSignature>;
    Expand description

    Kinds of misbehavior, along with proof.

    +Misbehavior in polkadot_statement_table::v2 - Rust

    Type Definition polkadot_statement_table::v2::Misbehavior

    source ·
    pub type Misbehavior = Misbehavior<CommittedCandidateReceipt, CandidateHash, ValidatorIndex, ValidatorSignature>;
    Expand description

    Kinds of misbehavior, along with proof.

    \ No newline at end of file diff --git a/doc/polkadot_statement_table/v2/type.SignedStatement.html b/doc/polkadot_statement_table/v2/type.SignedStatement.html index 05bc55303adb..eca531ce6187 100644 --- a/doc/polkadot_statement_table/v2/type.SignedStatement.html +++ b/doc/polkadot_statement_table/v2/type.SignedStatement.html @@ -1,2 +1,2 @@ -SignedStatement in polkadot_statement_table::v2 - Rust
    pub type SignedStatement = SignedStatement<CommittedCandidateReceipt, CandidateHash, ValidatorIndex, ValidatorSignature>;
    Expand description

    Signed statements about candidates.

    +SignedStatement in polkadot_statement_table::v2 - Rust
    pub type SignedStatement = SignedStatement<CommittedCandidateReceipt, CandidateHash, ValidatorIndex, ValidatorSignature>;
    Expand description

    Signed statements about candidates.

    \ No newline at end of file diff --git a/doc/polkadot_statement_table/v2/type.Statement.html b/doc/polkadot_statement_table/v2/type.Statement.html index 0c7d88ba346f..5fddd2251f5d 100644 --- a/doc/polkadot_statement_table/v2/type.Statement.html +++ b/doc/polkadot_statement_table/v2/type.Statement.html @@ -1,2 +1,2 @@ -Statement in polkadot_statement_table::v2 - Rust

    Type Definition polkadot_statement_table::v2::Statement

    source ·
    pub type Statement = Statement<CommittedCandidateReceipt, CandidateHash>;
    Expand description

    Statements about candidates on the network.

    +Statement in polkadot_statement_table::v2 - Rust

    Type Definition polkadot_statement_table::v2::Statement

    source ·
    pub type Statement = Statement<CommittedCandidateReceipt, CandidateHash>;
    Expand description

    Statements about candidates on the network.

    \ No newline at end of file diff --git a/doc/src/polkadot_runtime/xcm_config.rs.html b/doc/src/polkadot_runtime/xcm_config.rs.html index d75a27fb435f..2b064733b6f8 100644 --- a/doc/src/polkadot_runtime/xcm_config.rs.html +++ b/doc/src/polkadot_runtime/xcm_config.rs.html @@ -477,8 +477,8 @@ AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, BackingToPlurality, ChildParachainAsNative, ChildParachainConvertsVia, CurrencyAdapter as XcmCurrencyAdapter, IsConcrete, MintLocation, OriginToPluralityVoice, SignedAccountId32AsNative, - SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, - WeightInfoBounds, WithComputedOrigin, + SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, TrailingSetTopicAsId, + UsingComponents, WeightInfoBounds, WithComputedOrigin, WithUniqueTopic, }; use xcm_executor::traits::WithOriginFilter; @@ -554,14 +554,14 @@ /// The XCM router. When we want to send an XCM message, we use this type. It amalgamates all of our /// individual routers. -pub type XcmRouter = ( +pub type XcmRouter = WithUniqueTopic<( // Only one router so far - use DMP to communicate with child parachains. ChildParachainRouter< Runtime, XcmPallet, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Dmp>, >, -); +)>; parameter_types! { pub const Dot: MultiAssetFilter = Wild(AllOf { fun: WildFungible, id: Concrete(TokenLocation::get()) }); @@ -587,7 +587,7 @@ } /// The barriers one of which must be passed for an XCM message to be executed. -pub type Barrier = ( +pub type Barrier = TrailingSetTopicAsId<( // Weight that is paid for may be consumed. TakeWeightCredit, // Expected responses are OK. @@ -604,7 +604,7 @@ UniversalLocation, ConstU32<8>, >, -); +)>; /// A call filter for the XCM Transact instruction. This is a temporary measure until we /// properly account for proof size weights. diff --git a/doc/src/xcm/v3/junction.rs.html b/doc/src/xcm/v3/junction.rs.html index d19df1bf19e5..13fbd8467f43 100644 --- a/doc/src/xcm/v3/junction.rs.html +++ b/doc/src/xcm/v3/junction.rs.html @@ -464,6 +464,7 @@ 464 465 466 +467
    // Copyright (C) Parity Technologies (UK) Ltd.
     // This file is part of Polkadot.
     
    @@ -754,6 +755,7 @@
     	/// An instanced, indexed pallet that forms a constituent part of the context.
     	///
     	/// Generally used when the context is a Frame-based chain.
    +	// TODO XCMv4 inner should be `Compact<u32>`.
     	PalletInstance(u8),
     	/// A non-descript index within the context location.
     	///
    diff --git a/doc/staking_miner/polkadot_runtime_exports/struct.Runtime.html b/doc/staking_miner/polkadot_runtime_exports/struct.Runtime.html
    index 3cdf4893787e..0fa123686109 100644
    --- a/doc/staking_miner/polkadot_runtime_exports/struct.Runtime.html
    +++ b/doc/staking_miner/polkadot_runtime_exports/struct.Runtime.html
    @@ -15,31 +15,31 @@
     as providing an emergency solution is not checked. Thus, it must be a trusted origin.
    §

    type WeightInfo = WeightInfo<Runtime>

    The weight of the pallet.
    §

    type MaxWinners = MaxActiveValidators

    The maximum number of winners that can be elected by this ElectionProvider implementation. Read more
    §

    type ElectionBounds = ElectionBounds

    The maximum number of electing voters and electable targets to put in the snapshot. At the moment, snapshots are only over a single block, but once multi-block elections -are introduced they will take place over multiple blocks.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type MaxActiveChildBountyCount = MaxActiveChildBountyCount

    Maximum number of child bounties that can be added to a parent bounty.
    §

    type ChildBountyValueMinimum = ChildBountyValueMinimum

    Minimum value for a child-bounty.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type WeightInfo = WeightInfo<Runtime>

    The weight information for this pallet.
    §

    type RuntimeCall = RuntimeCall

    The overarching call type.
    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type WhitelistOrigin = EitherOfDiverse<EnsureRoot<<Runtime as Config>::AccountId>, EnsureXcm<IsVoiceOfBody<CollectivesLocation, FellowsBodyId>>>

    Required origin for whitelisting a call.
    §

    type DispatchWhitelistedOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, WhitelistedCaller>

    Required origin for dispatching whitelisted call with root origin.
    §

    type Preimages = Pallet<Runtime>

    The handler of pre-images.
    source§

    impl Config for Runtime

    §

    type WeightInfo = WeightInfo<Runtime>

    The Weight information for this pallet.
    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type Currency = Pallet<Runtime, ()>

    Currency type for this pallet.
    §

    type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

    An origin that can request a preimage be placed on-chain without a deposit or fee, or -manage existing preimages.
    §

    type BaseDeposit = PreimageBaseDeposit

    The base deposit for placing a preimage on chain.
    §

    type ByteDeposit = PreimageByteDeposit

    The per-byte deposit for placing a preimage on chain.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type OnChargeTransaction = CurrencyAdapter<Pallet<Runtime, ()>, DealWithFees<Runtime>>

    Handler for withdrawing, refunding and depositing the transaction fee. +are introduced they will take place over multiple blocks.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type MaxActiveChildBountyCount = MaxActiveChildBountyCount

    Maximum number of child bounties that can be added to a parent bounty.
    §

    type ChildBountyValueMinimum = ChildBountyValueMinimum

    Minimum value for a child-bounty.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type WeightInfo = WeightInfo<Runtime>

    The weight information for this pallet.
    §

    type RuntimeCall = RuntimeCall

    The overarching call type.
    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type WhitelistOrigin = EitherOfDiverse<EnsureRoot<<Runtime as Config>::AccountId>, EnsureXcm<IsVoiceOfBody<CollectivesLocation, FellowsBodyId>>>

    Required origin for whitelisting a call.
    §

    type DispatchWhitelistedOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, WhitelistedCaller>

    Required origin for dispatching whitelisted call with root origin.
    §

    type Preimages = Pallet<Runtime>

    The handler of pre-images.
    source§

    impl Config for Runtime

    §

    type WeightInfo = WeightInfo<Runtime>

    The Weight information for this pallet.
    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type Currency = Pallet<Runtime, ()>

    Currency type for this pallet.
    §

    type ManagerOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

    An origin that can request a preimage be placed on-chain without a deposit or fee, or +manage existing preimages.
    §

    type BaseDeposit = PreimageBaseDeposit

    The base deposit for placing a preimage on chain.
    §

    type ByteDeposit = PreimageByteDeposit

    The per-byte deposit for placing a preimage on chain.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type OnChargeTransaction = CurrencyAdapter<Pallet<Runtime, ()>, DealWithFees<Runtime>>

    Handler for withdrawing, refunding and depositing the transaction fee. Transaction fees are withdrawn before the transaction is executed. After the transaction was executed the transaction weight can be adjusted, depending on the used resources by the transaction. If the transaction weight is lower than expected, parts of the transaction fee might be refunded. In the end the fees can be deposited.
    §

    type OperationalFeeMultiplier = OperationalFeeMultiplier

    A fee mulitplier for Operational extrinsics to compute “virtual tip” to boost their -priority Read more
    §

    type WeightToFee = WeightToFee

    Convert a weight value into a deductible fee based on the currency type.
    §

    type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>

    Convert a length value into a deductible fee based on the currency type.
    §

    type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>

    Update the multiplier of the next block, based on the previous block’s weight.
    source§

    impl Config for Runtime

    §

    type ValidatorSet = Pallet<Runtime>

    A type for retrieving AccountIds of the validators in the current session. +priority Read more
    §

    type WeightToFee = WeightToFee

    Convert a weight value into a deductible fee based on the currency type.
    §

    type LengthToFee = ConstantMultiplier<u128, TransactionByteFee>

    Convert a length value into a deductible fee based on the currency type.
    §

    type FeeMultiplierUpdate = TargetedFeeAdjustment<Runtime, TargetBlockFullness, AdjustmentVariable, MinimumMultiplier, MaximumMultiplier>

    Update the multiplier of the next block, based on the previous block’s weight.
    source§

    impl Config for Runtime

    §

    type ValidatorSet = Pallet<Runtime>

    A type for retrieving AccountIds of the validators in the current session. These are stash keys of the validators. -It’s used for rewards and slashing. Identification is only needed for slashing.
    source§

    impl Config for Runtime

    §

    type BaseCallFilter = Everything

    The basic call filter to use in Origin. All origins are built with this filter as base, +It’s used for rewards and slashing. Identification is only needed for slashing.
    source§

    impl Config for Runtime

    §

    type BaseCallFilter = Everything

    The basic call filter to use in Origin. All origins are built with this filter as base, except Root.
    §

    type BlockWeights = BlockWeights

    Block & extrinsics weights: base values and limits.
    §

    type BlockLength = BlockLength

    The maximum length of a block (in bytes).
    §

    type RuntimeOrigin = RuntimeOrigin

    The RuntimeOrigin type used by dispatchable calls.
    §

    type RuntimeCall = RuntimeCall

    The aggregated RuntimeCall type.
    §

    type Nonce = u32

    This stores the number of previous transactions associated with a sender account.
    §

    type Hash = H256

    The output of the Hashing function.
    §

    type Hashing = BlakeTwo256

    The hashing system (algorithm) being used in the runtime (e.g. Blake2).
    §

    type AccountId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId

    The user account identifier type for the runtime.
    §

    type Lookup = AccountIdLookup<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>

    Converting trait to take a source type and convert to AccountId. Read more
    §

    type Block = Block<Header<u32, BlakeTwo256>, UncheckedExtrinsic<MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>, RuntimeCall, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>, PrevalidateAttests<Runtime>)>>

    The Block type used by the runtime. This is used by construct_runtime to retrieve the extrinsics or other block specific data as needed.
    §

    type RuntimeEvent = RuntimeEvent

    The aggregated event type of the runtime.
    §

    type BlockHashCount = BlockHashCount

    Maximum number of block number to block hash mappings to keep (oldest pruned first).
    §

    type DbWeight = RocksDbWeight

    The weight of runtime database operations the runtime can invoke.
    §

    type Version = Version

    Get the chain’s current version.
    §

    type PalletInfo = PalletInfo

    Provides information about the pallet setup in the runtime. Read more
    §

    type AccountData = AccountData<u128>

    Data to be associated with an account (other than nonce/transaction counter, which this -pallet does regardless).
    §

    type OnNewAccount = ()

    Handler for when a new account has just been created.
    §

    type OnKilledAccount = ()

    A function that is invoked when an account has been determined to be dead. Read more
    §

    type SystemWeightInfo = WeightInfo<Runtime>

    §

    type SS58Prefix = SS58Prefix

    The designated SS58 prefix of this chain. Read more
    §

    type OnSetCode = ()

    What to do if the runtime wants to change the code to something new. Read more
    §

    type MaxConsumers = ConstU32<16>

    The maximum number of consumers allowed on a single account.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type Leaser = Pallet<Runtime>

    The type representing the leasing system.
    §

    type Registrar = Pallet<Runtime>

    The parachain registrar type.
    §

    type EndingPeriod = EndingPeriod

    The number of blocks over which an auction may be retroactively ended.
    §

    type SampleLength = SampleLength

    The length of each sample to take during the ending period. Read more
    §

    type Randomness = RandomnessFromOneEpochAgo<Runtime>

    Something that provides randomness in the runtime.
    §

    type InitiateOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, AuctionAdmin>

    The origin which may initiate auctions.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight Information for the Extrinsics in the Pallet
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type Currency = Pallet<Runtime, ()>

    The nominating balance.
    §

    type RewardCounter = FixedU128

    The type that is used for reward counter. Read more
    §

    type BalanceToU256 = BalanceToU256

    Infallible method for converting Currency::Balance to U256.
    §

    type U256ToBalance = U256ToBalance

    Infallible method for converting U256 to Currency::Balance.
    §

    type Staking = Pallet<Runtime>

    The interface for nominating.
    §

    type PostUnbondingPoolsWindow = ConstU32<4>

    The amount of eras a SubPools::with_era pool can exist before it gets merged into the +pallet does regardless).
    §

    type OnNewAccount = ()

    Handler for when a new account has just been created.
    §

    type OnKilledAccount = ()

    A function that is invoked when an account has been determined to be dead. Read more
    §

    type SystemWeightInfo = WeightInfo<Runtime>

    §

    type SS58Prefix = SS58Prefix

    The designated SS58 prefix of this chain. Read more
    §

    type OnSetCode = ()

    What to do if the runtime wants to change the code to something new. Read more
    §

    type MaxConsumers = ConstU32<16>

    The maximum number of consumers allowed on a single account.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type Leaser = Pallet<Runtime>

    The type representing the leasing system.
    §

    type Registrar = Pallet<Runtime>

    The parachain registrar type.
    §

    type EndingPeriod = EndingPeriod

    The number of blocks over which an auction may be retroactively ended.
    §

    type SampleLength = SampleLength

    The length of each sample to take during the ending period. Read more
    §

    type Randomness = RandomnessFromOneEpochAgo<Runtime>

    Something that provides randomness in the runtime.
    §

    type InitiateOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, AuctionAdmin>

    The origin which may initiate auctions.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight Information for the Extrinsics in the Pallet
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type Currency = Pallet<Runtime, ()>

    The nominating balance.
    §

    type RewardCounter = FixedU128

    The type that is used for reward counter. Read more
    §

    type BalanceToU256 = BalanceToU256

    Infallible method for converting Currency::Balance to U256.
    §

    type U256ToBalance = U256ToBalance

    Infallible method for converting U256 to Currency::Balance.
    §

    type Staking = Pallet<Runtime>

    The interface for nominating.
    §

    type PostUnbondingPoolsWindow = ConstU32<4>

    The amount of eras a SubPools::with_era pool can exist before it gets merged into the SubPools::no_era pool. In other words, this is the amount of eras a member will be able to withdraw from an unbonding pool which is guaranteed to have the correct ratio of points to balance; once the with_era pool is merged into the no_era pool, the ratio -can become skewed due to some slashed ratio getting merged in at some point.
    §

    type MaxMetadataLen = ConstU32<256>

    The maximum length, in bytes, that a pools metadata maybe.
    §

    type MaxUnbonding = <Runtime as Config>::MaxUnlockingChunks

    The maximum number of simultaneous unbonding chunks that can exist per member.
    §

    type PalletId = PoolsPalletId

    The nomination pool’s pallet id.
    §

    type MaxPointsToBalance = MaxPointsToBalance

    The maximum pool points-to-balance ratio that an open pool can have. Read more
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type AuthorityId = Public

    The identifier type for an authority.
    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type ValidatorSet = Pallet<Runtime>

    A type for retrieving the validators supposed to be online in a session.
    §

    type NextSessionRotation = Pallet<Runtime>

    A trait that allows us to estimate the current session progress and also the -average session length. Read more
    §

    type ReportUnresponsiveness = Pallet<Runtime>

    A type that gives us the ability to submit unresponsiveness offence reports.
    §

    type UnsignedPriority = ImOnlineUnsignedPriority

    A configuration for base priority of unsigned transactions. Read more
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    §

    type MaxKeys = MaxKeys

    The maximum number of keys that can be added.
    §

    type MaxPeerInHeartbeats = MaxPeerInHeartbeats

    The maximum number of peers to be stored in ReceivedHeartbeats
    source§

    impl Config for Runtime

    §

    type RuntimeOrigin = RuntimeOrigin

    §

    type RuntimeEvent = RuntimeEvent

    The outer event type.
    §

    type ChannelManager = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, GeneralAdmin>

    The origin that can perform “force” actions on channels.
    §

    type Currency = Pallet<Runtime, ()>

    An interface for reserving deposits for opening channels. Read more
    §

    type WeightInfo = WeightInfo<Runtime>

    Something that provides the weight of this pallet.
    source§

    impl Config for Runtime

    §

    type MoveClaimOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

    Only Root can move a claim.

    -
    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type VestingSchedule = Pallet<Runtime>

    §

    type Prefix = Prefix

    §

    type WeightInfo = WeightInfo<Runtime>

    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type RuntimeCall = RuntimeCall

    The overarching call type.
    §

    type Currency = Pallet<Runtime, ()>

    The currency mechanism.
    §

    type ProxyType = ProxyType

    A kind of proxy; specified with the proxy and passed in to the IsProxyable fitler. -The instance filter determines whether a given call may be proxied under this type. Read more
    §

    type ProxyDepositBase = ProxyDepositBase

    The base amount of currency needed to reserve for creating a proxy. Read more
    §

    type ProxyDepositFactor = ProxyDepositFactor

    The amount of currency needed per proxy added. Read more
    §

    type MaxProxies = MaxProxies

    The maximum amount of proxies allowed for a single account.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    §

    type MaxPending = MaxPending

    The maximum amount of time-delayed announcements that are allowed to be pending.
    §

    type CallHasher = BlakeTwo256

    The type of hash used for hashing the call.
    §

    type AnnouncementDepositBase = AnnouncementDepositBase

    The base amount of currency needed to reserve for creating an announcement. Read more
    §

    type AnnouncementDepositFactor = AnnouncementDepositFactor

    The amount of currency needed per announcement made. Read more
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type Currency = Pallet<Runtime, ()>

    The currency used for deposits.
    §

    type BatchSize = ConstU32<16>

    Batch size. Read more
    §

    type Deposit = ConstU128<polkadot_runtime::::{impl#18}::Deposit::{constant#0}>

    Deposit to take for unstaking, to make sure we’re able to slash the it in order to cover -the costs of resources on unsuccessful unstake.
    §

    type ControlOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

    The origin that can control this pallet, in other words invoke [Pallet::control].
    §

    type Staking = Pallet<Runtime>

    The access to staking functionality.
    §

    type MaxErasToCheckPerBlock = ConstU32<1>

    Maximum value for ErasToCheckPerBlock, checked in [Pallet::control]. Read more
    §

    type WeightInfo = WeightInfo<Runtime>

    The weight information of this pallet.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type Size = u32

    Page/heap size type.
    §

    type HeapSize = MessageQueueHeapSize

    The size of the page; this implies the maximum message size which can be sent. Read more
    §

    type MaxStale = MessageQueueMaxStale

    The maximum number of stale pages (i.e. of overweight messages) allowed before culling +can become skewed due to some slashed ratio getting merged in at some point.
    §

    type MaxMetadataLen = ConstU32<256>

    The maximum length, in bytes, that a pools metadata maybe.
    §

    type MaxUnbonding = <Runtime as Config>::MaxUnlockingChunks

    The maximum number of simultaneous unbonding chunks that can exist per member.
    §

    type PalletId = PoolsPalletId

    The nomination pool’s pallet id.
    §

    type MaxPointsToBalance = MaxPointsToBalance

    The maximum pool points-to-balance ratio that an open pool can have. Read more
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type RuntimeOrigin = RuntimeOrigin

    §

    type RuntimeEvent = RuntimeEvent

    The outer event type.
    §

    type ChannelManager = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, GeneralAdmin>

    The origin that can perform “force” actions on channels.
    §

    type Currency = Pallet<Runtime, ()>

    An interface for reserving deposits for opening channels. Read more
    §

    type WeightInfo = WeightInfo<Runtime>

    Something that provides the weight of this pallet.
    source§

    impl Config for Runtime

    §

    type AuthorityId = Public

    The identifier type for an authority.
    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type ValidatorSet = Pallet<Runtime>

    A type for retrieving the validators supposed to be online in a session.
    §

    type NextSessionRotation = Pallet<Runtime>

    A trait that allows us to estimate the current session progress and also the +average session length. Read more
    §

    type ReportUnresponsiveness = Pallet<Runtime>

    A type that gives us the ability to submit unresponsiveness offence reports.
    §

    type UnsignedPriority = ImOnlineUnsignedPriority

    A configuration for base priority of unsigned transactions. Read more
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    §

    type MaxKeys = MaxKeys

    The maximum number of keys that can be added.
    §

    type MaxPeerInHeartbeats = MaxPeerInHeartbeats

    The maximum number of peers to be stored in ReceivedHeartbeats
    source§

    impl Config for Runtime

    §

    type MoveClaimOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

    Only Root can move a claim.

    +
    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type VestingSchedule = Pallet<Runtime>

    §

    type Prefix = Prefix

    §

    type WeightInfo = WeightInfo<Runtime>

    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type RuntimeCall = RuntimeCall

    The overarching call type.
    §

    type Currency = Pallet<Runtime, ()>

    The currency mechanism.
    §

    type ProxyType = ProxyType

    A kind of proxy; specified with the proxy and passed in to the IsProxyable fitler. +The instance filter determines whether a given call may be proxied under this type. Read more
    §

    type ProxyDepositBase = ProxyDepositBase

    The base amount of currency needed to reserve for creating a proxy. Read more
    §

    type ProxyDepositFactor = ProxyDepositFactor

    The amount of currency needed per proxy added. Read more
    §

    type MaxProxies = MaxProxies

    The maximum amount of proxies allowed for a single account.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    §

    type MaxPending = MaxPending

    The maximum amount of time-delayed announcements that are allowed to be pending.
    §

    type CallHasher = BlakeTwo256

    The type of hash used for hashing the call.
    §

    type AnnouncementDepositBase = AnnouncementDepositBase

    The base amount of currency needed to reserve for creating an announcement. Read more
    §

    type AnnouncementDepositFactor = AnnouncementDepositFactor

    The amount of currency needed per announcement made. Read more
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type Currency = Pallet<Runtime, ()>

    The currency used for deposits.
    §

    type BatchSize = ConstU32<16>

    Batch size. Read more
    §

    type Deposit = ConstU128<polkadot_runtime::::{impl#18}::Deposit::{constant#0}>

    Deposit to take for unstaking, to make sure we’re able to slash the it in order to cover +the costs of resources on unsuccessful unstake.
    §

    type ControlOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

    The origin that can control this pallet, in other words invoke [Pallet::control].
    §

    type Staking = Pallet<Runtime>

    The access to staking functionality.
    §

    type MaxErasToCheckPerBlock = ConstU32<1>

    Maximum value for ErasToCheckPerBlock, checked in [Pallet::control]. Read more
    §

    type WeightInfo = WeightInfo<Runtime>

    The weight information of this pallet.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type Size = u32

    Page/heap size type.
    §

    type HeapSize = MessageQueueHeapSize

    The size of the page; this implies the maximum message size which can be sent. Read more
    §

    type MaxStale = MessageQueueMaxStale

    The maximum number of stale pages (i.e. of overweight messages) allowed before culling can happen. Once there are more stale pages than this, then historical pages may be dropped, even if they contain unprocessed overweight messages.
    §

    type ServiceWeight = MessageQueueServiceWeight

    The amount of weight (if any) which should be provided to the message queue for servicing enqueued items. Read more
    §

    type MessageProcessor = MessageProcessor

    Processor for a message. Read more
    §

    type QueueChangeHandler = Pallet<Runtime>

    Code to be called when a message queue changes - either with items introduced or -removed.
    §

    type QueuePausedQuery = ()

    Queried by the pallet to check whether a queue can be serviced. Read more
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    §

    type UnsignedPriority = ParasUnsignedPriority

    §

    type QueueFootprinter = Pallet<Runtime>

    Retrieve how many UMP messages are enqueued for this para-chain. Read more
    §

    type NextSessionRotation = Pallet<Runtime>

    source§

    impl Config for Runtime

    §

    type EpochDuration = EpochDuration

    The amount of time, in slots, that each epoch should last. +removed.
    §

    type QueuePausedQuery = ()

    Queried by the pallet to check whether a queue can be serviced. Read more
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    §

    type UnsignedPriority = ParasUnsignedPriority

    §

    type QueueFootprinter = Pallet<Runtime>

    Retrieve how many UMP messages are enqueued for this para-chain. Read more
    §

    type NextSessionRotation = Pallet<Runtime>

    source§

    impl Config for Runtime

    §

    type EpochDuration = EpochDuration

    The amount of time, in slots, that each epoch should last. NOTE: Currently it is not possible to change the epoch duration after the chain has started. Attempting to do so will brick block production.
    §

    type ExpectedBlockTime = ExpectedBlockTime

    The expected average block time at which BABE should be creating blocks. Since BABE is probabilistic it is not trivial to figure out @@ -52,10 +52,10 @@ The proof must include the session index and validator count of the session at which the equivocation occurred.
    §

    type EquivocationReportSystem = EquivocationReportSystem<Runtime, Pallet<Runtime>, Pallet<Runtime>, ReportLongevity>

    The equivocation handling subsystem, defines methods to check/report an offence and for submitting a transaction to report an equivocation -(from an offchain context).
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    §

    type PalletId = PhragmenElectionPalletId

    Identifier for the elections-phragmen pallet’s lock
    §

    type Currency = Pallet<Runtime, ()>

    The currency that people are electing with.
    §

    type ChangeMembers = Pallet<Runtime, Instance1>

    What to do when the members change.
    §

    type InitializeMembers = Pallet<Runtime, Instance1>

    What to do with genesis members
    §

    type CurrencyToVote = U128CurrencyToVote

    Convert a balance into a number used for election calculation. +(from an offchain context).
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    §

    type PalletId = PhragmenElectionPalletId

    Identifier for the elections-phragmen pallet’s lock
    §

    type Currency = Pallet<Runtime, ()>

    The currency that people are electing with.
    §

    type ChangeMembers = Pallet<Runtime, Instance1>

    What to do when the members change.
    §

    type InitializeMembers = Pallet<Runtime, Instance1>

    What to do with genesis members
    §

    type CurrencyToVote = U128CurrencyToVote

    Convert a balance into a number used for election calculation. This must fit into a u64 but is allowed to be sensibly lossy.
    §

    type CandidacyBond = CandidacyBond

    How much should be locked up in order to submit one’s candidacy.
    §

    type VotingBondBase = VotingBondBase

    Base deposit associated with voting. Read more
    §

    type VotingBondFactor = VotingBondFactor

    The amount of bond that need to be locked for each vote (32 bytes).
    §

    type LoserCandidate = Pallet<Runtime, ()>

    Handler for the unbalanced reduction when a candidate has lost (and is not a runner-up)
    §

    type KickedMember = Pallet<Runtime, ()>

    Handler for the unbalanced reduction when a member has been kicked.
    §

    type DesiredMembers = DesiredMembers

    Number of members to elect.
    §

    type DesiredRunnersUp = DesiredRunnersUp

    Number of runners_up to keep.
    §

    type TermDuration = TermDuration

    How long each seat is kept. This defines the next block number at which an election round will happen. If set to zero, no elections are ever triggered and the module will -be in passive mode.
    §

    type MaxVoters = MaxVoters

    The maximum number of voters to allow in a phragmen election. Read more
    §

    type MaxVotesPerVoter = MaxVotesPerVoter

    Maximum numbers of votes per voter. Read more
    §

    type MaxCandidates = MaxCandidates

    The maximum number of candidates in a phragmen election. Read more
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    §

    type DisputesHandler = Pallet<Runtime>

    §

    type RewardValidators = RewardValidatorsWithEraPoints<Runtime>

    §

    type MessageQueue = Pallet<Runtime>

    The system message queue. Read more
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight info for the calls of this pallet.
    source§

    impl Config for Runtime

    §

    type Currency = Pallet<Runtime, ()>

    The staking balance.
    §

    type CurrencyBalance = u128

    Just the Currency::Balance type; we have this item to allow us to constrain it to +be in passive mode.
    §

    type MaxVoters = MaxVoters

    The maximum number of voters to allow in a phragmen election. Read more
    §

    type MaxVotesPerVoter = MaxVotesPerVoter

    Maximum numbers of votes per voter. Read more
    §

    type MaxCandidates = MaxCandidates

    The maximum number of candidates in a phragmen election. Read more
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    §

    type DisputesHandler = Pallet<Runtime>

    §

    type RewardValidators = RewardValidatorsWithEraPoints<Runtime>

    §

    type MessageQueue = Pallet<Runtime>

    The system message queue. Read more
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight info for the calls of this pallet.
    source§

    impl Config for Runtime

    §

    type Currency = Pallet<Runtime, ()>

    The staking balance.
    §

    type CurrencyBalance = u128

    Just the Currency::Balance type; we have this item to allow us to constrain it to From<u64>.
    §

    type UnixTime = Pallet<Runtime>

    Time used for computing era duration. Read more
    §

    type CurrencyToVote = U128CurrencyToVote

    Convert a balance into a number used for election calculation. This must fit into a u64 but is allowed to be sensibly lossy. The u64 is used to communicate with the [frame_election_provider_support] crate which accepts u64 numbers and does operations @@ -72,21 +72,21 @@ to be introduced in a follow-up PR. Read more
    §

    type NominationsQuota = FixedNominationsQuota<polkadot_runtime::::{impl#17}::NominationsQuota::{constant#0}>

    Something that defines the maximum number of nominations per nominator.
    §

    type MaxUnlockingChunks = ConstU32<32>

    The maximum number of unlocking chunks a [StakingLedger] can have. Effectively determines how many unique eras a staker may be unbonding in. Read more
    §

    type HistoryDepth = ConstU32<84>

    Number of eras to keep in history. Read more
    §

    type BenchmarkingConfig = StakingBenchmarkingConfig

    Some parameters of the benchmarking.
    §

    type EventListeners = Pallet<Runtime>

    Something that listens to staking updates and performs actions based on the data it -receives. Read more
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type RuntimeOrigin = RuntimeOrigin

    The aggregated origin type must support the parachains origin. We require that we can +receives. Read more
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type RuntimeOrigin = RuntimeOrigin

    The aggregated origin type must support the parachains origin. We require that we can infallibly convert between this origin and the system origin, but in reality, they’re the same type, we just can’t express that to the Rust type system without writing a where clause everywhere.
    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type Currency = Pallet<Runtime, ()>

    The system’s currency for parathread payment.
    §

    type OnSwap = (Pallet<Runtime>, Pallet<Runtime>)

    Runtime hook for when a parachain and parathread swap.
    §

    type ParaDeposit = ParaDeposit

    The deposit to be paid to run a parathread. -This should include the cost for storing the genesis head and validation code.
    §

    type DataDepositPerByte = ParaDataByteDeposit

    The deposit to be paid per byte stored on chain.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight Information for the Extrinsics in the Pallet
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type Currency = Pallet<Runtime, ()>

    The currency trait.
    §

    type BlockNumberToBalance = ConvertInto

    Convert the block number into a balance.
    §

    type MinVestedTransfer = MinVestedTransfer

    The minimum amount transferred to call vested_transfer.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    §

    type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons

    Reasons that determine under which conditions the balance may drop below -the unvested amount.
    source§

    const MAX_VESTING_SCHEDULES: u32 = 28u32

    Maximum number of vesting schedules an account may have at a given moment.
    source§

    impl Config for Runtime

    §

    type AccountIndex = u32

    Type used for storing an account’s index; implies the maximum number of accounts the -system can hold.
    §

    type Currency = Pallet<Runtime, ()>

    The currency trait.
    §

    type Deposit = IndexDeposit

    The deposit needed for reserving an index.
    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The event type of this module.
    §

    type WeightInfo = ()

    Weights for this pallet.
    §

    type MaxAuthorities = MaxAuthorities

    Max Authorities in use
    §

    type MaxNominators = MaxNominatorRewardedPerValidator

    The maximum number of nominators for each validator.
    §

    type MaxSetIdSessionEntries = MaxSetIdSessionEntries

    The maximum number of entries to keep in the set id to session index mapping. Read more
    §

    type KeyOwnerProof = <Pallet<Runtime> as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof

    The proof of key ownership, used for validating equivocation reports +This should include the cost for storing the genesis head and validation code.
    §

    type DataDepositPerByte = ParaDataByteDeposit

    The deposit to be paid per byte stored on chain.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight Information for the Extrinsics in the Pallet
    source§

    impl Config for Runtime

    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type Currency = Pallet<Runtime, ()>

    The currency trait.
    §

    type BlockNumberToBalance = ConvertInto

    Convert the block number into a balance.
    §

    type MinVestedTransfer = MinVestedTransfer

    The minimum amount transferred to call vested_transfer.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    §

    type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons

    Reasons that determine under which conditions the balance may drop below +the unvested amount.
    source§

    const MAX_VESTING_SCHEDULES: u32 = 28u32

    Maximum number of vesting schedules an account may have at a given moment.
    source§

    impl Config for Runtime

    §

    type AccountIndex = u32

    Type used for storing an account’s index; implies the maximum number of accounts the +system can hold.
    §

    type Currency = Pallet<Runtime, ()>

    The currency trait.
    §

    type Deposit = IndexDeposit

    The deposit needed for reserving an index.
    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The event type of this module.
    §

    type WeightInfo = ()

    Weights for this pallet.
    §

    type MaxAuthorities = MaxAuthorities

    Max Authorities in use
    §

    type MaxNominators = MaxNominatorRewardedPerValidator

    The maximum number of nominators for each validator.
    §

    type MaxSetIdSessionEntries = MaxSetIdSessionEntries

    The maximum number of entries to keep in the set id to session index mapping. Read more
    §

    type KeyOwnerProof = <Pallet<Runtime> as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof

    The proof of key ownership, used for validating equivocation reports The proof include the session index and validator count of the session at which the equivocation occurred.
    §

    type EquivocationReportSystem = EquivocationReportSystem<Runtime, Pallet<Runtime>, Pallet<Runtime>, ReportLongevity>

    The equivocation handling subsystem, defines methods to check/report an offence and for submitting a transaction to report an equivocation -(from an offchain context).
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    §

    type PalletId = CrowdloanId

    PalletId for the crowdloan pallet. An appropriate value could be +(from an offchain context).
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    §

    type PalletId = CrowdloanId

    PalletId for the crowdloan pallet. An appropriate value could be PalletId(*b"py/cfund")
    §

    type SubmissionDeposit = SubmissionDeposit

    The amount to be held on deposit by the depositor of a crowdloan.
    §

    type MinContribution = MinContribution

    The minimum amount that may be contributed into a crowdloan. Should almost certainly be at least ExistentialDeposit.
    §

    type RemoveKeysLimit = RemoveKeysLimit

    Max number of storage keys to remove per extrinsic call.
    §

    type Registrar = Pallet<Runtime>

    The parachain registrar type. We just use this to ensure that only the manager of a para -is able to start a crowdloan for its slot.
    §

    type Auctioneer = Pallet<Runtime>

    The type representing the auctioning system.
    §

    type MaxMemoLength = MaxMemoLength

    The maximum length for the memo attached to a crowdloan contribution.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight Information for the Extrinsics in the Pallet
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type Currency = Pallet<Runtime, ()>

    The currency type used for bidding.
    §

    type Registrar = Pallet<Runtime>

    The parachain registrar type.
    §

    type LeasePeriod = LeasePeriod

    The number of blocks over which a single period lasts.
    §

    type LeaseOffset = LeaseOffset

    The number of blocks to offset each lease period by.
    §

    type ForceOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, LeaseAdmin>

    The origin which may forcibly create or clear leases. Root can always do this.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight Information for the Extrinsics in the Pallet
    source§

    impl Config for Runtime

    §

    type RuntimeOrigin = RuntimeOrigin

    The aggregated origin which the dispatch will take.
    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type PalletsOrigin = OriginCaller

    The caller origin, overarching type of all pallets origins.
    §

    type RuntimeCall = RuntimeCall

    The aggregated call type.
    §

    type MaximumWeight = MaximumSchedulerWeight

    The maximum weight that may be scheduled per block for any dispatchables.
    §

    type ScheduleOrigin = EitherOf<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AuctionAdmin>

    Required origin to schedule or cancel calls.
    §

    type MaxScheduledPerBlock = MaxScheduledPerBlock

    The maximum number of scheduled calls in the queue for a single block. Read more
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    §

    type OriginPrivilegeCmp = OriginPrivilegeCmp

    Compare the privileges of origins. Read more
    §

    type Preimages = Pallet<Runtime>

    The preimage provider with which we look up call hashes to get the call.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type RuntimeCall = RuntimeCall

    The overarching call type.
    §

    type Currency = Pallet<Runtime, ()>

    The currency mechanism.
    §

    type DepositBase = DepositBase

    The base amount of currency needed to reserve for creating a multisig execution or to -store a dispatch call for later. Read more
    §

    type DepositFactor = DepositFactor

    The amount of currency needed per unit threshold when creating a multisig execution. Read more
    §

    type MaxSignatories = MaxSignatories

    The maximum amount of signatories allowed in the multisig.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type ExternalOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>

    A straight majority of the council can decide what their next motion is.

    +is able to start a crowdloan for its slot.
    §

    type Auctioneer = Pallet<Runtime>

    The type representing the auctioning system.
    §

    type MaxMemoLength = MaxMemoLength

    The maximum length for the memo attached to a crowdloan contribution.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight Information for the Extrinsics in the Pallet
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type Currency = Pallet<Runtime, ()>

    The currency type used for bidding.
    §

    type Registrar = Pallet<Runtime>

    The parachain registrar type.
    §

    type LeasePeriod = LeasePeriod

    The number of blocks over which a single period lasts.
    §

    type LeaseOffset = LeaseOffset

    The number of blocks to offset each lease period by.
    §

    type ForceOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, LeaseAdmin>

    The origin which may forcibly create or clear leases. Root can always do this.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight Information for the Extrinsics in the Pallet
    source§

    impl Config for Runtime

    §

    type RuntimeOrigin = RuntimeOrigin

    The aggregated origin which the dispatch will take.
    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type PalletsOrigin = OriginCaller

    The caller origin, overarching type of all pallets origins.
    §

    type RuntimeCall = RuntimeCall

    The aggregated call type.
    §

    type MaximumWeight = MaximumSchedulerWeight

    The maximum weight that may be scheduled per block for any dispatchables.
    §

    type ScheduleOrigin = EitherOf<EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AuctionAdmin>

    Required origin to schedule or cancel calls.
    §

    type MaxScheduledPerBlock = MaxScheduledPerBlock

    The maximum number of scheduled calls in the queue for a single block. Read more
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    §

    type OriginPrivilegeCmp = OriginPrivilegeCmp

    Compare the privileges of origins. Read more
    §

    type Preimages = Pallet<Runtime>

    The preimage provider with which we look up call hashes to get the call.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type RuntimeCall = RuntimeCall

    The overarching call type.
    §

    type Currency = Pallet<Runtime, ()>

    The currency mechanism.
    §

    type DepositBase = DepositBase

    The base amount of currency needed to reserve for creating a multisig execution or to +store a dispatch call for later. Read more
    §

    type DepositFactor = DepositFactor

    The amount of currency needed per unit threshold when creating a multisig execution. Read more
    §

    type MaxSignatories = MaxSignatories

    The maximum amount of signatories allowed in the multisig.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type ExternalOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 2>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>

    A straight majority of the council can decide what their next motion is.

    §

    type ExternalMajorityOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 3, 5>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>

    A 60% super-majority can have the next scheduled referendum be a straight majority-carries vote.

    §

    type ExternalDefaultOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 1, 1>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>

    A unanimous council can have the next scheduled referendum be a straight default-carries @@ -97,13 +97,13 @@ tabled to vote immediately and asynchronously in a similar manner to the emergency origin. It retains its threshold method.

    §

    type InstantAllowed = InstantAllowed

    Indicator for whether an emergency origin is even allowed to happen. Some chains may want to set this permanently to false, others may want to condition it on things such -as an upgrade having happened recently.
    §

    type FastTrackVotingPeriod = FastTrackVotingPeriod

    Minimum voting period allowed for a fast-track referendum.
    §

    type CancellationOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 2, 3>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>

    Origin from which any referendum may be cancelled in an emergency.
    §

    type CancelProposalOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 1, 1>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>

    Origin from which a proposal may be cancelled and its backers slashed.
    §

    type BlacklistOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

    Origin from which proposals may be blacklisted.
    §

    type VetoOrigin = EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2>

    Origin for anyone able to veto proposals.
    §

    type CooloffPeriod = CooloffPeriod

    Period in blocks where an external proposal may not be re-submitted after being vetoed.
    §

    type Slash = Pallet<Runtime, ()>

    Handler for the unbalanced reduction when slashing a preimage deposit.
    §

    type Scheduler = Pallet<Runtime>

    The Scheduler.
    §

    type PalletsOrigin = OriginCaller

    Overarching type of all pallets origins.
    §

    type MaxVotes = MaxVotes

    The maximum number of votes for an account. Read more
    §

    type WeightInfo = WeightInfo<Runtime>

    §

    type MaxProposals = MaxProposals

    The maximum number of public proposals that can exist at any time.
    §

    type Preimages = Pallet<Runtime>

    The Preimage provider.
    §

    type MaxDeposits = ConstU32<100>

    The maximum number of deposits a public proposal may have at any time.
    §

    type MaxBlacklisted = ConstU32<100>

    The maximum number of items which can be blacklisted.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type RuntimeCall = RuntimeCall

    The overarching call type.
    §

    type PalletsOrigin = OriginCaller

    The caller origin, overarching type of all pallets origins.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type Currency = Pallet<Runtime, ()>

    The currency trait.
    §

    type BasicDeposit = BasicDeposit

    The amount held on deposit for a registered identity
    §

    type FieldDeposit = FieldDeposit

    The amount held on deposit per additional field for a registered identity.
    §

    type SubAccountDeposit = SubAccountDeposit

    The amount held on deposit for a registered subaccount. This should account for the fact +as an upgrade having happened recently.
    §

    type FastTrackVotingPeriod = FastTrackVotingPeriod

    Minimum voting period allowed for a fast-track referendum.
    §

    type CancellationOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance1, 2, 3>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>

    Origin from which any referendum may be cancelled in an emergency.
    §

    type CancelProposalOrigin = EitherOfDiverse<EnsureProportionAtLeast<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2, 1, 1>, EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>>

    Origin from which a proposal may be cancelled and its backers slashed.
    §

    type BlacklistOrigin = EnsureRoot<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>

    Origin from which proposals may be blacklisted.
    §

    type VetoOrigin = EnsureMember<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Instance2>

    Origin for anyone able to veto proposals.
    §

    type CooloffPeriod = CooloffPeriod

    Period in blocks where an external proposal may not be re-submitted after being vetoed.
    §

    type Slash = Pallet<Runtime, ()>

    Handler for the unbalanced reduction when slashing a preimage deposit.
    §

    type Scheduler = Pallet<Runtime>

    The Scheduler.
    §

    type PalletsOrigin = OriginCaller

    Overarching type of all pallets origins.
    §

    type MaxVotes = MaxVotes

    The maximum number of votes for an account. Read more
    §

    type WeightInfo = WeightInfo<Runtime>

    §

    type MaxProposals = MaxProposals

    The maximum number of public proposals that can exist at any time.
    §

    type Preimages = Pallet<Runtime>

    The Preimage provider.
    §

    type MaxDeposits = ConstU32<100>

    The maximum number of deposits a public proposal may have at any time.
    §

    type MaxBlacklisted = ConstU32<100>

    The maximum number of items which can be blacklisted.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type Currency = Pallet<Runtime, ()>

    The currency trait.
    §

    type BasicDeposit = BasicDeposit

    The amount held on deposit for a registered identity
    §

    type FieldDeposit = FieldDeposit

    The amount held on deposit per additional field for a registered identity.
    §

    type SubAccountDeposit = SubAccountDeposit

    The amount held on deposit for a registered subaccount. This should account for the fact that one storage item’s value will increase by the size of an account ID, and there will be another trie item whose value is the size of an account ID plus 32 bytes.
    §

    type MaxSubAccounts = MaxSubAccounts

    The maximum number of sub-accounts allowed per identified account.
    §

    type MaxAdditionalFields = MaxAdditionalFields

    Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O required to access an identity, but can be pretty high.
    §

    type MaxRegistrars = MaxRegistrars

    Maxmimum number of registrars allowed in the system. Needed to bound the complexity -of, e.g., updating judgements.
    §

    type Slashed = Pallet<Runtime, ()>

    What to do with slashed funds.
    §

    type ForceOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, GeneralAdmin>

    The origin which may forcibly set or remove a name. Root can always do this.
    §

    type RegistrarOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, GeneralAdmin>

    The origin which may add or remove registrars. Root can always do this.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type IdentificationTuple = (<Runtime as Config>::ValidatorId, <Runtime as Config>::FullIdentification)

    Full identification of the validator.
    §

    type OnOffenceHandler = Pallet<Runtime>

    A handler called for every offence report.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type ValidatorId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId

    A stable ID for a validator.
    §

    type ValidatorIdOf = StashOf<Runtime>

    A conversion from account ID to validator ID. Read more
    §

    type ShouldEndSession = Pallet<Runtime>

    Indicator for when to end the session.
    §

    type NextSessionRotation = Pallet<Runtime>

    Something that can predict the next session rotation. This should typically come from +of, e.g., updating judgements.
    §

    type Slashed = Pallet<Runtime, ()>

    What to do with slashed funds.
    §

    type ForceOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, GeneralAdmin>

    The origin which may forcibly set or remove a name. Root can always do this.
    §

    type RegistrarOrigin = EitherOf<EnsureRoot<<Runtime as Config>::AccountId>, GeneralAdmin>

    The origin which may add or remove registrars. Root can always do this.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type RuntimeCall = RuntimeCall

    The overarching call type.
    §

    type PalletsOrigin = OriginCaller

    The caller origin, overarching type of all pallets origins.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type IdentificationTuple = (<Runtime as Config>::ValidatorId, <Runtime as Config>::FullIdentification)

    Full identification of the validator.
    §

    type OnOffenceHandler = Pallet<Runtime>

    A handler called for every offence report.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type ValidatorId = <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId

    A stable ID for a validator.
    §

    type ValidatorIdOf = StashOf<Runtime>

    A conversion from account ID to validator ID. Read more
    §

    type ShouldEndSession = Pallet<Runtime>

    Indicator for when to end the session.
    §

    type NextSessionRotation = Pallet<Runtime>

    Something that can predict the next session rotation. This should typically come from the same logical unit that provides [ShouldEndSession], yet, it gives a best effort -estimate. It is helpful to implement [EstimateNextNewSession].
    §

    type SessionManager = NoteHistoricalRoot<Runtime, Pallet<Runtime>>

    Handler for managing new session.
    §

    type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders

    Handler when a session has changed.
    §

    type Keys = SessionKeys

    The keys.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type KeyOwnerProofSystem = Pallet<Runtime>

    A system for proving ownership of keys, i.e. that a given key was +estimate. It is helpful to implement [EstimateNextNewSession].
    §

    type SessionManager = NoteHistoricalRoot<Runtime, Pallet<Runtime>>

    Handler for managing new session.
    §

    type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders

    Handler when a session has changed.
    §

    type Keys = SessionKeys

    The keys.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type KeyOwnerProofSystem = Pallet<Runtime>

    A system for proving ownership of keys, i.e. that a given key was part of a validator set, needed for validating slashing reports.
    §

    type KeyOwnerProof = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::Proof

    The proof of key ownership, used for validating slashing reports. The proof must include the session index and validator count of the session at which the offence occurred.
    §

    type KeyOwnerIdentification = <<Runtime as Config>::KeyOwnerProofSystem as KeyOwnerProofSystem<(KeyTypeId, Public)>>::IdentificationTuple

    The identification of a key owner, used when reporting slashes.
    §

    type HandleReports = SlashingReportHandler<<Runtime as Config>::KeyOwnerIdentification, Pallet<Runtime>, ReportLongevity>

    The slashing report handling subsystem, defines methods to report an @@ -111,12 +111,12 @@ submitting a transaction to report a slash (from an offchain context). NOTE: when enabling slashing report handling (i.e. this type isn’t set to ()) you must use this pallet’s -ValidateUnsigned in the runtime definition.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    §

    type BenchmarkingConfig = BenchConfig<1000>

    Benchmarking configuration.
    source§

    impl Config for Runtime

    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type MaxAuthorities = MaxAuthorities

    The maximum number of authorities that can be added.
    source§

    impl Config for Runtime

    §

    type Moment = u64

    Type used for expressing timestamp.
    §

    type OnTimestampSet = Pallet<Runtime>

    Something which can be notified when the timestamp is set. Set this to () if not +ValidateUnsigned in the runtime definition.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    §

    type BenchmarkingConfig = BenchConfig<1000>

    Benchmarking configuration.
    source§

    impl Config for Runtime

    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type MaxAuthorities = MaxAuthorities

    The maximum number of authorities that can be added.
    source§

    impl Config for Runtime

    §

    type Moment = u64

    Type used for expressing timestamp.
    §

    type OnTimestampSet = Pallet<Runtime>

    Something which can be notified when the timestamp is set. Set this to () if not needed.
    §

    type MinimumPeriod = MinimumPeriod

    The minimum period between blocks. Beware that this is different to the expected period that the block production apparatus provides. Your chosen consensus system will generally work with this to determine a sensible block time. e.g. For Aura, it will be double this period on default settings.
    §

    type WeightInfo = WeightInfo<Runtime>

    Weight information for extrinsics in this pallet.
    source§

    impl Config for Runtime

    §

    type RuntimeEvent = RuntimeEvent

    The overarching event type.
    §

    type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, (BackingToPlurality<RuntimeOrigin, RawOrigin<<Runtime as Config>::AccountId, Instance1>, CouncilBodyId>, OriginToPluralityVoice<RuntimeOrigin, StakingAdmin, StakingAdminBodyId>, OriginToPluralityVoice<RuntimeOrigin, FellowshipAdmin, FellowshipAdminBodyId>)>

    Required origin for sending XCM messages. If successful, it resolves to MultiLocation -which exists as an interior location within this chain’s XCM context.
    §

    type XcmRouter = (ChildParachainRouter<Runtime, Pallet<Runtime>, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>>,)

    The type used to actually dispatch an XCM to its destination.
    §

    type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, (BackingToPlurality<RuntimeOrigin, RawOrigin<<Runtime as Config>::AccountId, Instance1>, CouncilBodyId>, SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ThisNetwork>)>

    Required origin for executing XCM messages, including the teleport functionality. If +which exists as an interior location within this chain’s XCM context.
    §

    type XcmRouter = WithUniqueTopic<(ChildParachainRouter<Runtime, Pallet<Runtime>, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>>,)>

    The type used to actually dispatch an XCM to its destination.
    §

    type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, (BackingToPlurality<RuntimeOrigin, RawOrigin<<Runtime as Config>::AccountId, Instance1>, CouncilBodyId>, SignedToAccountId32<RuntimeOrigin, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ThisNetwork>)>

    Required origin for executing XCM messages, including the teleport functionality. If successful, then it resolves to MultiLocation which exists as an interior location within this chain’s XCM context.
    §

    type XcmExecuteFilter = Nothing

    Our XCM filter which messages to be executed using XcmExecutor must pass.
    §

    type XcmExecutor = XcmExecutor<XcmConfig>

    Something to execute an XCM message.
    §

    type XcmTeleportFilter = Everything

    Our XCM filter which messages to be teleported using the dedicated extrinsic must pass.
    §

    type XcmReserveTransferFilter = Everything

    Our XCM filter which messages to be reserve-transferred using the dedicated extrinsic must pass.
    §

    type Weigher = WeightInfoBounds<PolkadotXcmWeight<RuntimeCall>, RuntimeCall, MaxInstructions>

    Means of measuring the weight consumed by an XCM message locally.
    §

    type UniversalLocation = UniversalLocation

    This chain’s Universal Location.
    §

    type RuntimeOrigin = RuntimeOrigin

    The runtime Origin type.
    §

    type RuntimeCall = RuntimeCall

    The runtime Call type.
    source§

    const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100u32

    §

    type AdvertisedXcmVersion = CurrentXcmVersion

    The latest supported version that we advertise. Generally just set it to @@ -140,7 +140,7 @@ ) -> Result<(), TransactionValidityError>

    Validate the call right before dispatch. Read more
    source§

    fn validate_unsigned( source: TransactionSource, call: &<Runtime as ValidateUnsigned>::Call -) -> Result<ValidTransaction, TransactionValidityError>

    Return the validity of the call Read more
    source§

    impl Config for Runtime

    source§

    impl Config for Runtime

    source§

    impl Config for Runtime

    source§

    impl Config for Runtime

    source§

    impl Config for Runtime

    source§

    impl Copy for Runtime

    source§

    impl Eq for Runtime

    source§

    impl StructuralEq for Runtime

    source§

    impl StructuralPartialEq for Runtime

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +) -> Result<ValidTransaction, TransactionValidityError>

    Return the validity of the call Read more
    source§

    impl Config for Runtime

    source§

    impl Config for Runtime

    source§

    impl Config for Runtime

    source§

    impl Config for Runtime

    source§

    impl Config for Runtime

    source§

    impl Copy for Runtime

    source§

    impl Eq for Runtime

    source§

    impl StructuralEq for Runtime

    source§

    impl StructuralPartialEq for Runtime

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Runtime

    §

    impl Send for Runtime

    §

    impl Sync for Runtime

    §

    impl Unpin for Runtime

    §

    impl UnwindSafe for Runtime

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> Any for Twhere T: Any,

    §

    fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>

    §

    fn type_name(&self) -> &'static str

    §

    impl<T> AnySync for Twhere T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync + 'static>

    source§

    impl<T> AuthorityDiscoveryConfig for Twhere diff --git a/doc/staking_miner/polkadot_runtime_exports/xcm_config/struct.XcmConfig.html b/doc/staking_miner/polkadot_runtime_exports/xcm_config/struct.XcmConfig.html index 813bc573b89d..4d30557d829d 100644 --- a/doc/staking_miner/polkadot_runtime_exports/xcm_config/struct.XcmConfig.html +++ b/doc/staking_miner/polkadot_runtime_exports/xcm_config/struct.XcmConfig.html @@ -1,4 +1,4 @@ -XcmConfig in staking_miner::polkadot_runtime_exports::xcm_config - Rust
    pub struct XcmConfig;

    Trait Implementations§

    source§

    impl Config for XcmConfig

    §

    type RuntimeCall = RuntimeCall

    The outer call dispatch type.
    §

    type XcmSender = (ChildParachainRouter<Runtime, Pallet<Runtime>, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>>,)

    How to send an onward XCM message.
    §

    type AssetTransactor = CurrencyAdapter<Pallet<Runtime, ()>, IsConcrete<TokenLocation>, (ChildParachainConvertsVia<Id, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<ThisNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>), <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, LocalCheckAccount>

    How to withdraw and deposit an asset.
    §

    type OriginConverter = (SovereignSignedViaLocation<(ChildParachainConvertsVia<Id, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<ThisNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>), RuntimeOrigin>, ChildParachainAsNative<Origin, RuntimeOrigin>, SignedAccountId32AsNative<ThisNetwork, RuntimeOrigin>, XcmPassthrough<RuntimeOrigin>)

    How to get a call origin from a OriginKind value.
    §

    type IsReserve = ()

    Combinations of (Asset, Location) pairs which we trust as reserves.
    §

    type IsTeleporter = (Case<DotForStatemint>, Case<DotForCollectives>)

    Combinations of (Asset, Location) pairs which we trust as teleporters.
    §

    type UniversalLocation = UniversalLocation

    This chain’s Universal Location.
    §

    type Barrier = (TakeWeightCredit, AllowKnownQueryResponses<Pallet<Runtime>>, WithComputedOrigin<(AllowTopLevelPaidExecutionFrom<Everything>, AllowSubscriptionsFrom<OnlyParachains>, AllowExplicitUnpaidExecutionFrom<CollectivesOrFellows>), UniversalLocation, ConstU32<8>>)

    Whether we should execute the given XCM at all.
    §

    type Weigher = WeightInfoBounds<PolkadotXcmWeight<RuntimeCall>, RuntimeCall, MaxInstructions>

    The means of determining an XCM message’s weight.
    §

    type Trader = UsingComponents<WeightToFee, TokenLocation, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Pallet<Runtime, ()>, ToAuthor<Runtime>>

    The means of purchasing weight credit for XCM execution.
    §

    type ResponseHandler = Pallet<Runtime>

    What to do when a response of a query is found.
    §

    type AssetTrap = Pallet<Runtime>

    The general asset trap - handler for when assets are left in the Holding Register at the +XcmConfig in staking_miner::polkadot_runtime_exports::xcm_config - Rust
    pub struct XcmConfig;

    Trait Implementations§

    source§

    impl Config for XcmConfig

    §

    type RuntimeCall = RuntimeCall

    The outer call dispatch type.
    §

    type XcmSender = WithUniqueTopic<(ChildParachainRouter<Runtime, Pallet<Runtime>, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>>,)>

    How to send an onward XCM message.
    §

    type AssetTransactor = CurrencyAdapter<Pallet<Runtime, ()>, IsConcrete<TokenLocation>, (ChildParachainConvertsVia<Id, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<ThisNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>), <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, LocalCheckAccount>

    How to withdraw and deposit an asset.
    §

    type OriginConverter = (SovereignSignedViaLocation<(ChildParachainConvertsVia<Id, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>, AccountId32Aliases<ThisNetwork, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId>), RuntimeOrigin>, ChildParachainAsNative<Origin, RuntimeOrigin>, SignedAccountId32AsNative<ThisNetwork, RuntimeOrigin>, XcmPassthrough<RuntimeOrigin>)

    How to get a call origin from a OriginKind value.
    §

    type IsReserve = ()

    Combinations of (Asset, Location) pairs which we trust as reserves.
    §

    type IsTeleporter = (Case<DotForStatemint>, Case<DotForCollectives>)

    Combinations of (Asset, Location) pairs which we trust as teleporters.
    §

    type UniversalLocation = UniversalLocation

    This chain’s Universal Location.
    §

    type Barrier = TrailingSetTopicAsId<(TakeWeightCredit, AllowKnownQueryResponses<Pallet<Runtime>>, WithComputedOrigin<(AllowTopLevelPaidExecutionFrom<Everything>, AllowSubscriptionsFrom<OnlyParachains>, AllowExplicitUnpaidExecutionFrom<CollectivesOrFellows>), UniversalLocation, ConstU32<8>>)>

    Whether we should execute the given XCM at all.
    §

    type Weigher = WeightInfoBounds<PolkadotXcmWeight<RuntimeCall>, RuntimeCall, MaxInstructions>

    The means of determining an XCM message’s weight.
    §

    type Trader = UsingComponents<WeightToFee, TokenLocation, <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, Pallet<Runtime, ()>, ToAuthor<Runtime>>

    The means of purchasing weight credit for XCM execution.
    §

    type ResponseHandler = Pallet<Runtime>

    What to do when a response of a query is found.
    §

    type AssetTrap = Pallet<Runtime>

    The general asset trap - handler for when assets are left in the Holding Register at the end of execution.
    §

    type AssetLocker = ()

    Handler for asset locking.
    §

    type AssetExchanger = ()

    Handler for exchanging assets.
    §

    type AssetClaims = Pallet<Runtime>

    The handler for when there is an instruction to claim assets.
    §

    type SubscriptionService = Pallet<Runtime>

    How we handle version subscription requests.
    §

    type PalletInstancesInfo = (Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime, ()>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime, Instance1>, Pallet<Runtime, Instance2>, Pallet<Runtime>, Pallet<Runtime, Instance1>, Pallet<Runtime, ()>, Pallet<Runtime, ()>, Pallet<Runtime, ()>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime, ()>, Pallet<Runtime>, Pallet<Runtime, ()>, Pallet<Runtime>, Pallet<Runtime, Instance1>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>, Pallet<Runtime>)

    Information on all pallets.
    §

    type MaxAssetsIntoHolding = MaxAssetsIntoHolding

    The maximum number of assets we target to have in the Holding Register at any one time. Read more
    §

    type FeeManager = ()

    Configure the fees.
    §

    type MessageExporter = ()

    The method of exporting a message.
    §

    type UniversalAliases = Nothing

    The origin locations and specific universal junctions to which they are allowed to elevate themselves.
    §

    type CallDispatcher = WithOriginFilter<SafeCallFilter>

    The call dispatcher used by XCM. Read more
    §

    type SafeCallFilter = SafeCallFilter

    The safe call filter for Transact. Read more
    §

    type Aliasers = Nothing

    A list of (Origin, Target) pairs allowing a given Origin to be substituted with its corresponding Target pair.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/staking_miner/polkadot_runtime_exports/xcm_config/type.Barrier.html b/doc/staking_miner/polkadot_runtime_exports/xcm_config/type.Barrier.html index eda961dcd0b0..7fc3fb77f6ab 100644 --- a/doc/staking_miner/polkadot_runtime_exports/xcm_config/type.Barrier.html +++ b/doc/staking_miner/polkadot_runtime_exports/xcm_config/type.Barrier.html @@ -1,2 +1,2 @@ -Barrier in staking_miner::polkadot_runtime_exports::xcm_config - Rust
    pub type Barrier = (TakeWeightCredit, AllowKnownQueryResponses<Pallet<Runtime>>, WithComputedOrigin<(AllowTopLevelPaidExecutionFrom<Everything>, AllowSubscriptionsFrom<OnlyParachains>, AllowExplicitUnpaidExecutionFrom<CollectivesOrFellows>), UniversalLocation, ConstU32<8>>);
    Expand description

    The barriers one of which must be passed for an XCM message to be executed.

    +Barrier in staking_miner::polkadot_runtime_exports::xcm_config - Rust
    pub type Barrier = TrailingSetTopicAsId<(TakeWeightCredit, AllowKnownQueryResponses<Pallet<Runtime>>, WithComputedOrigin<(AllowTopLevelPaidExecutionFrom<Everything>, AllowSubscriptionsFrom<OnlyParachains>, AllowExplicitUnpaidExecutionFrom<CollectivesOrFellows>), UniversalLocation, ConstU32<8>>)>;
    Expand description

    The barriers one of which must be passed for an XCM message to be executed.

    \ No newline at end of file diff --git a/doc/staking_miner/polkadot_runtime_exports/xcm_config/type.XcmRouter.html b/doc/staking_miner/polkadot_runtime_exports/xcm_config/type.XcmRouter.html index 6fec6880e063..d3e087158c3a 100644 --- a/doc/staking_miner/polkadot_runtime_exports/xcm_config/type.XcmRouter.html +++ b/doc/staking_miner/polkadot_runtime_exports/xcm_config/type.XcmRouter.html @@ -1,3 +1,3 @@ -XcmRouter in staking_miner::polkadot_runtime_exports::xcm_config - Rust
    pub type XcmRouter = (ChildParachainRouter<Runtime, Pallet<Runtime>, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>>,);
    Expand description

    The XCM router. When we want to send an XCM message, we use this type. It amalgamates all of our +XcmRouter in staking_miner::polkadot_runtime_exports::xcm_config - Rust

    pub type XcmRouter = WithUniqueTopic<(ChildParachainRouter<Runtime, Pallet<Runtime>, ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Pallet<Runtime>>>,)>;
    Expand description

    The XCM router. When we want to send an XCM message, we use this type. It amalgamates all of our individual routers.

    \ No newline at end of file diff --git a/doc/xcm/v2/enum.Junction.html b/doc/xcm/v2/enum.Junction.html index 0fed6d5fe4b3..3c3268486231 100644 --- a/doc/xcm/v2/enum.Junction.html +++ b/doc/xcm/v2/enum.Junction.html @@ -70,7 +70,7 @@ sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd<Junction> for Junction

    source§

    fn partial_cmp(&self, other: &Junction) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

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

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

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

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

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

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

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

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl Serialize for Junction

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryAs<Junction> for VersionedJunction

    source§

    impl TryFrom<Junction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: NewJunction) -> Result<Self, Self::Error>

    Performs the conversion.
    source§

    impl TryFrom<Junction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: OldJunction) -> Result<Self, ()>

    Performs the conversion.
    source§

    impl TryFrom<VersionedJunction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(x: VersionedJunction) -> Result<Self, ()>

    Performs the conversion.
    source§

    impl TypeInfo for Junction

    §

    type Identity = Junction

    The type identifying for which type info is provided. Read more
    source§

    fn type_info() -> Type

    Returns the static type identifier for Self.
    source§

    impl EncodeLike<Junction> for Junction

    source§

    impl Eq for Junction

    source§

    impl StructuralEq for Junction

    source§

    impl StructuralPartialEq for Junction

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    source§

    impl TryAs<Junction> for VersionedJunction

    source§

    impl TryFrom<Junction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: NewJunction) -> Result<Self, Self::Error>

    Performs the conversion.
    source§

    impl TryFrom<Junction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: OldJunction) -> Result<Self, ()>

    Performs the conversion.
    source§

    impl TryFrom<VersionedJunction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(x: VersionedJunction) -> Result<Self, ()>

    Performs the conversion.
    source§

    impl TypeInfo for Junction

    §

    type Identity = Junction

    The type identifying for which type info is provided. Read more
    source§

    fn type_info() -> Type

    Returns the static type identifier for Self.
    source§

    impl EncodeLike<Junction> for Junction

    source§

    impl Eq for Junction

    source§

    impl StructuralEq for Junction

    source§

    impl StructuralPartialEq for Junction

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    const: unstable · source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    const: unstable · source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> Twhere diff --git a/doc/xcm/v3/enum.Junction.html b/doc/xcm/v3/enum.Junction.html index 4c417bcb0aee..b268d494f91d 100644 --- a/doc/xcm/v3/enum.Junction.html +++ b/doc/xcm/v3/enum.Junction.html @@ -1,4 +1,4 @@ -Junction in xcm::v3 - Rust

    Enum xcm::v3::Junction

    source ·
    pub enum Junction {
    +Junction in xcm::v3 - Rust

    Enum xcm::v3::Junction

    source ·
    pub enum Junction {
         Parachain(u32),
         AccountId32 {
             network: Option<NetworkId>,
    @@ -53,14 +53,14 @@
     used to represent things such as multisigs also.

    §

    GlobalConsensus(NetworkId)

    A global network capable of externalizing its own consensus. This is not generally meaningful outside of the universal level.

    -

    Implementations§

    source§

    impl Junction

    source

    pub const fn into_location(self) -> MultiLocation

    Convert self into a MultiLocation containing 0 parents.

    +

    Implementations§

    source§

    impl Junction

    source

    pub const fn into_location(self) -> MultiLocation

    Convert self into a MultiLocation containing 0 parents.

    Similar to Into::into, except that this method can be used in a const evaluation context.

    -
    source

    pub const fn into_exterior(self, n: u8) -> MultiLocation

    Convert self into a MultiLocation containing n parents.

    +
    source

    pub const fn into_exterior(self, n: u8) -> MultiLocation

    Convert self into a MultiLocation containing n parents.

    Similar to Self::into_location, with the added ability to specify the number of parent junctions.

    -
    source

    pub const fn into_versioned(self) -> VersionedMultiLocation

    Convert self into a VersionedMultiLocation containing 0 parents.

    +
    source

    pub const fn into_versioned(self) -> VersionedMultiLocation

    Convert self into a VersionedMultiLocation containing 0 parents.

    Similar to Into::into, except that this method can be used in a const evaluation context.

    -
    source

    pub fn remove_network_id(&mut self)

    Remove the NetworkId value.

    +
    source

    pub fn remove_network_id(&mut self)

    Remove the NetworkId value.

    Trait Implementations§

    source§

    impl Clone for Junction

    source§

    fn clone(&self) -> Junction

    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 Debug for Junction

    source§

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

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

    impl Decode for Junction

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -73,7 +73,7 @@ &self, __codec_dest_edqy: &mut __CodecOutputEdqy )

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<[u8; 20]> for Junction

    source§

    fn from(key: [u8; 20]) -> Self

    Converts to this type from the input type.
    source§

    impl From<[u8; 32]> for Junction

    source§

    fn from(id: [u8; 32]) -> Self

    Converts to this type from the input type.
    source§

    impl<'a> From<BoundedSlice<'a, u8, ConstU32<32>>> for Junction

    source§

    fn from(key: BoundedSlice<'a, u8, ConstU32<32>>) -> Self

    Converts to this type from the input type.
    source§

    impl From<BoundedVec<u8, ConstU32<32>>> for Junction

    source§

    fn from(key: BoundedVec<u8, ConstU32<32>>) -> Self

    Converts to this type from the input type.
    source§

    impl From<Junction> for MultiLocation

    source§

    fn from(x: Junction) -> Self

    Converts to this type from the input type.
    source§

    impl From<NetworkId> for Junction

    source§

    fn from(n: NetworkId) -> Self

    Converts to this type from the input type.
    source§

    impl From<u128> for Junction

    source§

    fn from(id: u128) -> Self

    Converts to this type from the input type.
    source§

    impl From<u64> for Junction

    source§

    fn from(index: u64) -> Self

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for Junction

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for Junction

    source§

    fn cmp(&self, other: &Junction) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere + F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<[u8; 20]> for Junction

    source§

    fn from(key: [u8; 20]) -> Self

    Converts to this type from the input type.
    source§

    impl From<[u8; 32]> for Junction

    source§

    fn from(id: [u8; 32]) -> Self

    Converts to this type from the input type.
    source§

    impl<'a> From<BoundedSlice<'a, u8, ConstU32<32>>> for Junction

    source§

    fn from(key: BoundedSlice<'a, u8, ConstU32<32>>) -> Self

    Converts to this type from the input type.
    source§

    impl From<BoundedVec<u8, ConstU32<32>>> for Junction

    source§

    fn from(key: BoundedVec<u8, ConstU32<32>>) -> Self

    Converts to this type from the input type.
    source§

    impl From<Junction> for MultiLocation

    source§

    fn from(x: Junction) -> Self

    Converts to this type from the input type.
    source§

    impl From<NetworkId> for Junction

    source§

    fn from(n: NetworkId) -> Self

    Converts to this type from the input type.
    source§

    impl From<u128> for Junction

    source§

    fn from(id: u128) -> Self

    Converts to this type from the input type.
    source§

    impl From<u64> for Junction

    source§

    fn from(index: u64) -> Self

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for Junction

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for Junction

    source§

    fn cmp(&self, other: &Junction) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq<Junction> for Junction

    source§

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

    This method tests for self and other values to be equal, and is used @@ -81,7 +81,7 @@ sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd<Junction> for Junction

    source§

    fn partial_cmp(&self, other: &Junction) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

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

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

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

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

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

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

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

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl Serialize for Junction

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryAs<Junction> for VersionedJunction

    source§

    impl<'a> TryFrom<&'a Junction> for BoundedSlice<'a, u8, ConstU32<32>>

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(key: &'a Junction) -> Result<Self, ()>

    Performs the conversion.
    source§

    impl TryFrom<Junction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: NewJunction) -> Result<Self, Self::Error>

    Performs the conversion.
    source§

    impl TryFrom<Junction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: OldJunction) -> Result<Self, ()>

    Performs the conversion.
    source§

    impl TryFrom<VersionedJunction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(x: VersionedJunction) -> Result<Self, ()>

    Performs the conversion.
    source§

    impl TypeInfo for Junction

    §

    type Identity = Junction

    The type identifying for which type info is provided. Read more
    source§

    fn type_info() -> Type

    Returns the static type identifier for Self.
    source§

    impl Copy for Junction

    source§

    impl EncodeLike<Junction> for Junction

    source§

    impl Eq for Junction

    source§

    impl StructuralEq for Junction

    source§

    impl StructuralPartialEq for Junction

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryAs<Junction> for VersionedJunction

    source§

    impl<'a> TryFrom<&'a Junction> for BoundedSlice<'a, u8, ConstU32<32>>

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(key: &'a Junction) -> Result<Self, ()>

    Performs the conversion.
    source§

    impl TryFrom<Junction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: NewJunction) -> Result<Self, Self::Error>

    Performs the conversion.
    source§

    impl TryFrom<Junction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: OldJunction) -> Result<Self, ()>

    Performs the conversion.
    source§

    impl TryFrom<VersionedJunction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(x: VersionedJunction) -> Result<Self, ()>

    Performs the conversion.
    source§

    impl TypeInfo for Junction

    §

    type Identity = Junction

    The type identifying for which type info is provided. Read more
    source§

    fn type_info() -> Type

    Returns the static type identifier for Self.
    source§

    impl Copy for Junction

    source§

    impl EncodeLike<Junction> for Junction

    source§

    impl Eq for Junction

    source§

    impl StructuralEq for Junction

    source§

    impl StructuralPartialEq for Junction

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    const: unstable · source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    const: unstable · source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> Twhere diff --git a/doc/xcm/v3/enum.NetworkId.html b/doc/xcm/v3/enum.NetworkId.html index 02e3f2f0c8e6..7dfba17faef5 100644 --- a/doc/xcm/v3/enum.NetworkId.html +++ b/doc/xcm/v3/enum.NetworkId.html @@ -40,7 +40,7 @@ &self, __codec_dest_edqy: &mut __CodecOutputEdqy )

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<NetworkId> for Junction

    source§

    fn from(n: NetworkId) -> Self

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for NetworkId

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for NetworkId

    source§

    fn cmp(&self, other: &NetworkId) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere + F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<NetworkId> for Junction

    source§

    fn from(n: NetworkId) -> Self

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for NetworkId

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for NetworkId

    source§

    fn cmp(&self, other: &NetworkId) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq<NetworkId> for NetworkId

    source§

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

    This method tests for self and other values to be equal, and is used diff --git a/doc/xcm_builder/test_utils/enum.Junction.html b/doc/xcm_builder/test_utils/enum.Junction.html index 18b8c340831e..1415a2a388c5 100644 --- a/doc/xcm_builder/test_utils/enum.Junction.html +++ b/doc/xcm_builder/test_utils/enum.Junction.html @@ -53,14 +53,14 @@ used to represent things such as multisigs also.

    §

    GlobalConsensus(NetworkId)

    A global network capable of externalizing its own consensus. This is not generally meaningful outside of the universal level.

    -

    Implementations§

    source§

    impl Junction

    source

    pub const fn into_location(self) -> MultiLocation

    Convert self into a MultiLocation containing 0 parents.

    +

    Implementations§

    source§

    impl Junction

    source

    pub const fn into_location(self) -> MultiLocation

    Convert self into a MultiLocation containing 0 parents.

    Similar to Into::into, except that this method can be used in a const evaluation context.

    -
    source

    pub const fn into_exterior(self, n: u8) -> MultiLocation

    Convert self into a MultiLocation containing n parents.

    +
    source

    pub const fn into_exterior(self, n: u8) -> MultiLocation

    Convert self into a MultiLocation containing n parents.

    Similar to Self::into_location, with the added ability to specify the number of parent junctions.

    -
    source

    pub const fn into_versioned(self) -> VersionedMultiLocation

    Convert self into a VersionedMultiLocation containing 0 parents.

    +
    source

    pub const fn into_versioned(self) -> VersionedMultiLocation

    Convert self into a VersionedMultiLocation containing 0 parents.

    Similar to Into::into, except that this method can be used in a const evaluation context.

    -
    source

    pub fn remove_network_id(&mut self)

    Remove the NetworkId value.

    +
    source

    pub fn remove_network_id(&mut self)

    Remove the NetworkId value.

    Trait Implementations§

    source§

    impl Clone for Junction

    source§

    fn clone(&self) -> Junction

    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 Debug for Junction

    source§

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

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

    impl Decode for Junction

    source§

    fn decode<__CodecInputEdqy>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Junction, Error>where @@ -77,7 +77,7 @@ __codec_dest_edqy: &mut __CodecOutputEdqy )where __CodecOutputEdqy: Output + ?Sized,

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<[u8; 20]> for Junction

    source§

    fn from(key: [u8; 20]) -> Junction

    Converts to this type from the input type.
    source§

    impl From<[u8; 32]> for Junction

    source§

    fn from(id: [u8; 32]) -> Junction

    Converts to this type from the input type.
    source§

    impl<'a> From<BoundedSlice<'a, u8, ConstU32<32>>> for Junction

    source§

    fn from(key: BoundedSlice<'a, u8, ConstU32<32>>) -> Junction

    Converts to this type from the input type.
    source§

    impl From<BoundedVec<u8, ConstU32<32>>> for Junction

    source§

    fn from(key: BoundedVec<u8, ConstU32<32>>) -> Junction

    Converts to this type from the input type.
    source§

    impl From<Junction> for MultiLocation

    source§

    fn from(x: Junction) -> MultiLocation

    Converts to this type from the input type.
    source§

    impl From<NetworkId> for Junction

    source§

    fn from(n: NetworkId) -> Junction

    Converts to this type from the input type.
    source§

    impl From<u128> for Junction

    source§

    fn from(id: u128) -> Junction

    Converts to this type from the input type.
    source§

    impl From<u64> for Junction

    source§

    fn from(index: u64) -> Junction

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for Junction

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for Junction

    source§

    fn cmp(&self, other: &Junction) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere + F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<[u8; 20]> for Junction

    source§

    fn from(key: [u8; 20]) -> Junction

    Converts to this type from the input type.
    source§

    impl From<[u8; 32]> for Junction

    source§

    fn from(id: [u8; 32]) -> Junction

    Converts to this type from the input type.
    source§

    impl<'a> From<BoundedSlice<'a, u8, ConstU32<32>>> for Junction

    source§

    fn from(key: BoundedSlice<'a, u8, ConstU32<32>>) -> Junction

    Converts to this type from the input type.
    source§

    impl From<BoundedVec<u8, ConstU32<32>>> for Junction

    source§

    fn from(key: BoundedVec<u8, ConstU32<32>>) -> Junction

    Converts to this type from the input type.
    source§

    impl From<Junction> for MultiLocation

    source§

    fn from(x: Junction) -> MultiLocation

    Converts to this type from the input type.
    source§

    impl From<NetworkId> for Junction

    source§

    fn from(n: NetworkId) -> Junction

    Converts to this type from the input type.
    source§

    impl From<u128> for Junction

    source§

    fn from(id: u128) -> Junction

    Converts to this type from the input type.
    source§

    impl From<u64> for Junction

    source§

    fn from(index: u64) -> Junction

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for Junction

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for Junction

    source§

    fn cmp(&self, other: &Junction) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq<Junction> for Junction

    source§

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

    This method tests for self and other values to be equal, and is used @@ -88,7 +88,7 @@ &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<Junction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: Junction) -> Result<Junction, ()>

    Performs the conversion.
    source§

    impl TryFrom<VersionedJunction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(x: VersionedJunction) -> Result<Junction, ()>

    Performs the conversion.
    source§

    impl TypeInfo for Junction

    §

    type Identity = Junction

    The type identifying for which type info is provided. Read more
    source§

    fn type_info() -> Type<MetaForm>

    Returns the static type identifier for Self.
    source§

    impl Copy for Junction

    source§

    impl EncodeLike<Junction> for Junction

    source§

    impl Eq for Junction

    source§

    impl StructuralEq for Junction

    source§

    impl StructuralPartialEq for Junction

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<Junction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: Junction) -> Result<Junction, ()>

    Performs the conversion.
    source§

    impl TryFrom<VersionedJunction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(x: VersionedJunction) -> Result<Junction, ()>

    Performs the conversion.
    source§

    impl TypeInfo for Junction

    §

    type Identity = Junction

    The type identifying for which type info is provided. Read more
    source§

    fn type_info() -> Type<MetaForm>

    Returns the static type identifier for Self.
    source§

    impl Copy for Junction

    source§

    impl EncodeLike<Junction> for Junction

    source§

    impl Eq for Junction

    source§

    impl StructuralEq for Junction

    source§

    impl StructuralPartialEq for Junction

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    const: unstable · source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    const: unstable · source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CheckedConversion for T

    §

    fn checked_from<T>(t: T) -> Option<Self>where diff --git a/doc/xcm_builder/test_utils/enum.NetworkId.html b/doc/xcm_builder/test_utils/enum.NetworkId.html index d64e571c305c..934efca32190 100644 --- a/doc/xcm_builder/test_utils/enum.NetworkId.html +++ b/doc/xcm_builder/test_utils/enum.NetworkId.html @@ -44,7 +44,7 @@ __codec_dest_edqy: &mut __CodecOutputEdqy )where __CodecOutputEdqy: Output + ?Sized,

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<NetworkId> for Junction

    source§

    fn from(n: NetworkId) -> Junction

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for NetworkId

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for NetworkId

    source§

    fn cmp(&self, other: &NetworkId) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere + F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<NetworkId> for Junction

    source§

    fn from(n: NetworkId) -> Junction

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for NetworkId

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for NetworkId

    source§

    fn cmp(&self, other: &NetworkId) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq<NetworkId> for NetworkId

    source§

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

    This method tests for self and other values to be equal, and is used diff --git a/doc/xcm_builder/test_utils/opaque/enum.Junction.html b/doc/xcm_builder/test_utils/opaque/enum.Junction.html index 15a96a0166d0..9d061dc3eda2 100644 --- a/doc/xcm_builder/test_utils/opaque/enum.Junction.html +++ b/doc/xcm_builder/test_utils/opaque/enum.Junction.html @@ -53,14 +53,14 @@ used to represent things such as multisigs also.

    §

    GlobalConsensus(NetworkId)

    A global network capable of externalizing its own consensus. This is not generally meaningful outside of the universal level.

    -

    Implementations§

    source§

    impl Junction

    source

    pub const fn into_location(self) -> MultiLocation

    Convert self into a MultiLocation containing 0 parents.

    +

    Implementations§

    source§

    impl Junction

    source

    pub const fn into_location(self) -> MultiLocation

    Convert self into a MultiLocation containing 0 parents.

    Similar to Into::into, except that this method can be used in a const evaluation context.

    -
    source

    pub const fn into_exterior(self, n: u8) -> MultiLocation

    Convert self into a MultiLocation containing n parents.

    +
    source

    pub const fn into_exterior(self, n: u8) -> MultiLocation

    Convert self into a MultiLocation containing n parents.

    Similar to Self::into_location, with the added ability to specify the number of parent junctions.

    -
    source

    pub const fn into_versioned(self) -> VersionedMultiLocation

    Convert self into a VersionedMultiLocation containing 0 parents.

    +
    source

    pub const fn into_versioned(self) -> VersionedMultiLocation

    Convert self into a VersionedMultiLocation containing 0 parents.

    Similar to Into::into, except that this method can be used in a const evaluation context.

    -
    source

    pub fn remove_network_id(&mut self)

    Remove the NetworkId value.

    +
    source

    pub fn remove_network_id(&mut self)

    Remove the NetworkId value.

    Trait Implementations§

    source§

    impl Clone for Junction

    source§

    fn clone(&self) -> Junction

    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 Debug for Junction

    source§

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

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

    impl Decode for Junction

    source§

    fn decode<__CodecInputEdqy>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Junction, Error>where @@ -77,7 +77,7 @@ __codec_dest_edqy: &mut __CodecOutputEdqy )where __CodecOutputEdqy: Output + ?Sized,

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<[u8; 20]> for Junction

    source§

    fn from(key: [u8; 20]) -> Junction

    Converts to this type from the input type.
    source§

    impl From<[u8; 32]> for Junction

    source§

    fn from(id: [u8; 32]) -> Junction

    Converts to this type from the input type.
    source§

    impl<'a> From<BoundedSlice<'a, u8, ConstU32<32>>> for Junction

    source§

    fn from(key: BoundedSlice<'a, u8, ConstU32<32>>) -> Junction

    Converts to this type from the input type.
    source§

    impl From<BoundedVec<u8, ConstU32<32>>> for Junction

    source§

    fn from(key: BoundedVec<u8, ConstU32<32>>) -> Junction

    Converts to this type from the input type.
    source§

    impl From<Junction> for MultiLocation

    source§

    fn from(x: Junction) -> MultiLocation

    Converts to this type from the input type.
    source§

    impl From<NetworkId> for Junction

    source§

    fn from(n: NetworkId) -> Junction

    Converts to this type from the input type.
    source§

    impl From<u128> for Junction

    source§

    fn from(id: u128) -> Junction

    Converts to this type from the input type.
    source§

    impl From<u64> for Junction

    source§

    fn from(index: u64) -> Junction

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for Junction

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for Junction

    source§

    fn cmp(&self, other: &Junction) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere + F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<[u8; 20]> for Junction

    source§

    fn from(key: [u8; 20]) -> Junction

    Converts to this type from the input type.
    source§

    impl From<[u8; 32]> for Junction

    source§

    fn from(id: [u8; 32]) -> Junction

    Converts to this type from the input type.
    source§

    impl<'a> From<BoundedSlice<'a, u8, ConstU32<32>>> for Junction

    source§

    fn from(key: BoundedSlice<'a, u8, ConstU32<32>>) -> Junction

    Converts to this type from the input type.
    source§

    impl From<BoundedVec<u8, ConstU32<32>>> for Junction

    source§

    fn from(key: BoundedVec<u8, ConstU32<32>>) -> Junction

    Converts to this type from the input type.
    source§

    impl From<Junction> for MultiLocation

    source§

    fn from(x: Junction) -> MultiLocation

    Converts to this type from the input type.
    source§

    impl From<NetworkId> for Junction

    source§

    fn from(n: NetworkId) -> Junction

    Converts to this type from the input type.
    source§

    impl From<u128> for Junction

    source§

    fn from(id: u128) -> Junction

    Converts to this type from the input type.
    source§

    impl From<u64> for Junction

    source§

    fn from(index: u64) -> Junction

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for Junction

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for Junction

    source§

    fn cmp(&self, other: &Junction) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq<Junction> for Junction

    source§

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

    This method tests for self and other values to be equal, and is used @@ -88,7 +88,7 @@ &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<Junction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: Junction) -> Result<Junction, ()>

    Performs the conversion.
    source§

    impl TryFrom<VersionedJunction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(x: VersionedJunction) -> Result<Junction, ()>

    Performs the conversion.
    source§

    impl TypeInfo for Junction

    §

    type Identity = Junction

    The type identifying for which type info is provided. Read more
    source§

    fn type_info() -> Type<MetaForm>

    Returns the static type identifier for Self.
    source§

    impl Copy for Junction

    source§

    impl EncodeLike<Junction> for Junction

    source§

    impl Eq for Junction

    source§

    impl StructuralEq for Junction

    source§

    impl StructuralPartialEq for Junction

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Junction

    §

    impl Send for Junction

    §

    impl Sync for Junction

    §

    impl Unpin for Junction

    §

    impl UnwindSafe for Junction

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<Junction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: Junction) -> Result<Junction, ()>

    Performs the conversion.
    source§

    impl TryFrom<VersionedJunction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(x: VersionedJunction) -> Result<Junction, ()>

    Performs the conversion.
    source§

    impl TypeInfo for Junction

    §

    type Identity = Junction

    The type identifying for which type info is provided. Read more
    source§

    fn type_info() -> Type<MetaForm>

    Returns the static type identifier for Self.
    source§

    impl Copy for Junction

    source§

    impl EncodeLike<Junction> for Junction

    source§

    impl Eq for Junction

    source§

    impl StructuralEq for Junction

    source§

    impl StructuralPartialEq for Junction

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Junction

    §

    impl Send for Junction

    §

    impl Sync for Junction

    §

    impl Unpin for Junction

    §

    impl UnwindSafe for Junction

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    const: unstable · source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    const: unstable · source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CheckedConversion for T

    §

    fn checked_from<T>(t: T) -> Option<Self>where diff --git a/doc/xcm_builder/test_utils/opaque/enum.NetworkId.html b/doc/xcm_builder/test_utils/opaque/enum.NetworkId.html index 47920a79236e..8e74dfccadaf 100644 --- a/doc/xcm_builder/test_utils/opaque/enum.NetworkId.html +++ b/doc/xcm_builder/test_utils/opaque/enum.NetworkId.html @@ -44,7 +44,7 @@ __codec_dest_edqy: &mut __CodecOutputEdqy )where __CodecOutputEdqy: Output + ?Sized,

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<NetworkId> for Junction

    source§

    fn from(n: NetworkId) -> Junction

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for NetworkId

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for NetworkId

    source§

    fn cmp(&self, other: &NetworkId) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere + F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<NetworkId> for Junction

    source§

    fn from(n: NetworkId) -> Junction

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for NetworkId

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for NetworkId

    source§

    fn cmp(&self, other: &NetworkId) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq<NetworkId> for NetworkId

    source§

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

    This method tests for self and other values to be equal, and is used diff --git a/doc/xcm_simulator/enum.Junction.html b/doc/xcm_simulator/enum.Junction.html index af1d2bc2543f..a7ce5645b1cd 100644 --- a/doc/xcm_simulator/enum.Junction.html +++ b/doc/xcm_simulator/enum.Junction.html @@ -53,14 +53,14 @@ used to represent things such as multisigs also.

    §

    GlobalConsensus(NetworkId)

    A global network capable of externalizing its own consensus. This is not generally meaningful outside of the universal level.

    -

    Implementations§

    source§

    impl Junction

    source

    pub const fn into_location(self) -> MultiLocation

    Convert self into a MultiLocation containing 0 parents.

    +

    Implementations§

    source§

    impl Junction

    source

    pub const fn into_location(self) -> MultiLocation

    Convert self into a MultiLocation containing 0 parents.

    Similar to Into::into, except that this method can be used in a const evaluation context.

    -
    source

    pub const fn into_exterior(self, n: u8) -> MultiLocation

    Convert self into a MultiLocation containing n parents.

    +
    source

    pub const fn into_exterior(self, n: u8) -> MultiLocation

    Convert self into a MultiLocation containing n parents.

    Similar to Self::into_location, with the added ability to specify the number of parent junctions.

    -
    source

    pub const fn into_versioned(self) -> VersionedMultiLocation

    Convert self into a VersionedMultiLocation containing 0 parents.

    +
    source

    pub const fn into_versioned(self) -> VersionedMultiLocation

    Convert self into a VersionedMultiLocation containing 0 parents.

    Similar to Into::into, except that this method can be used in a const evaluation context.

    -
    source

    pub fn remove_network_id(&mut self)

    Remove the NetworkId value.

    +
    source

    pub fn remove_network_id(&mut self)

    Remove the NetworkId value.

    Trait Implementations§

    source§

    impl Clone for Junction

    source§

    fn clone(&self) -> Junction

    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 Debug for Junction

    source§

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

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

    impl Decode for Junction

    source§

    fn decode<__CodecInputEdqy>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Junction, Error>where @@ -77,7 +77,7 @@ __codec_dest_edqy: &mut __CodecOutputEdqy )where __CodecOutputEdqy: Output + ?Sized,

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<[u8; 20]> for Junction

    source§

    fn from(key: [u8; 20]) -> Junction

    Converts to this type from the input type.
    source§

    impl From<[u8; 32]> for Junction

    source§

    fn from(id: [u8; 32]) -> Junction

    Converts to this type from the input type.
    source§

    impl<'a> From<BoundedSlice<'a, u8, ConstU32<32>>> for Junction

    source§

    fn from(key: BoundedSlice<'a, u8, ConstU32<32>>) -> Junction

    Converts to this type from the input type.
    source§

    impl From<BoundedVec<u8, ConstU32<32>>> for Junction

    source§

    fn from(key: BoundedVec<u8, ConstU32<32>>) -> Junction

    Converts to this type from the input type.
    source§

    impl From<Junction> for MultiLocation

    source§

    fn from(x: Junction) -> MultiLocation

    Converts to this type from the input type.
    source§

    impl From<NetworkId> for Junction

    source§

    fn from(n: NetworkId) -> Junction

    Converts to this type from the input type.
    source§

    impl From<u128> for Junction

    source§

    fn from(id: u128) -> Junction

    Converts to this type from the input type.
    source§

    impl From<u64> for Junction

    source§

    fn from(index: u64) -> Junction

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for Junction

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for Junction

    source§

    fn cmp(&self, other: &Junction) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere + F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<[u8; 20]> for Junction

    source§

    fn from(key: [u8; 20]) -> Junction

    Converts to this type from the input type.
    source§

    impl From<[u8; 32]> for Junction

    source§

    fn from(id: [u8; 32]) -> Junction

    Converts to this type from the input type.
    source§

    impl<'a> From<BoundedSlice<'a, u8, ConstU32<32>>> for Junction

    source§

    fn from(key: BoundedSlice<'a, u8, ConstU32<32>>) -> Junction

    Converts to this type from the input type.
    source§

    impl From<BoundedVec<u8, ConstU32<32>>> for Junction

    source§

    fn from(key: BoundedVec<u8, ConstU32<32>>) -> Junction

    Converts to this type from the input type.
    source§

    impl From<Junction> for MultiLocation

    source§

    fn from(x: Junction) -> MultiLocation

    Converts to this type from the input type.
    source§

    impl From<NetworkId> for Junction

    source§

    fn from(n: NetworkId) -> Junction

    Converts to this type from the input type.
    source§

    impl From<u128> for Junction

    source§

    fn from(id: u128) -> Junction

    Converts to this type from the input type.
    source§

    impl From<u64> for Junction

    source§

    fn from(index: u64) -> Junction

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for Junction

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for Junction

    source§

    fn cmp(&self, other: &Junction) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq<Junction> for Junction

    source§

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

    This method tests for self and other values to be equal, and is used @@ -88,7 +88,7 @@ &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where - __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<Junction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: Junction) -> Result<Junction, ()>

    Performs the conversion.
    source§

    impl TryFrom<VersionedJunction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(x: VersionedJunction) -> Result<Junction, ()>

    Performs the conversion.
    source§

    impl TypeInfo for Junction

    §

    type Identity = Junction

    The type identifying for which type info is provided. Read more
    source§

    fn type_info() -> Type<MetaForm>

    Returns the static type identifier for Self.
    source§

    impl Copy for Junction

    source§

    impl EncodeLike<Junction> for Junction

    source§

    impl Eq for Junction

    source§

    impl StructuralEq for Junction

    source§

    impl StructuralPartialEq for Junction

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<Junction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: Junction) -> Result<Junction, ()>

    Performs the conversion.
    source§

    impl TryFrom<VersionedJunction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(x: VersionedJunction) -> Result<Junction, ()>

    Performs the conversion.
    source§

    impl TypeInfo for Junction

    §

    type Identity = Junction

    The type identifying for which type info is provided. Read more
    source§

    fn type_info() -> Type<MetaForm>

    Returns the static type identifier for Self.
    source§

    impl Copy for Junction

    source§

    impl EncodeLike<Junction> for Junction

    source§

    impl Eq for Junction

    source§

    impl StructuralEq for Junction

    source§

    impl StructuralPartialEq for Junction

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    const: unstable · source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    const: unstable · source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CheckedConversion for T

    §

    fn checked_from<T>(t: T) -> Option<Self>where diff --git a/doc/xcm_simulator/enum.NetworkId.html b/doc/xcm_simulator/enum.NetworkId.html index 90dd46016ed9..e97615789d87 100644 --- a/doc/xcm_simulator/enum.NetworkId.html +++ b/doc/xcm_simulator/enum.NetworkId.html @@ -44,7 +44,7 @@ __codec_dest_edqy: &mut __CodecOutputEdqy )where __CodecOutputEdqy: Output + ?Sized,

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<NetworkId> for Junction

    source§

    fn from(n: NetworkId) -> Junction

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for NetworkId

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for NetworkId

    source§

    fn cmp(&self, other: &NetworkId) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere + F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<NetworkId> for Junction

    source§

    fn from(n: NetworkId) -> Junction

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for NetworkId

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for NetworkId

    source§

    fn cmp(&self, other: &NetworkId) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq<NetworkId> for NetworkId

    source§

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

    This method tests for self and other values to be equal, and is used diff --git a/doc/xcm_simulator/opaque/enum.Junction.html b/doc/xcm_simulator/opaque/enum.Junction.html index 776612c5de4a..f89308c61b08 100644 --- a/doc/xcm_simulator/opaque/enum.Junction.html +++ b/doc/xcm_simulator/opaque/enum.Junction.html @@ -53,14 +53,14 @@ used to represent things such as multisigs also.

    §

    GlobalConsensus(NetworkId)

    A global network capable of externalizing its own consensus. This is not generally meaningful outside of the universal level.

    -

    Implementations§

    source§

    impl Junction

    source

    pub const fn into_location(self) -> MultiLocation

    Convert self into a MultiLocation containing 0 parents.

    +

    Implementations§

    source§

    impl Junction

    source

    pub const fn into_location(self) -> MultiLocation

    Convert self into a MultiLocation containing 0 parents.

    Similar to Into::into, except that this method can be used in a const evaluation context.

    -
    source

    pub const fn into_exterior(self, n: u8) -> MultiLocation

    Convert self into a MultiLocation containing n parents.

    +
    source

    pub const fn into_exterior(self, n: u8) -> MultiLocation

    Convert self into a MultiLocation containing n parents.

    Similar to Self::into_location, with the added ability to specify the number of parent junctions.

    -
    source

    pub const fn into_versioned(self) -> VersionedMultiLocation

    Convert self into a VersionedMultiLocation containing 0 parents.

    +
    source

    pub const fn into_versioned(self) -> VersionedMultiLocation

    Convert self into a VersionedMultiLocation containing 0 parents.

    Similar to Into::into, except that this method can be used in a const evaluation context.

    -
    source

    pub fn remove_network_id(&mut self)

    Remove the NetworkId value.

    +
    source

    pub fn remove_network_id(&mut self)

    Remove the NetworkId value.

    Trait Implementations§

    source§

    impl Clone for Junction

    source§

    fn clone(&self) -> Junction

    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 Debug for Junction

    source§

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

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

    impl Decode for Junction

    source§

    fn decode<__CodecInputEdqy>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Junction, Error>where @@ -77,7 +77,7 @@ __codec_dest_edqy: &mut __CodecOutputEdqy )where __CodecOutputEdqy: Output + ?Sized,

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<[u8; 20]> for Junction

    source§

    fn from(key: [u8; 20]) -> Junction

    Converts to this type from the input type.
    source§

    impl From<[u8; 32]> for Junction

    source§

    fn from(id: [u8; 32]) -> Junction

    Converts to this type from the input type.
    source§

    impl<'a> From<BoundedSlice<'a, u8, ConstU32<32>>> for Junction

    source§

    fn from(key: BoundedSlice<'a, u8, ConstU32<32>>) -> Junction

    Converts to this type from the input type.
    source§

    impl From<BoundedVec<u8, ConstU32<32>>> for Junction

    source§

    fn from(key: BoundedVec<u8, ConstU32<32>>) -> Junction

    Converts to this type from the input type.
    source§

    impl From<Junction> for MultiLocation

    source§

    fn from(x: Junction) -> MultiLocation

    Converts to this type from the input type.
    source§

    impl From<NetworkId> for Junction

    source§

    fn from(n: NetworkId) -> Junction

    Converts to this type from the input type.
    source§

    impl From<u128> for Junction

    source§

    fn from(id: u128) -> Junction

    Converts to this type from the input type.
    source§

    impl From<u64> for Junction

    source§

    fn from(index: u64) -> Junction

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for Junction

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for Junction

    source§

    fn cmp(&self, other: &Junction) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere + F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<[u8; 20]> for Junction

    source§

    fn from(key: [u8; 20]) -> Junction

    Converts to this type from the input type.
    source§

    impl From<[u8; 32]> for Junction

    source§

    fn from(id: [u8; 32]) -> Junction

    Converts to this type from the input type.
    source§

    impl<'a> From<BoundedSlice<'a, u8, ConstU32<32>>> for Junction

    source§

    fn from(key: BoundedSlice<'a, u8, ConstU32<32>>) -> Junction

    Converts to this type from the input type.
    source§

    impl From<BoundedVec<u8, ConstU32<32>>> for Junction

    source§

    fn from(key: BoundedVec<u8, ConstU32<32>>) -> Junction

    Converts to this type from the input type.
    source§

    impl From<Junction> for MultiLocation

    source§

    fn from(x: Junction) -> MultiLocation

    Converts to this type from the input type.
    source§

    impl From<NetworkId> for Junction

    source§

    fn from(n: NetworkId) -> Junction

    Converts to this type from the input type.
    source§

    impl From<u128> for Junction

    source§

    fn from(id: u128) -> Junction

    Converts to this type from the input type.
    source§

    impl From<u64> for Junction

    source§

    fn from(index: u64) -> Junction

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for Junction

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for Junction

    source§

    fn cmp(&self, other: &Junction) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq<Junction> for Junction

    source§

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

    This method tests for self and other values to be equal, and is used @@ -88,7 +88,7 @@ &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where - __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<Junction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: Junction) -> Result<Junction, ()>

    Performs the conversion.
    source§

    impl TryFrom<VersionedJunction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(x: VersionedJunction) -> Result<Junction, ()>

    Performs the conversion.
    source§

    impl TypeInfo for Junction

    §

    type Identity = Junction

    The type identifying for which type info is provided. Read more
    source§

    fn type_info() -> Type<MetaForm>

    Returns the static type identifier for Self.
    source§

    impl Copy for Junction

    source§

    impl EncodeLike<Junction> for Junction

    source§

    impl Eq for Junction

    source§

    impl StructuralEq for Junction

    source§

    impl StructuralPartialEq for Junction

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<Junction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: Junction) -> Result<Junction, ()>

    Performs the conversion.
    source§

    impl TryFrom<VersionedJunction> for Junction

    §

    type Error = ()

    The type returned in the event of a conversion error.
    source§

    fn try_from(x: VersionedJunction) -> Result<Junction, ()>

    Performs the conversion.
    source§

    impl TypeInfo for Junction

    §

    type Identity = Junction

    The type identifying for which type info is provided. Read more
    source§

    fn type_info() -> Type<MetaForm>

    Returns the static type identifier for Self.
    source§

    impl Copy for Junction

    source§

    impl EncodeLike<Junction> for Junction

    source§

    impl Eq for Junction

    source§

    impl StructuralEq for Junction

    source§

    impl StructuralPartialEq for Junction

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    const: unstable · source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    const: unstable · source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> CheckedConversion for T

    §

    fn checked_from<T>(t: T) -> Option<Self>where diff --git a/doc/xcm_simulator/opaque/enum.NetworkId.html b/doc/xcm_simulator/opaque/enum.NetworkId.html index 0a74d829695c..6a5b92426bd2 100644 --- a/doc/xcm_simulator/opaque/enum.NetworkId.html +++ b/doc/xcm_simulator/opaque/enum.NetworkId.html @@ -44,7 +44,7 @@ __codec_dest_edqy: &mut __CodecOutputEdqy )where __CodecOutputEdqy: Output + ?Sized,

    Convert self to a slice and append it to the destination.
    §

    fn encode(&self) -> Vec<u8, Global>

    Convert self to an owned vector.
    §

    fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<NetworkId> for Junction

    source§

    fn from(n: NetworkId) -> Junction

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for NetworkId

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for NetworkId

    source§

    fn cmp(&self, other: &NetworkId) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere + F: FnOnce(&[u8]) -> R,

    Convert self to a slice and then invoke the given closure with it.
    §

    fn encoded_size(&self) -> usize

    Calculates the encoded size. Read more
    source§

    impl From<NetworkId> for Junction

    source§

    fn from(n: NetworkId) -> Junction

    Converts to this type from the input type.
    source§

    impl MaxEncodedLen for NetworkId

    source§

    fn max_encoded_len() -> usize

    Upper bound, in bytes, of the maximum encoded size of this item.
    source§

    impl Ord for NetworkId

    source§

    fn cmp(&self, other: &NetworkId) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq<NetworkId> for NetworkId

    source§

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

    This method tests for self and other values to be equal, and is used