diff --git a/doc/help.html b/doc/help.html index 9f9f43172358..cffb344e03a9 100644 --- a/doc/help.html +++ b/doc/help.html @@ -1 +1 @@ -Rustdoc help

Rustdoc help

Back
\ No newline at end of file +Rustdoc help

Rustdoc help

Back
\ No newline at end of file diff --git a/doc/implementors/bounded_collections/trait.Get.js b/doc/implementors/bounded_collections/trait.Get.js index b76801d83929..7365a1759225 100644 --- a/doc/implementors/bounded_collections/trait.Get.js +++ b/doc/implementors/bounded_collections/trait.Get.js @@ -5,7 +5,7 @@ "polkadot_runtime":[["impl<_I: From<u32>> Get<_I> for MaxRegistrars"],["impl<_I: From<u32>> Get<_I> for MaxSubAccounts"],["impl<_I: From<u32>> Get<_I> for MaxActiveValidators"],["impl<_I: From<Balance>> Get<_I> for BountyDepositBase"],["impl<_I: From<Balance>> Get<_I> for MinVestedTransfer"],["impl<_I: From<BlockNumber>> Get<_I> for TipCountdown"],["impl<_I: From<Balance>> Get<_I> for FieldDeposit"],["impl<_I: From<u32>> Get<_I> for MaxReserves"],["impl<_I: From<Balance>> Get<_I> for BasicDeposit"],["impl<_I: From<u32>> Get<_I> for MaxNominatorRewardedPerValidator"],["impl<_I: From<u32>> Get<_I> for MaxAuthorities"],["impl<_I: From<u128>> Get<_I> for BaseDeliveryFee"],["impl<_I: From<u32>> Get<_I> for MaxAdditionalFields"],["impl<_I: From<Weight>> Get<_I> for MaximumSchedulerWeight"],["impl<_I: From<u32>> Get<_I> for PreimageMaxSize"],["impl<_I: From<Balance>> Get<_I> for ChildBountyValueMinimum"],["impl<_I: From<BlockWeights>> Get<_I> for BlockWeights"],["impl<_I: From<MultiLocation>> Get<_I> for StatemintLocation"],["impl<_I: From<Balance>> Get<_I> for ParathreadDeposit"],["impl<_I: From<TransactionPriority>> Get<_I> for ParasUnsignedPriority"],["impl<_I: From<Balance>> Get<_I> for SignedRewardBase"],["impl<_I: From<u32>> Get<_I> for MaxLocks"],["impl<_I: From<Option<u32>>> Get<_I> for NoPreimagePostponement"],["impl<_I: From<MultiLocation>> Get<_I> for CollectivesLocation"],["impl<_I: From<NetworkId>> Get<_I> for ThisNetwork"],["impl<_I: From<Balance>> Get<_I> for ParaDeposit"],["impl<_I: From<u32>> Get<_I> for MessageQueueHeapSize"],["impl<_I: From<u32>> Get<_I> for SignedPhase"],["impl<_I: From<Balance>> Get<_I> for DepositFactor"],["impl<_I: From<BlockNumber>> Get<_I> for VoteLockingPeriod"],["impl<_I: From<u32>> Get<_I> for MaxInstructions"],["impl<_I: From<Balance>> Get<_I> for AnnouncementDepositBase"],["impl<_I: From<ElectionBounds>> Get<_I> for ElectionBounds"],["impl<_I: From<Balance>> Get<_I> for SubmissionDeposit"],["impl<_I: From<InteriorMultiLocation>> Get<_I> for UniversalLocation"],["impl<_I: From<&'static PiecewiseLinear<'static>>> Get<_I> for RewardCurve"],["impl<_I: From<Balance>> Get<_I> for DepositBase"],["impl<_I: From<Balance>> Get<_I> for SignedDepositByte"],["impl<_I: From<LockIdentifier>> Get<_I> for PhragmenElectionPalletId"],["impl<_I: From<u16>> Get<_I> for MaxPending"],["impl<_I: From<BlockNumber>> Get<_I> for UndecidingTimeout"],["impl<_I: From<SessionIndex>> Get<_I> for SessionsPerEra"],["impl<_I: From<Balance>> Get<_I> for MinContribution"],["impl<_I: From<BlockNumber>> Get<_I> for LeasePeriod"],["impl<_I: From<&'static str>> Get<_I> for CouncilPalletName"],["impl<_I: From<Balance>> Get<_I> for TransactionByteFee"],["impl<_I: From<Perbill>> Get<_I> for BetterUnsignedThreshold"],["impl<_I: From<Balance>> Get<_I> for ParaDataByteDeposit"],["impl<_I: From<u32>> Get<_I> for MaxNominations"],["impl<_I: From<Balance>> Get<_I> for CuratorDepositMax"],["impl<_I: From<Balance>> Get<_I> for CuratorDepositMin"],["impl<_I: From<&'static str>> Get<_I> for DemocracyPalletName"],["impl<_I: From<u32>> Get<_I> for MaxApprovals"],["impl<_I: From<Balance>> Get<_I> for MaxBalance"],["impl<_I: From<u32>> Get<_I> for SignedMaxRefunds"],["impl<_I: From<Balance>> Get<_I> for PreimageBaseDeposit"],["impl<_I: From<u32>> Get<_I> for SignedMaxSubmissions"],["impl<_I: From<BlockNumber>> Get<_I> for AlarmInterval"],["impl<_I: From<Balance>> Get<_I> for ProxyDepositFactor"],["impl<_I: From<BlockNumber>> Get<_I> for SpendPeriod"],["impl<_I: From<Balance>> Get<_I> for AnnouncementDepositFactor"],["impl<_I: From<BodyId>> Get<_I> for StakingAdminBodyId"],["impl<_I: From<Weight>> Get<_I> for MessageQueueServiceWeight"],["impl<_I: From<u64>> Get<_I> for EpochDuration"],["impl<_I: From<BlockNumber>> Get<_I> for OffchainRepeat"],["impl<_I: From<u32>> Get<_I> for MaxScheduledPerBlock"],["impl<_I: From<u32>> Get<_I> for MaximumReasonLength"],["impl<_I: From<(AccountId, MintLocation)>> Get<_I> for LocalCheckAccount"],["impl<_I: From<u16>> Get<_I> for MaxProxies"],["impl<_I: From<EraIndex>> Get<_I> for BondingDuration"],["impl<_I: From<Weight>> Get<_I> for OffchainSolutionWeightLimit"],["impl<_I: From<u32>> Get<_I> for UnsignedPhase"],["impl<_I: From<Permill>> Get<_I> for CuratorDepositMultiplier"],["impl Get<Vec<(<TracksInfo as TracksInfo<u128, u32>>::Id, TrackInfo<u128, u32>), Global>> for TracksInfo"],["impl<_I: From<u8>> Get<_I> for MaxMemoLength"],["impl<_I: From<BodyId>> Get<_I> for FellowsBodyId"],["impl<_I: From<Perbill>> Get<_I> for OffendingValidatorsThreshold"],["impl<_I: From<u32>> Get<_I> for MaxPeerInHeartbeats"],["impl<_I: From<Balance>> Get<_I> for ProposalBondMinimum"],["impl<_I: From<PalletId>> Get<_I> for TreasuryPalletId"],["impl<_I: From<Balance>> Get<_I> for PreimageByteDeposit"],["impl<_I: From<u32>> Get<_I> for MessageQueueMaxStale"],["impl<_I: From<u32>> Get<_I> for MaxElectingVoters"],["impl<_I: From<BlockNumber>> Get<_I> for BountyDepositPayoutDelay"],["impl<_I: From<MultiAssetFilter>> Get<_I> for Dot"],["impl<_I: From<&'static [u64]>> Get<_I> for BagThresholds"],["impl<_I: From<BlockNumber>> Get<_I> for EndingPeriod"],["impl<_I: From<AssetId>> Get<_I> for FeeAssetId"],["impl<_I: From<u32>> Get<_I> for OffchainSolutionLengthLimit"],["impl<_I: From<BodyId>> Get<_I> for GeneralAdminBodyId"],["impl<_I: From<Balance>> Get<_I> for ProposalBondMaximum"],["impl<_I: From<&'static str>> Get<_I> for TechnicalCommitteePalletName"],["impl<_I: From<PalletId>> Get<_I> for CrowdloanId"],["impl<_I: From<Weight>> Get<_I> for BaseXcmWeight"],["impl<_I: From<Balance>> Get<_I> for DataDepositPerByte"],["impl<_I: From<Balance>> Get<_I> for CouncilSpendOriginMaxAmount"],["impl<_I: From<&'static str>> Get<_I> for PhragmenElectionPalletName"],["impl<_I: From<u32>> Get<_I> for MaxSetIdSessionEntries"],["impl<_I: From<Permill>> Get<_I> for ProposalBond"],["impl<_I: From<Percent>> Get<_I> for TipFindersFee"],["impl<_I: From<u64>> Get<_I> for MinimumPeriod"],["impl<_I: From<Balance>> Get<_I> for SignedDepositBase"],["impl<_I: From<Balance>> Get<_I> for ProxyDepositBase"],["impl<_I: From<BodyId>> Get<_I> for FellowshipAdminBodyId"],["impl<_I: From<(MultiAssetFilter, MultiLocation)>> Get<_I> for DotForCollectives"],["impl<_I: From<u8>> Get<_I> for MaxPointsToBalance"],["impl<_I: From<&'static str>> Get<_I> for TipsPalletName"],["impl<_I: From<Balance>> Get<_I> for SubAccountDeposit"],["impl<_I: From<MultiLocation>> Get<_I> for TokenLocation"],["impl<_I: From<u32>> Get<_I> for MaxRetries"],["impl<_I: From<TransactionPriority>> Get<_I> for ImOnlineUnsignedPriority"],["impl<_I: From<u8>> Get<_I> for SS58Prefix"],["impl<_I: From<BlockNumber>> Get<_I> for SampleLength"],["impl<_I: From<Balance>> Get<_I> for ExistentialDeposit"],["impl<_I: From<Balance>> Get<_I> for BountyValueMinimum"],["impl<_I: From<Balance>> Get<_I> for SubmissionDeposit"],["impl<_I: From<u32>> Get<_I> for RemoveKeysLimit"],["impl<_I: From<EraIndex>> Get<_I> for SlashDeferDuration"],["impl<_I: From<Permill>> Get<_I> for Burn"],["impl<_I: From<Moment>> Get<_I> for ExpectedBlockTime"],["impl<_I: From<u32>> Get<_I> for MaxKeys"],["impl<_I: From<u32>> Get<_I> for MaxActiveChildBountyCount"],["impl Get<Perbill> for NominationPoolsMigrationV4OldPallet"],["impl<_I: From<&'static str>> Get<_I> for TechnicalMembershipPalletName"],["impl<_I: From<&'static [u8]>> Get<_I> for Prefix"],["impl<_I: From<TransactionPriority>> Get<_I> for NposSolutionPriority"],["impl<_I: From<PalletId>> Get<_I> for PoolsPalletId"],["impl<_I: From<BlockNumber>> Get<_I> for LeaseOffset"],["impl<_I: From<u64>> Get<_I> for ReportLongevity"],["impl<_I: From<RuntimeVersion>> Get<_I> for Version"],["impl<_I: From<AccountId>> Get<_I> for CheckAccount"],["impl<_I: From<u32>> Get<_I> for MaxAssetsIntoHolding"],["impl<_I: From<BlockNumber>> Get<_I> for BountyUpdatePeriod"],["impl<_I: From<Balance>> Get<_I> for RootSpendOriginMaxAmount"],["impl<_I: From<u32>> Get<_I> for MaxSignatories"],["impl<_I: From<WithdrawReasons>> Get<_I> for UnvestedFundsAllowedWithdrawReasons"],["impl<_I: From<Balance>> Get<_I> for TipReportDepositBase"],["impl<_I: From<u8>> Get<_I> for OperationalFeeMultiplier"],["impl<_I: From<Balance>> Get<_I> for IndexDeposit"],["impl<_I: From<(MultiAssetFilter, MultiLocation)>> Get<_I> for DotForStatemint"]], "polkadot_runtime_common":[["impl<_I: From<Multiplier>> Get<_I> for MinimumMultiplier"],["impl<_I: From<Perquintill>> Get<_I> for TargetBlockFullness"],["impl<_I: From<BlockNumber>> Get<_I> for BlockHashCount"],["impl<_I: From<Multiplier>> Get<_I> for AdjustmentVariable"],["impl<_I: From<BlockLength>> Get<_I> for BlockLength"],["impl<_I: From<Multiplier>> Get<_I> for MaximumMultiplier"]], "polkadot_runtime_constants":[["impl<I: From<Weight>> Get<I> for ExtrinsicBaseWeight"],["impl<I: From<Weight>> Get<I> for BlockExecutionWeight"],["impl<_I: From<RuntimeDbWeight>> Get<_I> for RocksDbWeight"],["impl<_I: From<RuntimeDbWeight>> Get<_I> for ParityDbWeight"]], -"polkadot_runtime_parachains":[["impl Get<FixedU128> for InitialFactor"],["impl<T: Config> Get<FixedU128> for SpotTrafficOnEmpty<T>"],["impl<T: Config> Get<VecDeque<Assignment, Global>> for OnDemandQueueOnEmpty<T>"]], +"polkadot_runtime_parachains":[["impl Get<FixedU128> for InitialFactor"],["impl<T: Config> Get<FixedU128> for SpotTrafficOnEmpty<T>"],["impl<T: Config> Get<VecDeque<Assignment, Global>> for OnDemandQueueOnEmpty<T>"]], "polkadot_service":[], "polkadot_test_runtime":[["impl<_I: From<Balance>> Get<_I> for TransactionByteFee"],["impl<_I: From<u32>> Get<_I> for MaxAssetsIntoHolding"],["impl<_I: From<&'static PiecewiseLinear<'static>>> Get<_I> for RewardCurve"],["impl<_I: From<Moment>> Get<_I> for ExpectedBlockTime"],["impl<_I: From<u64>> Get<_I> for MinimumPeriod"],["impl<_I: From<u32>> Get<_I> for MaxAuthorities"],["impl<_I: From<BlockWeights>> Get<_I> for BlockWeights"],["impl<_I: From<u32>> Get<_I> for MaxInstructions"],["impl<_I: From<EraIndex>> Get<_I> for BondingDuration"],["impl<_I: From<BlockNumber>> Get<_I> for EndingPeriod"],["impl<_I: From<ElectionBounds>> Get<_I> for ElectionBoundsOnChain"],["impl<_I: From<TransactionPriority>> Get<_I> for ParasUnsignedPriority"],["impl<_I: From<u32>> Get<_I> for MaxSetIdSessionEntries"],["impl<_I: From<u64>> Get<_I> for ReportLongevity"],["impl<_I: From<RuntimeVersion>> Get<_I> for Version"],["impl<_I: From<u32>> Get<_I> for MaxLocks"],["impl<_I: From<&'static [u8]>> Get<_I> for Prefix"],["impl<_I: From<InteriorMultiLocation>> Get<_I> for UniversalLocation"],["impl<_I: From<Option<NetworkId>>> Get<_I> for AnyNetwork"],["impl<_I: From<u64>> Get<_I> for SlotDuration"],["impl<_I: From<u64>> Get<_I> for EpochDuration"],["impl<_I: From<BlockNumber>> Get<_I> for Period"],["impl<_I: From<Weight>> Get<_I> for OffchainSolutionWeightLimit"],["impl<_I: From<u64>> Get<_I> for FirstMessageFactorPercent"],["impl<_I: From<SessionIndex>> Get<_I> for SessionsPerEra"],["impl<_I: From<Perbill>> Get<_I> for OffendingValidatorsThreshold"],["impl<_I: From<u32>> Get<_I> for MaxReserves"],["impl<_I: From<BlockNumber>> Get<_I> for Offset"],["impl<_I: From<BlockNumber>> Get<_I> for LeasePeriod"],["impl<_I: From<WithdrawReasons>> Get<_I> for UnvestedFundsAllowedWithdrawReasons"],["impl<_I: From<u32>> Get<_I> for MaxNominatorRewardedPerValidator"],["impl<_I: From<u8>> Get<_I> for SS58Prefix"],["impl<_I: From<Balance>> Get<_I> for ExistentialDeposit"],["impl<_I: From<EraIndex>> Get<_I> for SlashDeferDuration"],["impl<_I: From<Weight>> Get<_I> for BaseXcmWeight"],["impl<_I: From<Balance>> Get<_I> for MinVestedTransfer"],["impl<_I: From<u8>> Get<_I> for OperationalFeeMultiplier"],["impl<_I: From<u32>> Get<_I> for OffchainSolutionLengthLimit"],["impl<_I: From<u32>> Get<_I> for OnChainMaxWinners"],["impl<_I: From<Balance>> Get<_I> for IndexDeposit"]], "rococo_runtime":[["impl<_I: From<Balance>> Get<_I> for BountyValueMinimum"],["impl<_I: From<BlockNumber>> Get<_I> for NisBasePeriod"],["impl<_I: From<MultiLocation>> Get<_I> for Contracts"],["impl<_I: From<MultiLocation>> Get<_I> for Track"],["impl<_I: From<BlockNumber>> Get<_I> for LaunchPeriod"],["impl<_I: From<(Perquintill, BlockNumber)>> Get<_I> for ThawThrottle"],["impl<_I: From<Weight>> Get<_I> for MaxIntakeWeight"],["impl<_I: From<u32>> Get<_I> for MaximumReasonLength"],["impl<_I: From<Balance>> Get<_I> for AnnouncementDepositBase"],["impl<_I: From<(MultiAssetFilter, MultiLocation)>> Get<_I> for RocForEncointer"],["impl<_I: From<BlockNumber>> Get<_I> for VotingPeriod"],["impl<_I: From<InteriorMultiLocation>> Get<_I> for UniversalLocation"],["impl<_I: From<BlockNumber>> Get<_I> for BountyDepositPayoutDelay"],["impl<_I: From<Balance>> Get<_I> for ParaDeposit"],["impl<_I: From<Balance>> Get<_I> for ExistentialDeposit"],["impl<_I: From<Weight>> Get<_I> for OffchainSolutionWeightLimit"],["impl<_I: From<(MultiAssetFilter, MultiLocation)>> Get<_I> for RocForContracts"],["impl<_I: From<Permill>> Get<_I> for ProposalBond"],["impl<_I: From<Balance>> Get<_I> for AnnouncementDepositFactor"],["impl<_I: From<Moment>> Get<_I> for ExpectedBlockTime"],["impl<_I: From<Balance>> Get<_I> for SubAccountDeposit"],["impl<_I: From<Weight>> Get<_I> for BaseXcmWeight"],["impl<_I: From<PalletId>> Get<_I> for CrowdloanId"],["impl<_I: From<u32>> Get<_I> for MaxReserves"],["impl<_I: From<AssetId>> Get<_I> for FeeAssetId"],["impl<_I: From<u32>> Get<_I> for DesiredMembers"],["impl<_I: From<&'static [u8]>> Get<_I> for Prefix"],["impl<_I: From<Balance>> Get<_I> for TransactionByteFee"],["impl<_I: From<LockIdentifier>> Get<_I> for PhragmenElectionPalletId"],["impl<_I: From<BlockNumber>> Get<_I> for CooloffPeriod"],["impl<_I: From<u32>> Get<_I> for MaxVotesPerVoter"],["impl<_I: From<u32>> Get<_I> for MaxScheduledPerBlock"],["impl<_I: From<BlockWeights>> Get<_I> for BlockWeights"],["impl<_I: From<SessionIndex>> Get<_I> for SessionsPerEra"],["impl<_I: From<Balance>> Get<_I> for PreimageBaseDeposit"],["impl<_I: From<u32>> Get<_I> for MaxLocks"],["impl<_I: From<Perquintill>> Get<_I> for MinReceipt"],["impl<_I: From<u32>> Get<_I> for RemoveKeysLimit"],["impl<_I: From<MultiAssetFilter>> Get<_I> for Roc"],["impl<_I: From<Balance>> Get<_I> for BasicDeposit"],["impl<_I: From<Balance>> Get<_I> for MinBid"],["impl<_I: From<u32>> Get<_I> for MaxSignatories"],["impl<_I: From<u16>> Get<_I> for MaxPending"],["impl<_I: From<BlockNumber>> Get<_I> for TermDuration"],["impl<_I: From<u32>> Get<_I> for MessageQueueMaxStale"],["impl<_I: From<Balance>> Get<_I> for PreimageByteDeposit"],["impl<_I: From<Balance>> Get<_I> for DepositBase"],["impl<_I: From<u32>> Get<_I> for BeefySetIdSessionEntries"],["impl<_I: From<PalletId>> Get<_I> for TreasuryPalletId"],["impl<_I: From<Permill>> Get<_I> for Burn"],["impl<_I: From<u32>> Get<_I> for MaxAuthorities"],["impl<_I: From<(MultiAssetFilter, MultiLocation)>> Get<_I> for RocForTrick"],["impl<_I: From<u128>> Get<_I> for BaseDeliveryFee"],["impl<_I: From<MultiLocation>> Get<_I> for Rockmine"],["impl<_I: From<Balance>> Get<_I> for SubmissionDeposit"],["impl<_I: From<PalletId>> Get<_I> for NisPalletId"],["impl<_I: From<u32>> Get<_I> for DesiredRunnersUp"],["impl<_I: From<u32>> Get<_I> for MigrationMaxKeyLen"],["impl<_I: From<TransactionPriority>> Get<_I> for ImOnlineUnsignedPriority"],["impl<_I: From<MultiLocation>> Get<_I> for Encointer"],["impl<_I: From<u32>> Get<_I> for MaxVoters"],["impl<_I: From<MultiLocation>> Get<_I> for Tick"],["impl<_I: From<Balance>> Get<_I> for MinVestedTransfer"],["impl<_I: From<EraIndex>> Get<_I> for BondingDuration"],["impl<_I: From<u16>> Get<_I> for MaxFriends"],["impl<_I: From<BlockNumber>> Get<_I> for TechnicalMotionDuration"],["impl<_I: From<WithdrawReasons>> Get<_I> for UnvestedFundsAllowedWithdrawReasons"],["impl<_I: From<(MultiAssetFilter, MultiLocation)>> Get<_I> for RocForTrack"],["impl<_I: From<BlockNumber>> Get<_I> for SampleLength"],["impl<_I: From<Balance>> Get<_I> for VotingBondFactor"],["impl<_I: From<Balance>> Get<_I> for MinContribution"],["impl<_I: From<u32>> Get<_I> for TechnicalMaxMembers"],["impl<_I: From<BlockNumber>> Get<_I> for EnactmentPeriod"],["impl<_I: From<u32>> Get<_I> for MaxSetIdSessionEntries"],["impl<_I: From<u32>> Get<_I> for MaxVotes"],["impl<_I: From<(AccountId, MintLocation)>> Get<_I> for LocalCheckAccount"],["impl<_I: From<Balance>> Get<_I> for MinimumDeposit"],["impl<_I: From<u8>> Get<_I> for OperationalFeeMultiplier"],["impl<_I: From<MmrLeafVersion>> Get<_I> for LeafVersion"],["impl<_I: From<u32>> Get<_I> for MaxTemporarySlotPerLeasePeriod"],["impl<_I: From<Balance>> Get<_I> for ConfigDepositBase"],["impl<_I: From<bool>> Get<_I> for InstantAllowed"],["impl<_I: From<MultiLocation>> Get<_I> for Trick"],["impl<_I: From<Balance>> Get<_I> for MigrationSignedDepositPerItem"],["impl<_I: From<BlockNumber>> Get<_I> for IntakePeriod"],["impl<_I: From<u32>> Get<_I> for MaxRegistrars"],["impl<_I: From<Balance>> Get<_I> for DataDepositPerByte"],["impl<_I: From<u32>> Get<_I> for OffchainSolutionLengthLimit"],["impl<_I: From<BlockNumber>> Get<_I> for LeasePeriod"],["impl<_I: From<Balance>> Get<_I> for CuratorDepositMin"],["impl<_I: From<BlockNumber>> Get<_I> for FastTrackVotingPeriod"],["impl<_I: From<u32>> Get<_I> for MaxAdditionalFields"],["impl<_I: From<Balance>> Get<_I> for CuratorDepositMax"],["impl<_I: From<Percent>> Get<_I> for TipFindersFee"],["impl<_I: From<u32>> Get<_I> for CouncilMaxMembers"],["impl<_I: From<Balance>> Get<_I> for FieldDeposit"],["impl<_I: From<u32>> Get<_I> for MaxInstructions"],["impl<_I: From<u32>> Get<_I> for PermanentSlotLeasePeriodLength"],["impl<_I: From<Balance>> Get<_I> for IndexDeposit"],["impl<_I: From<Balance>> Get<_I> for FriendDepositFactor"],["impl<_I: From<u32>> Get<_I> for MaxCandidates"],["impl<_I: From<Balance>> Get<_I> for TipReportDepositBase"],["impl<_I: From<BlockNumber>> Get<_I> for BountyUpdatePeriod"],["impl<_I: From<u32>> Get<_I> for MaxPeerInHeartbeats"],["impl<_I: From<RuntimeVersion>> Get<_I> for Version"],["impl<_I: From<u64>> Get<_I> for MinimumPeriod"],["impl<_I: From<u32>> Get<_I> for MaxProposals"],["impl<_I: From<u32>> Get<_I> for TechnicalMaxProposals"],["impl<_I: From<Balance>> Get<_I> for ProposalBondMinimum"],["impl<_I: From<Balance>> Get<_I> for CandidacyBond"],["impl<_I: From<u32>> Get<_I> for TemporarySlotLeasePeriodLength"],["impl<_I: From<MultiLocation>> Get<_I> for TokenLocation"],["impl<_I: From<u32>> Get<_I> for MessageQueueHeapSize"],["impl<_I: From<u32>> Get<_I> for MaxKeys"],["impl<_I: From<BlockNumber>> Get<_I> for CouncilMotionDuration"],["impl<_I: From<(MultiAssetFilter, MultiLocation)>> Get<_I> for RocForTick"],["impl<_I: From<Weight>> Get<_I> for MaximumSchedulerWeight"],["impl<_I: From<u32>> Get<_I> for CouncilMaxProposals"],["impl<_I: From<u32>> Get<_I> for MaxAssetsIntoHolding"],["impl<_I: From<u8>> Get<_I> for MaxMemoLength"],["impl<_I: From<u32>> Get<_I> for MaxSubAccounts"],["impl<_I: From<u32>> Get<_I> for MaxApprovals"],["impl<_I: From<Perquintill>> Get<_I> for NisTarget"],["impl<_I: From<Balance>> Get<_I> for ProxyDepositBase"],["impl<_I: From<Balance>> Get<_I> for MigrationSignedDepositBase"],["impl<_I: From<Balance>> Get<_I> for ProxyDepositFactor"],["impl<_I: From<AccountId>> Get<_I> for MigController"],["impl<_I: From<TransactionPriority>> Get<_I> for ParasUnsignedPriority"],["impl<_I: From<FixedU128>> Get<_I> for OnDemandTrafficDefaultValue"],["impl<_I: From<AccountId>> Get<_I> for CheckAccount"],["impl<_I: From<u32>> Get<_I> for MaxActiveChildBountyCount"],["impl<_I: From<Permill>> Get<_I> for CuratorDepositMultiplier"],["impl<_I: From<NetworkId>> Get<_I> for ThisNetwork"],["impl<_I: From<Balance>> Get<_I> for ChildBountyValueMinimum"],["impl<_I: From<u16>> Get<_I> for MaxProxies"],["impl<_I: From<Balance>> Get<_I> for VotingBondBase"],["impl<_I: From<Weight>> Get<_I> for MessageQueueServiceWeight"],["impl<_I: From<Balance>> Get<_I> for ProposalBondMaximum"],["impl<_I: From<Balance>> Get<_I> for DepositFactor"],["impl<_I: From<u64>> Get<_I> for ReportLongevity"],["impl<_I: From<PalletId>> Get<_I> for SocietyPalletId"],["impl<_I: From<BlockNumber>> Get<_I> for TipCountdown"],["impl<_I: From<Weight>> Get<_I> for MaxProposalWeight"],["impl<_I: From<(MultiAssetFilter, MultiLocation)>> Get<_I> for RocForRockmine"],["impl<_I: From<u8>> Get<_I> for SS58Prefix"],["impl<_I: From<Option<u32>>> Get<_I> for NoPreimagePostponement"],["impl<_I: From<BlockNumber>> Get<_I> for EndingPeriod"],["impl<_I: From<Balance>> Get<_I> for RecoveryDeposit"],["impl<_I: From<BlockNumber>> Get<_I> for SpendPeriod"],["impl<_I: From<Balance>> Get<_I> for BountyDepositBase"]], diff --git a/doc/implementors/core/convert/trait.From.js b/doc/implementors/core/convert/trait.From.js index b785e3ef3d4a..d07eea60356b 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<InternalValidationError> for ValidationError"],["impl From<PrepareError> for ValidationError"]], "polkadot_node_jaeger":[["impl From<Option<Span>> for Span"],["impl From<Span> for Span"]], -"polkadot_node_network_protocol":[["impl From<CollationProtocol> for VersionedCollationProtocol"],["impl From<Option<ChunkResponse>> for ChunkFetchingResponse"],["impl From<ErasureChunk> for ChunkResponse"],["impl From<RequestFailure> for RequestError"],["impl From<ValidationProtocol> for VersionedValidationProtocol"],["impl From<ValidationVersion> for ProtocolVersion"],["impl From<Canceled> for RequestError"],["impl From<ApprovalDistributionMessage> for ValidationProtocol"],["impl From<Versioned<CollatorProtocolMessage, CollatorProtocolMessage>> for VersionedCollationProtocol"],["impl From<ApprovalDistributionMessage> for ValidationProtocol"],["impl From<CollationProtocol> for VersionedCollationProtocol"],["impl From<Versioned<BitfieldDistributionMessage, BitfieldDistributionMessage>> for VersionedValidationProtocol"],["impl From<BitfieldDistributionMessage> for ValidationProtocol"],["impl From<DisputeMessage> for DisputeRequest"],["impl From<Option<AvailableData>> for AvailableDataFetchingResponse"],["impl From<Versioned<StatementDistributionMessage, StatementDistributionMessage>> for VersionedValidationProtocol"],["impl From<CollationVersion> for ProtocolVersion"],["impl From<FatalError> for Error"],["impl From<JfyiError> for Error"],["impl From<CollatorProtocolMessage> for CollationProtocol"],["impl From<CollatorProtocolMessage> for CollationProtocol"],["impl From<ProtocolVersion> for u32"],["impl From<Versioned<ApprovalDistributionMessage, ApprovalDistributionMessage>> for VersionedValidationProtocol"],["impl From<ObservedRole> for ObservedRole"],["impl From<BitfieldDistributionMessage> for ValidationProtocol"],["impl From<ValidationProtocol> for VersionedValidationProtocol"],["impl From<UnifiedReputationChange> for ReputationChange"],["impl From<StatementDistributionMessage> for ValidationProtocol"],["impl From<StatementDistributionMessage> for ValidationProtocol"],["impl From<Error> for RequestError"]], -"polkadot_node_primitives":[["impl From<&Statement> for CompactStatement"],["impl From<SessionWindowSize> for NonZeroUsize"],["impl From<&StatementWithPVD> for CompactStatement"],["impl From<ValidCandidateVotes> for BTreeMap<ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature)>"],["impl From<DisputeMessage> for UncheckedDisputeMessage"]], -"polkadot_node_subsystem_types":[["impl From<NetworkBridgeEvent<Versioned<BitfieldDistributionMessage, BitfieldDistributionMessage>>> for BitfieldDistributionMessage"],["impl From<NetworkBridgeEvent<Versioned<CollatorProtocolMessage, CollatorProtocolMessage>>> for CollatorProtocolMessage"],["impl From<NetworkBridgeEvent<Versioned<GossipSupportNetworkMessage, GossipSupportNetworkMessage>>> for GossipSupportMessage"],["impl From<SendError> for SubsystemError"],["impl From<Canceled> for SubsystemError"],["impl From<JaegerError> for SubsystemError"],["impl From<NetworkBridgeEvent<Versioned<ApprovalDistributionMessage, ApprovalDistributionMessage>>> for ApprovalDistributionMessage"],["impl From<(CandidateReceipt<H256>, u32, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>)> for AvailabilityRecoveryMessage"],["impl From<Error> for SubsystemError"],["impl From<NetworkBridgeEvent<Versioned<StatementDistributionMessage, StatementDistributionMessage>>> for StatementDistributionMessage"],["impl From<String> for ChainApiError"],["impl From<Error> for SubsystemError"],["impl From<OrchestraError> for SubsystemError"],["impl From<&str> for ChainApiError"],["impl From<Infallible> for SubsystemError"]], +"polkadot_node_network_protocol":[["impl From<CollationProtocol> for VersionedCollationProtocol"],["impl From<Option<ChunkResponse>> for ChunkFetchingResponse"],["impl From<ErasureChunk> for ChunkResponse"],["impl From<RequestFailure> for RequestError"],["impl From<ValidationProtocol> for VersionedValidationProtocol"],["impl From<ValidationVersion> for ProtocolVersion"],["impl From<Canceled> for RequestError"],["impl From<ApprovalDistributionMessage> for ValidationProtocol"],["impl From<Versioned<CollatorProtocolMessage, CollatorProtocolMessage>> for VersionedCollationProtocol"],["impl From<ApprovalDistributionMessage> for ValidationProtocol"],["impl From<CollationProtocol> for VersionedCollationProtocol"],["impl From<Versioned<BitfieldDistributionMessage, BitfieldDistributionMessage>> for VersionedValidationProtocol"],["impl From<BitfieldDistributionMessage> for ValidationProtocol"],["impl From<DisputeMessage> for DisputeRequest"],["impl From<Option<AvailableData>> for AvailableDataFetchingResponse"],["impl From<Versioned<StatementDistributionMessage, StatementDistributionMessage>> for VersionedValidationProtocol"],["impl From<CollationVersion> for ProtocolVersion"],["impl From<FatalError> for Error"],["impl From<JfyiError> for Error"],["impl From<CollatorProtocolMessage> for CollationProtocol"],["impl From<CollatorProtocolMessage> for CollationProtocol"],["impl From<ProtocolVersion> for u32"],["impl From<Versioned<ApprovalDistributionMessage, ApprovalDistributionMessage>> for VersionedValidationProtocol"],["impl From<ObservedRole> for ObservedRole"],["impl From<BitfieldDistributionMessage> for ValidationProtocol"],["impl From<ValidationProtocol> for VersionedValidationProtocol"],["impl From<UnifiedReputationChange> for ReputationChange"],["impl From<StatementDistributionMessage> for ValidationProtocol"],["impl From<StatementDistributionMessage> for ValidationProtocol"],["impl From<Error> for RequestError"]], +"polkadot_node_primitives":[["impl From<&Statement> for CompactStatement"],["impl From<SessionWindowSize> for NonZeroUsize"],["impl From<&StatementWithPVD> for CompactStatement"],["impl From<ValidCandidateVotes> for BTreeMap<ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature)>"],["impl From<DisputeMessage> for UncheckedDisputeMessage"]], +"polkadot_node_subsystem_types":[["impl From<NetworkBridgeEvent<Versioned<BitfieldDistributionMessage, BitfieldDistributionMessage>>> for BitfieldDistributionMessage"],["impl From<NetworkBridgeEvent<Versioned<CollatorProtocolMessage, CollatorProtocolMessage>>> for CollatorProtocolMessage"],["impl From<NetworkBridgeEvent<Versioned<GossipSupportNetworkMessage, GossipSupportNetworkMessage>>> for GossipSupportMessage"],["impl From<SendError> for SubsystemError"],["impl From<Canceled> for SubsystemError"],["impl From<JaegerError> for SubsystemError"],["impl From<NetworkBridgeEvent<Versioned<ApprovalDistributionMessage, ApprovalDistributionMessage>>> for ApprovalDistributionMessage"],["impl From<(CandidateReceipt<H256>, u32, Option<GroupIndex>, Sender<Result<AvailableData, RecoveryError>>)> for AvailabilityRecoveryMessage"],["impl From<Error> for SubsystemError"],["impl From<NetworkBridgeEvent<Versioned<StatementDistributionMessage, StatementDistributionMessage>>> for StatementDistributionMessage"],["impl From<String> for ChainApiError"],["impl From<Error> for SubsystemError"],["impl From<OrchestraError> for SubsystemError"],["impl From<&str> for ChainApiError"],["impl From<Infallible> for SubsystemError"]], "polkadot_node_subsystem_util":[["impl From<SubsystemError> for Error"],["impl From<FatalError> for Error"],["impl From<Infallible> for Error"],["impl From<SendError> for Error"],["impl From<JfyiError> for Error"],["impl From<RuntimeApiError> for Error"],["impl From<Constraints<u32>> for Constraints"],["impl From<Canceled> for Error"],["impl From<OrchestraError> for Error"]], "polkadot_overseer":[["impl From<ChainApiMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<AvailabilityRecoveryMessage> for AllMessages"],["impl From<NetworkBridgeTxMessage> for ApprovalDistributionOutgoingMessages"],["impl From<AvailabilityStoreMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<()> for RuntimeApiOutgoingMessages"],["impl From<StatementDistributionOutgoingMessages> for AllMessages"],["impl From<CollatorProtocolMessage> for CollationGenerationOutgoingMessages"],["impl From<ChainApiMessage> for ProvisionerOutgoingMessages"],["impl From<RuntimeApiMessage> for ProvisionerOutgoingMessages"],["impl From<ProvisionerMessage> for AllMessages"],["impl From<ChainSelectionMessage> for GossipSupportOutgoingMessages"],["impl From<ProspectiveParachainsMessage> for AllMessages"],["impl From<AvailabilityDistributionMessage> for CandidateBackingOutgoingMessages"],["impl From<ChainSelectionOutgoingMessages> for AllMessages"],["impl From<DisputeCoordinatorMessage> for DisputeDistributionOutgoingMessages"],["impl From<AvailabilityRecoveryOutgoingMessages> for AllMessages"],["impl From<()> for CollationGenerationOutgoingMessages"],["impl From<ApprovalVotingMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<DisputeDistributionMessage> for NetworkBridgeRxOutgoingMessages"],["impl From<AvailabilityStoreMessage> for BitfieldSigningOutgoingMessages"],["impl From<DisputeCoordinatorMessage> for ProvisionerOutgoingMessages"],["impl From<()> for AvailabilityStoreOutgoingMessages"],["impl From<()> for ProspectiveParachainsOutgoingMessages"],["impl From<AvailabilityRecoveryMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<RuntimeApiMessage> for CandidateBackingOutgoingMessages"],["impl From<ChainApiMessage> for AvailabilityStoreOutgoingMessages"],["impl From<()> for CollatorProtocolOutgoingMessages"],["impl From<ChainApiMessage> for CollatorProtocolOutgoingMessages"],["impl From<ProvisionerMessage> for BitfieldDistributionOutgoingMessages"],["impl From<()> for CandidateBackingOutgoingMessages"],["impl From<DisputeCoordinatorOutgoingMessages> for AllMessages"],["impl From<NetworkBridgeTxMessage> for CollatorProtocolOutgoingMessages"],["impl From<()> for ChainSelectionOutgoingMessages"],["impl From<ChainApiMessage> for ChainSelectionOutgoingMessages"],["impl From<()> for DisputeCoordinatorOutgoingMessages"],["impl From<()> for DisputeDistributionOutgoingMessages"],["impl From<()> for ApprovalVotingOutgoingMessages"],["impl From<RuntimeApiMessage> for PvfCheckerOutgoingMessages"],["impl From<BitfieldDistributionMessage> for AllMessages"],["impl From<GossipSupportOutgoingMessages> for AllMessages"],["impl From<AvailabilityRecoveryMessage> for ApprovalVotingOutgoingMessages"],["impl From<RuntimeApiMessage> for CollatorProtocolOutgoingMessages"],["impl From<ApprovalDistributionMessage> for ApprovalVotingOutgoingMessages"],["impl From<()> for AllMessages"],["impl From<DisputeDistributionOutgoingMessages> for AllMessages"],["impl From<()> for GossipSupportOutgoingMessages"],["impl From<CandidateValidationMessage> for ApprovalVotingOutgoingMessages"],["impl From<NetworkBridgeRxMessage> for AllMessages"],["impl From<ChainSelectionMessage> for AllMessages"],["impl From<DisputeDistributionMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<BlockImportNotification<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>> for BlockInfo"],["impl From<DisputeDistributionMessage> for AllMessages"],["impl From<AvailabilityStoreOutgoingMessages> for AllMessages"],["impl From<NetworkBridgeTxOutgoingMessages> for AllMessages"],["impl From<CandidateBackingMessage> for CollatorProtocolOutgoingMessages"],["impl From<AvailabilityDistributionOutgoingMessages> for AllMessages"],["impl From<CollatorProtocolMessage> for AllMessages"],["impl From<BitfieldSigningOutgoingMessages> for AllMessages"],["impl From<RuntimeApiMessage> for CandidateValidationOutgoingMessages"],["impl From<CandidateValidationMessage> for PvfCheckerOutgoingMessages"],["impl From<()> for PvfCheckerOutgoingMessages"],["impl From<ChainApiMessage> for ProspectiveParachainsOutgoingMessages"],["impl From<NetworkBridgeRxMessage> for GossipSupportOutgoingMessages"],["impl From<ApprovalDistributionOutgoingMessages> for AllMessages"],["impl From<ProspectiveParachainsMessage> for StatementDistributionOutgoingMessages"],["impl From<()> for AvailabilityDistributionOutgoingMessages"],["impl From<AvailabilityStoreMessage> for AvailabilityDistributionOutgoingMessages"],["impl From<RuntimeApiMessage> for AvailabilityDistributionOutgoingMessages"],["impl From<ApprovalDistributionMessage> for AllMessages"],["impl From<RuntimeApiMessage> for AvailabilityStoreOutgoingMessages"],["impl From<ChainApiMessage> for CandidateBackingOutgoingMessages"],["impl From<StatementDistributionMessage> for NetworkBridgeRxOutgoingMessages"],["impl From<ChainApiMessage> for StatementDistributionOutgoingMessages"],["impl From<CandidateValidationOutgoingMessages> for AllMessages"],["impl From<NetworkBridgeTxMessage> for AvailabilityRecoveryOutgoingMessages"],["impl From<()> for StatementDistributionOutgoingMessages"],["impl From<ProspectiveParachainsMessage> for CandidateBackingOutgoingMessages"],["impl From<ChainApiMessage> for ApprovalVotingOutgoingMessages"],["impl From<BitfieldDistributionOutgoingMessages> for AllMessages"],["impl From<ProspectiveParachainsMessage> for ProvisionerOutgoingMessages"],["impl From<()> for CandidateValidationOutgoingMessages"],["impl From<GossipSupportMessage> for AllMessages"],["impl From<DisputeCoordinatorMessage> for AllMessages"],["impl From<PvfCheckerOutgoingMessages> for AllMessages"],["impl From<FinalityNotification<Block<Header<u32, BlakeTwo256>, OpaqueExtrinsic>>> for BlockInfo"],["impl From<RuntimeApiMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<BitfieldDistributionMessage> for BitfieldSigningOutgoingMessages"],["impl From<NetworkBridgeTxMessage> for GossipSupportOutgoingMessages"],["impl From<ProspectiveParachainsOutgoingMessages> for AllMessages"],["impl From<CandidateBackingMessage> for StatementDistributionOutgoingMessages"],["impl From<CollatorProtocolMessage> for CandidateBackingOutgoingMessages"],["impl From<AvailabilityRecoveryMessage> for AvailabilityDistributionOutgoingMessages"],["impl From<PvfCheckerMessage> for AllMessages"],["impl From<CollationGenerationOutgoingMessages> for AllMessages"],["impl From<()> for AvailabilityRecoveryOutgoingMessages"],["impl From<ChainApiOutgoingMessages> for AllMessages"],["impl From<RuntimeApiMessage> for ApprovalVotingOutgoingMessages"],["impl From<ApprovalVotingMessage> for ApprovalDistributionOutgoingMessages"],["impl From<RuntimeApiMessage> for CollationGenerationOutgoingMessages"],["impl From<ChainApiMessage> for AllMessages"],["impl From<CollatorProtocolOutgoingMessages> for AllMessages"],["impl From<NetworkBridgeTxMessage> for AvailabilityDistributionOutgoingMessages"],["impl From<ProspectiveParachainsMessage> for CollatorProtocolOutgoingMessages"],["impl From<ApprovalVotingOutgoingMessages> for AllMessages"],["impl From<CandidateBackingOutgoingMessages> for AllMessages"],["impl From<NetworkBridgeTxMessage> for DisputeDistributionOutgoingMessages"],["impl From<ApprovalVotingMessage> for AllMessages"],["impl From<NetworkBridgeTxMessage> for AllMessages"],["impl From<()> for BitfieldDistributionOutgoingMessages"],["impl From<ProvisionerMessage> for CandidateBackingOutgoingMessages"],["impl From<()> for ProvisionerOutgoingMessages"],["impl From<GossipSupportMessage> for NetworkBridgeRxOutgoingMessages"],["impl From<ApprovalDistributionMessage> for NetworkBridgeRxOutgoingMessages"],["impl From<()> for NetworkBridgeRxOutgoingMessages"],["impl From<NetworkBridgeRxOutgoingMessages> for AllMessages"],["impl From<NetworkBridgeTxMessage> for StatementDistributionOutgoingMessages"],["impl From<AvailabilityStoreMessage> for CandidateBackingOutgoingMessages"],["impl From<AvailabilityStoreMessage> for AvailabilityRecoveryOutgoingMessages"],["impl From<ChainSelectionMessage> for ApprovalVotingOutgoingMessages"],["impl From<RuntimeApiMessage> for StatementDistributionOutgoingMessages"],["impl From<DisputeCoordinatorMessage> for ApprovalVotingOutgoingMessages"],["impl From<()> for ChainApiOutgoingMessages"],["impl From<RuntimeApiMessage> for BitfieldDistributionOutgoingMessages"],["impl From<NetworkBridgeTxMessage> for BitfieldDistributionOutgoingMessages"],["impl From<CollatorProtocolMessage> for NetworkBridgeRxOutgoingMessages"],["impl From<RuntimeApiMessage> for ProspectiveParachainsOutgoingMessages"],["impl From<RuntimeApiMessage> for GossipSupportOutgoingMessages"],["impl From<CollationGenerationMessage> for NetworkBridgeRxOutgoingMessages"],["impl From<ChainSelectionMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<CandidateValidationMessage> for AllMessages"],["impl From<CandidateValidationMessage> for CandidateBackingOutgoingMessages"],["impl From<ProvisionerOutgoingMessages> for AllMessages"],["impl From<()> for ApprovalDistributionOutgoingMessages"],["impl From<CandidateBackingMessage> for ProvisionerOutgoingMessages"],["impl From<RuntimeApiMessage> for AvailabilityRecoveryOutgoingMessages"],["impl From<AvailabilityStoreMessage> for AllMessages"],["impl From<BitfieldDistributionMessage> for NetworkBridgeRxOutgoingMessages"],["impl From<RuntimeApiMessage> for DisputeDistributionOutgoingMessages"],["impl From<RuntimeApiMessage> for AllMessages"],["impl From<AvailabilityDistributionMessage> for AllMessages"],["impl From<()> for NetworkBridgeTxOutgoingMessages"],["impl From<ChainApiMessage> for AvailabilityDistributionOutgoingMessages"],["impl From<CandidateValidationMessage> for DisputeCoordinatorOutgoingMessages"],["impl From<BitfieldSigningMessage> for AllMessages"],["impl From<()> for BitfieldSigningOutgoingMessages"],["impl From<CandidateBackingMessage> for AllMessages"],["impl From<StatementDistributionMessage> for CandidateBackingOutgoingMessages"],["impl From<RuntimeApiOutgoingMessages> for AllMessages"],["impl From<StatementDistributionMessage> for AllMessages"],["impl From<CollationGenerationMessage> for AllMessages"],["impl From<RuntimeApiMessage> for BitfieldSigningOutgoingMessages"]], "polkadot_parachain":[["impl From<Sibling> for Id"],["impl From<Id> for u32"],["impl From<[u8; 32]> for ValidationCodeHash"],["impl From<Vec<u8, Global>> for ValidationCode"],["impl From<Vec<u8, Global>> for HeadData"],["impl From<Sibling> for u32"],["impl From<u32> for Sibling"],["impl From<Id> for Sibling"],["impl From<u32> for Id"],["impl From<usize> for Id"],["impl From<Compact<Id>> for Id"],["impl From<Vec<u8, Global>> for BlockData"],["impl From<H256> for ValidationCodeHash"],["impl From<i32> for Id"]], @@ -20,7 +20,7 @@ "polkadot_runtime_parachains":[["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<T: Config> From<Event<T>> for ()"],["impl<T: Config> From<Error<T>> for DispatchError"],["impl<T: Config> From<Error<T>> for DispatchError"],["impl From<u32> for Origin"],["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<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<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 &'static str"],["impl From<QueueDownwardMessageError> for SendError"],["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Event<T>> for ()"],["impl<T: Config> From<Error<T>> for &'static str"],["impl From<Event> for ()"]], "polkadot_service":[["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<AddrParseError> for Error"],["impl From<SubsystemError> for Error"],["impl From<JaegerError> 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"]], "polkadot_statement_distribution":[["impl From<Error> for FatalError"],["impl From<JfyiError> for Error"],["impl From<Error> for Error"],["impl From<FatalError> 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<<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<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl<T: Config> From<Error<T>> for &'static str"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["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<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Option<<Runtime as Config>::AccountId>> for RuntimeOrigin"],["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<OriginCaller> for RuntimeOrigin"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<RuntimeOrigin> for Result<Origin<Runtime>, RuntimeOrigin>"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<RawOrigin<<Runtime as Config>::AccountId>> for OriginCaller"],["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<Error<Runtime>> for RuntimeError"],["impl From<Origin> for OriginCaller"],["impl From<Event> for RuntimeEvent"],["impl From<RuntimeOrigin> for Result<Origin, RuntimeOrigin>"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl<T: Config> From<Error<T>> for DispatchError"],["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<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<RuntimeOrigin> for Result<Origin, RuntimeOrigin>"],["impl From<Origin> for RuntimeOrigin"],["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<Origin> for RuntimeOrigin"],["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<RawOrigin<<Runtime as Config>::AccountId>> for RuntimeOrigin"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl<T: Config> From<Event<T>> for ()"],["impl From<Error<Runtime>> for RuntimeError"],["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<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<Event> for RuntimeEvent"],["impl From<Origin> for OriginCaller"],["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> for RuntimeEvent"]], "rococo_runtime":[["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event> for RuntimeEvent"],["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<<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<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<Error<Runtime>> for RuntimeError"],["impl From<RuntimeOrigin> for Result<Origin<Runtime>, RuntimeOrigin>"],["impl From<RuntimeOrigin> for Result<Origin, RuntimeOrigin>"],["impl From<Event> for RuntimeEvent"],["impl From<Event> for RuntimeEvent"],["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<Error<Runtime, ()>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Event<Runtime, Instance1>> for RuntimeEvent"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Origin> for OriginCaller"],["impl From<HoldReason> for RuntimeHoldReason"],["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<<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<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<RuntimeOrigin> for Result<Origin<Runtime, Instance1>, 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<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<Event<Runtime>> for RuntimeEvent"],["impl From<Origin> for OriginCaller"],["impl From<Event<Runtime>> for RuntimeEvent"],["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<<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<RawOrigin<<Runtime as Config>::AccountId, Instance1>> for RuntimeOrigin"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<Error<Runtime, ()>> for RuntimeError"],["impl From<RuntimeOrigin> for Result<Origin, RuntimeOrigin>"],["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<RawOrigin<<Runtime as Config>::AccountId, Instance1>> for OriginCaller"],["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<Error<Runtime>> for RuntimeError"],["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<<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<Option<<Runtime as Config>::AccountId>> for RuntimeOrigin"],["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<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<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<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Event> for RuntimeEvent"],["impl From<Event<Runtime, Instance1>> 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<Event<Runtime>> for RuntimeEvent"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<Event<Runtime>> for RuntimeEvent"],["impl From<<Pallet<Runtime, Instance1> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Origin> 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<<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<Error<Runtime, Instance1>> 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, Instance2> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["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<Error<Runtime, Instance1>> 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<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<Runtime> as Callable<Runtime>>::RuntimeCall> for RuntimeCall"],["impl From<Origin> for RuntimeOrigin"],["impl From<OriginCaller> for RuntimeOrigin"],["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<<Pallet<Runtime, Instance2> 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<<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<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<Error<Runtime>> for RuntimeError"],["impl From<Error<Runtime>> for RuntimeError"],["impl From<RawOrigin<<Runtime as Config>::AccountId>> for OriginCaller"]], "staking_miner":[["impl From<Error> for RpcHelperError"],["impl<'a> From<&'a RuntimeVersion> for RuntimeWrapper<'a>"],["impl<T: Config> From<FeasibilityError> for Error<T>"],["impl<T: Config> From<Error> for Error<T>"],["impl<T: Config> From<MinerError> for Error<T>"],["impl<T: Config> From<RpcHelperError> 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<T: Config> From<Error> for Error<T>"],["impl<T: Config> From<ElectionError<T>> for Error<T>"]], diff --git a/doc/implementors/core/convert/trait.Into.js b/doc/implementors/core/convert/trait.Into.js index 0d0f8daba9e8..06b5cca15129 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 0abe47caf317..697809383e69 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/parity_scale_codec/codec/trait.Decode.js b/doc/implementors/parity_scale_codec/codec/trait.Decode.js index dbf39df20780..1d1ac4e9e2ba 100644 --- a/doc/implementors/parity_scale_codec/codec/trait.Decode.js +++ b/doc/implementors/parity_scale_codec/codec/trait.Decode.js @@ -10,7 +10,7 @@ "polkadot_primitives":[["impl Decode for DisputeStatement"],["impl Decode for ScheduledCore"],["impl Decode for RuntimeMetricLabel"],["impl<H> Decode for CandidateReceipt<H>where\n CandidateDescriptor<H>: Decode,"],["impl Decode for CoreIndex"],["impl<H, N> Decode for OccupiedCore<H, N>where\n N: Decode,\n CandidateDescriptor<H>: Decode,"],["impl Decode for RuntimeMetricLabels"],["impl Decode for OpaqueKeyOwnershipProof"],["impl Decode for ParathreadEntry"],["impl Decode for DisputeStatementSet"],["impl Decode for SlashingOffenceKind"],["impl Decode for AvailabilityBitfield"],["impl Decode for OccupiedCoreAssumption"],["impl Decode for PendingSlashes"],["impl<K, V> Decode for IndexedVec<K, V>where\n Vec<V>: Decode,\n PhantomData<fn(_: K) -> K>: Decode,"],["impl<H: Encode + Decode> Decode for ScrapedOnChainVotes<H>where\n Vec<(CandidateReceipt<H>, Vec<(ValidatorIndex, ValidityAttestation)>)>: Decode,"],["impl Decode for ExecutorParams"],["impl<H, N> Decode for CoreState<H, N>where\n OccupiedCore<H, N>: Decode,"],["impl Decode for PvfCheckStatement"],["impl<H> Decode for SigningContext<H>where\n H: Decode,"],["impl Decode for AbridgedHostConfiguration"],["impl Decode for SessionInfo"],["impl Decode for AbridgedHrmpChannel"],["impl Decode for ConsensusLog"],["impl Decode for ExecutorParamsHash"],["impl Decode for Assignment"],["impl Decode for UpgradeRestriction"],["impl Decode for ValidDisputeStatementKind"],["impl<N> Decode for Constraints<N>where\n N: Decode,\n Vec<N>: Decode,\n InboundHrmpLimitations<N>: Decode,\n Option<(N, ValidationCodeHash)>: Decode,"],["impl<H> Decode for CandidateDescriptor<H>where\n H: Decode,"],["impl<H> Decode for CandidateEvent<H>where\n CandidateReceipt<H>: Decode,"],["impl Decode for UpgradeGoAhead"],["impl<N> Decode for DisputeState<N>where\n N: Decode,\n Option<N>: Decode,"],["impl Decode for CompactStatement"],["impl Decode for RuntimeMetricOp"],["impl Decode for GroupIndex"],["impl Decode for DisputeProof"],["impl<H, N> Decode for FullCandidateReceipt<H, N>where\n CandidateReceipt<H>: Decode,\n PersistedValidationData<H, N>: Decode,"],["impl Decode for InvalidDisputeStatementKind"],["impl Decode for ParathreadClaim"],["impl<N> Decode for ParasEntry<N>where\n N: Decode,"],["impl<HDR> Decode for InherentData<HDR>where\n Vec<BackedCandidate<HDR::Hash>>: Decode,\n HDR: Decode + HeaderT,"],["impl<Payload, RealPayload> Decode for UncheckedSigned<Payload, RealPayload>where\n Payload: Decode,\n PhantomData<RealPayload>: Decode,"],["impl Decode for DisputesTimeSlot"],["impl Decode for ExecutorParam"],["impl<N> Decode for InboundHrmpLimitations<N>where\n Vec<N>: Decode,"],["impl Decode for ValidatorIndex"],["impl Decode for PvfExecTimeoutKind"],["impl<H> Decode for CommittedCandidateReceipt<H>where\n CandidateDescriptor<H>: Decode,"],["impl<H, N> Decode for BackingState<H, N>where\n Constraints<N>: Decode,\n Vec<CandidatePendingAvailability<H, N>>: Decode,"],["impl Decode for OutboundHrmpChannelLimitations"],["impl<N> Decode for CoreOccupied<N>where\n ParasEntry<N>: Decode,"],["impl<N> Decode for CandidateCommitments<N>where\n N: Decode,"],["impl<H, N> Decode for CandidatePendingAvailability<H, N>where\n CandidateDescriptor<H>: Decode,\n N: Decode,"],["impl Decode for PvfPrepTimeoutKind"],["impl<H> Decode for BackedCandidate<H>where\n CommittedCandidateReceipt<H>: Decode,"],["impl<H, N> Decode for PersistedValidationData<H, N>where\n N: Decode,\n H: Decode,"],["impl Decode for ValidityAttestation"],["impl Decode for AsyncBackingParams"],["impl Decode for RuntimeMetricUpdate"],["impl<N> Decode for GroupRotationInfo<N>where\n N: Decode,"]], "polkadot_runtime":[["impl Decode for RuntimeLockId"],["impl Decode for RuntimeFreezeReason"],["impl Decode for RuntimeSlashReason"],["impl Decode for RuntimeCall"],["impl<T: Config> Decode for Call<T>"],["impl Decode for NposCompactSolution16"],["impl Decode for RuntimeHoldReason"],["impl Decode for RuntimeEvent"],["impl Decode for Origin"],["impl Decode for ProxyType"],["impl Decode for OriginCaller"],["impl Decode for RuntimeError"],["impl Decode for SessionKeys"]], "polkadot_runtime_common":[["impl<T: Config> Decode for Call<T>"],["impl<T: Config> Decode for Event<T>where\n T::AccountId: Decode,\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: Decode,\n BlockNumberFor<T>: Decode,"],["impl<T: Config + Send + Sync> Decode for PrevalidateAttests<T>where\n <T as Config>::RuntimeCall: IsSubType<Call<T>>,\n PhantomData<T>: Decode,"],["impl<T: Config> Decode for Call<T>"],["impl<T> Decode for Error<T>"],["impl<T: Config> Decode for Event<T>where\n T::AccountId: Decode,\n <<<T as Config>::VestingSchedule as VestingSchedule<<T as Config>::AccountId>>::Currency as Currency<<T as Config>::AccountId>>::Balance: Decode,"],["impl<T: Config> Decode for Event<T>where\n <<T as Config>::Leaser as Leaser<BlockNumberFor<T>>>::LeasePeriod: Decode,\n BlockNumberFor<T>: Decode,\n T::AccountId: Decode,\n <<<T as Config>::Leaser as Leaser<BlockNumberFor<T>>>::Currency as Currency<<T as Config>::AccountId>>::Balance: Decode,"],["impl<T> Decode for Error<T>"],["impl<T: Config> Decode for Call<T>"],["impl Decode for SlotLeasePeriodStart"],["impl<T: Config> Decode for Event<T>"],["impl<T: Config> Decode for Call<T>"],["impl<AccountId, Balance, BlockNumber, LeasePeriod> Decode for FundInfo<AccountId, Balance, BlockNumber, LeasePeriod>where\n AccountId: Decode,\n Balance: Decode,\n BlockNumber: Decode,\n LeasePeriod: Decode,"],["impl<T: Config> Decode for Call<T>"],["impl<T: Config> Decode for Event<T>where\n T::AccountId: Decode,\n <<<T as Config>::Auctioneer as Auctioneer<BlockNumberFor<T>>>::Currency as Currency<<T as Config>::AccountId>>::Balance: Decode,"],["impl<T: Config> Decode for Call<T>"],["impl<T: Config> Decode for Call<T>"],["impl Decode for EthereumAddress"],["impl<T> Decode for Error<T>"],["impl<Account, Balance> Decode for ParaInfo<Account, Balance>where\n Account: Decode,\n Balance: Decode,"],["impl<T: Config> Decode for Call<T>"],["impl Decode for AccountValidity"],["impl<Balance> Decode for AccountStatus<Balance>where\n Balance: Decode,"],["impl Decode for EcdsaSignature"],["impl<T> Decode for Error<T>"],["impl Decode for SlotRange"],["impl<BlockNumber> Decode for LastContribution<BlockNumber>where\n BlockNumber: Decode,"],["impl<T> Decode for Error<T>"],["impl<T> Decode for Error<T>"],["impl Decode for StatementKind"],["impl<T: Config> Decode for Event<T>where\n T::AccountId: Decode,"],["impl<T: Config> Decode for Event<T>where\n BlockNumberFor<T>: Decode,\n T::AccountId: Decode,\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: Decode,"],["impl<T> Decode for Error<T>"],["impl<T> Decode for Error<T>"],["impl<AccountId, LeasePeriod> Decode for ParachainTemporarySlot<AccountId, LeasePeriod>where\n AccountId: Decode,\n LeasePeriod: Decode,\n Option<LeasePeriod>: Decode,"]], -"polkadot_runtime_parachains":[["impl<N> Decode for ParaPastCodeMeta<N>where\n Vec<ReplacementTimes<N>>: Decode,\n Option<N>: Decode,"],["impl Decode for ParaKind"],["impl<T: Config> Decode for Call<T>"],["impl Decode for CoreAffinityCount"],["impl<T: Config> Decode for Call<T>"],["impl Decode for ParaLifecycle"],["impl<T: Config> Decode for Event<T>where\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: Decode,"],["impl<BlockNumber> Decode for V7HostConfiguration<BlockNumber>where\n BlockNumber: Decode,"],["impl<T: Config> Decode for Call<T>"],["impl<T: Config> Decode for Event<T>where\n CandidateReceipt<T::Hash>: Decode,"],["impl<T: Config> Decode for Event<T>"],["impl<Hash, BlockNumber> Decode for AllowedRelayParentsTracker<Hash, BlockNumber>where\n VecDeque<(Hash, Hash)>: Decode,\n BlockNumber: Decode,"],["impl<T: Config> Decode for Event<T>where\n BlockNumberFor<T>: Decode,"],["impl<T: Config> Decode for Call<T>"],["impl<T: Config> Decode for Call<T>"],["impl<T: Config> Decode for Call<T>"],["impl<BlockNumber> Decode for V6HostConfiguration<BlockNumber>where\n BlockNumber: Decode,"],["impl Decode for AggregateMessageOrigin"],["impl Decode for HrmpOpenChannelRequest"],["impl<T: Config> Decode for Call<T>"],["impl<H, N> Decode for CandidatePendingAvailability<H, N>where\n CandidateDescriptor<H>: Decode,\n N: Decode,"],["impl<T: Config> Decode for Call<T>"],["impl<T> Decode for Error<T>"],["impl<T: Config> Decode for Call<T>"],["impl Decode for DisputeLocation"],["impl<T: Config> Decode for Call<T>"],["impl<T> Decode for Error<T>"],["impl<T: Config> Decode for Call<T>"],["impl<T: Config> Decode for Call<T>"],["impl<T: Config> Decode for Call<T>"],["impl<BlockNumber> Decode for HostConfiguration<BlockNumber>where\n BlockNumber: Decode,"],["impl Decode for ParaGenesisArgs"],["impl<T> Decode for Error<T>"],["impl<T> Decode for Error<T>"],["impl Decode for DisputeResult"],["impl Decode for Origin"],["impl<T> Decode for Error<T>"],["impl<BlockNumber> Decode for CoreAssignment<BlockNumber>where\n ParasEntry<BlockNumber>: Decode,"],["impl<T> Decode for Error<T>"],["impl<T: Config> Decode for Call<T>"],["impl Decode for HrmpChannel"],["impl<T> Decode for Error<T>"],["impl<N> Decode for AvailabilityBitfieldRecord<N>where\n N: Decode,"],["impl<T: Config> Decode for Call<T>"],["impl Decode for Event"],["impl<N> Decode for ReplacementTimes<N>where\n N: Decode,"],["impl<T: Config> Decode for Call<T>"],["impl Decode for UmpQueueId"],["impl<T> Decode for Error<T>"]], +"polkadot_runtime_parachains":[["impl<N> Decode for ParaPastCodeMeta<N>where\n Vec<ReplacementTimes<N>>: Decode,\n Option<N>: Decode,"],["impl Decode for ParaKind"],["impl<T: Config> Decode for Call<T>"],["impl Decode for CoreAffinityCount"],["impl<T: Config> Decode for Call<T>"],["impl Decode for ParaLifecycle"],["impl<T: Config> Decode for Event<T>where\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: Decode,"],["impl<BlockNumber> Decode for V7HostConfiguration<BlockNumber>where\n BlockNumber: Decode,"],["impl<T: Config> Decode for Call<T>"],["impl<T: Config> Decode for Event<T>where\n CandidateReceipt<T::Hash>: Decode,"],["impl<T: Config> Decode for Event<T>"],["impl<Hash, BlockNumber> Decode for AllowedRelayParentsTracker<Hash, BlockNumber>where\n VecDeque<(Hash, Hash)>: Decode,\n BlockNumber: Decode,"],["impl<T: Config> Decode for Event<T>where\n BlockNumberFor<T>: Decode,"],["impl<T: Config> Decode for Call<T>"],["impl<T: Config> Decode for Call<T>"],["impl<T: Config> Decode for Call<T>"],["impl<BlockNumber> Decode for V6HostConfiguration<BlockNumber>where\n BlockNumber: Decode,"],["impl Decode for AggregateMessageOrigin"],["impl Decode for HrmpOpenChannelRequest"],["impl<T: Config> Decode for Call<T>"],["impl<H, N> Decode for CandidatePendingAvailability<H, N>where\n CandidateDescriptor<H>: Decode,\n N: Decode,"],["impl<T: Config> Decode for Call<T>"],["impl<T> Decode for Error<T>"],["impl<T: Config> Decode for Call<T>"],["impl Decode for DisputeLocation"],["impl<T: Config> Decode for Call<T>"],["impl<T> Decode for Error<T>"],["impl<T: Config> Decode for Call<T>"],["impl<T: Config> Decode for Call<T>"],["impl<T: Config> Decode for Call<T>"],["impl<BlockNumber> Decode for HostConfiguration<BlockNumber>where\n BlockNumber: Decode,"],["impl Decode for ParaGenesisArgs"],["impl<T> Decode for Error<T>"],["impl<T> Decode for Error<T>"],["impl Decode for DisputeResult"],["impl Decode for Origin"],["impl<T> Decode for Error<T>"],["impl<BlockNumber> Decode for CoreAssignment<BlockNumber>where\n ParasEntry<BlockNumber>: Decode,"],["impl<T> Decode for Error<T>"],["impl<T: Config> Decode for Call<T>"],["impl Decode for HrmpChannel"],["impl<T> Decode for Error<T>"],["impl<N> Decode for AvailabilityBitfieldRecord<N>where\n N: Decode,"],["impl<T: Config> Decode for Call<T>"],["impl Decode for Event"],["impl<N> Decode for ReplacementTimes<N>where\n N: Decode,"],["impl<T: Config> Decode for Call<T>"],["impl Decode for UmpQueueId"],["impl<T> Decode for Error<T>"]], "polkadot_statement_table":[["impl<Signature> Decode for ValidityAttestation<Signature>where\n Signature: Decode,"],["impl<Candidate, Digest> Decode for Statement<Candidate, Digest>where\n Candidate: Decode,\n Digest: Decode,"],["impl<Group, Candidate, AuthorityId, Signature> Decode for AttestedCandidate<Group, Candidate, AuthorityId, Signature>where\n Group: Decode,\n Candidate: Decode,\n Vec<(AuthorityId, ValidityAttestation<Signature>)>: Decode,"],["impl<Candidate, Digest, AuthorityId, Signature> Decode for SignedStatement<Candidate, Digest, AuthorityId, Signature>where\n Statement<Candidate, Digest>: Decode,\n Signature: Decode,\n AuthorityId: Decode,"]], "polkadot_test_runtime":[["impl Decode for RuntimeLockId"],["impl Decode for RuntimeError"],["impl Decode for OriginCaller"],["impl Decode for RuntimeEvent"],["impl Decode for RuntimeSlashReason"],["impl<T: Config> Decode for Call<T>"],["impl<T> Decode for Error<T>"],["impl Decode for RuntimeHoldReason"],["impl Decode for SessionKeys"],["impl Decode for RuntimeCall"],["impl Decode for RuntimeFreezeReason"],["impl<T: Config> Decode for Event<T>"]], "rococo_runtime":[["impl Decode for RuntimeSlashReason"],["impl Decode for RuntimeCall"],["impl Decode for RuntimeLockId"],["impl Decode for OriginCaller"],["impl Decode for SessionKeys"],["impl Decode for RuntimeFreezeReason"],["impl Decode for RuntimeEvent"],["impl Decode for ProxyType"],["impl Decode for RuntimeError"],["impl Decode for RuntimeHoldReason"]], diff --git a/doc/implementors/parity_scale_codec/codec/trait.Encode.js b/doc/implementors/parity_scale_codec/codec/trait.Encode.js index 7032da5f0118..f47e1a140ab0 100644 --- a/doc/implementors/parity_scale_codec/codec/trait.Encode.js +++ b/doc/implementors/parity_scale_codec/codec/trait.Encode.js @@ -10,7 +10,7 @@ "polkadot_primitives":[["impl Encode for DisputeStatementSet"],["impl Encode for ValidatorIndex"],["impl Encode for RuntimeMetricLabel"],["impl<H> Encode for CandidateReceipt<H>where\n CandidateDescriptor<H>: Encode,"],["impl Encode for DisputesTimeSlot"],["impl Encode for UpgradeGoAhead"],["impl Encode for AsyncBackingParams"],["impl Encode for SessionInfo"],["impl<H, N> Encode for CandidatePendingAvailability<H, N>where\n CandidateDescriptor<H>: Encode,\n N: Encode,"],["impl Encode for UpgradeRestriction"],["impl<H> Encode for SigningContext<H>where\n H: Encode,"],["impl Encode for AbridgedHostConfiguration"],["impl<K, V> Encode for IndexedVec<K, V>where\n Vec<V>: Encode,\n PhantomData<fn(_: K) -> K>: Encode,"],["impl<Payload, RealPayload> Encode for UncheckedSigned<Payload, RealPayload>where\n Payload: Encode,\n PhantomData<RealPayload>: Encode,"],["impl Encode for ScheduledCore"],["impl<H> Encode for BackedCandidate<H>where\n CommittedCandidateReceipt<H>: Encode,"],["impl<N> Encode for GroupRotationInfo<N>where\n N: Encode,"],["impl Encode for InvalidDisputeStatementKind"],["impl<H: Encode + Decode> Encode for ScrapedOnChainVotes<H>where\n Vec<(CandidateReceipt<H>, Vec<(ValidatorIndex, ValidityAttestation)>)>: Encode,"],["impl Encode for PvfPrepTimeoutKind"],["impl Encode for GroupIndex"],["impl Encode for OutboundHrmpChannelLimitations"],["impl<H, N> Encode for BackingState<H, N>where\n Constraints<N>: Encode,\n Vec<CandidatePendingAvailability<H, N>>: Encode,"],["impl<N> Encode for ParasEntry<N>where\n N: Encode,"],["impl Encode for PendingSlashes"],["impl Encode for RuntimeMetricUpdate"],["impl<N> Encode for CoreOccupied<N>where\n ParasEntry<N>: Encode,"],["impl<N> Encode for InboundHrmpLimitations<N>where\n Vec<N>: Encode,"],["impl Encode for ValidityAttestation"],["impl Encode for ParathreadClaim"],["impl<H> Encode for CommittedCandidateReceipt<H>where\n CandidateDescriptor<H>: Encode,"],["impl Encode for ExecutorParam"],["impl<H, N> Encode for FullCandidateReceipt<H, N>where\n CandidateReceipt<H>: Encode,\n PersistedValidationData<H, N>: Encode,"],["impl<N> Encode for Constraints<N>where\n N: Encode,\n Vec<N>: Encode,\n InboundHrmpLimitations<N>: Encode,\n Option<(N, ValidationCodeHash)>: Encode,"],["impl Encode for ValidDisputeStatementKind"],["impl Encode for ExecutorParams"],["impl Encode for CheckedDisputeStatementSet"],["impl Encode for RuntimeMetricLabels"],["impl Encode for AbridgedHrmpChannel"],["impl Encode for OccupiedCoreAssumption"],["impl<H, N> Encode for OccupiedCore<H, N>where\n N: Encode,\n CandidateDescriptor<H>: Encode,"],["impl Encode for CompactStatement"],["impl Encode for ConsensusLog"],["impl Encode for OpaqueKeyOwnershipProof"],["impl Encode for Assignment"],["impl<N> Encode for DisputeState<N>where\n N: Encode,\n Option<N>: Encode,"],["impl Encode for CoreIndex"],["impl<N> Encode for CandidateCommitments<N>where\n N: Encode,"],["impl Encode for AvailabilityBitfield"],["impl Encode for ExecutorParamsHash"],["impl<H, N> Encode for PersistedValidationData<H, N>where\n N: Encode,\n H: Encode,"],["impl<H> Encode for CandidateDescriptor<H>where\n H: Encode,"],["impl Encode for RuntimeMetricOp"],["impl Encode for SlashingOffenceKind"],["impl Encode for PvfExecTimeoutKind"],["impl Encode for ParathreadEntry"],["impl<HDR> Encode for InherentData<HDR>where\n Vec<BackedCandidate<HDR::Hash>>: Encode,\n HDR: Encode + HeaderT,"],["impl Encode for DisputeProof"],["impl Encode for DisputeStatement"],["impl<H, N> Encode for CoreState<H, N>where\n OccupiedCore<H, N>: Encode,"],["impl Encode for PvfCheckStatement"],["impl<H> Encode for CandidateEvent<H>where\n CandidateReceipt<H>: Encode,"]], "polkadot_runtime":[["impl Encode for Origin"],["impl Encode for RuntimeEvent"],["impl Encode for RuntimeCall"],["impl Encode for ProxyType"],["impl Encode for RuntimeFreezeReason"],["impl<T: Config> Encode for Call<T>"],["impl Encode for OriginCaller"],["impl Encode for RuntimeHoldReason"],["impl Encode for RuntimeLockId"],["impl Encode for RuntimeSlashReason"],["impl Encode for SessionKeys"],["impl Encode for RuntimeError"],["impl Encode for NposCompactSolution16"]], "polkadot_runtime_common":[["impl<T: Config> Encode for Call<T>"],["impl<Account, Balance> Encode for ParaInfo<Account, Balance>where\n Account: Encode,\n Balance: Encode,"],["impl<T> Encode for Error<T>"],["impl<T: Config> Encode for Call<T>"],["impl<T: Config> Encode for Event<T>where\n T::AccountId: Encode,\n <<<T as Config>::Auctioneer as Auctioneer<BlockNumberFor<T>>>::Currency as Currency<<T as Config>::AccountId>>::Balance: Encode,"],["impl<T> Encode for Error<T>"],["impl<T: Config> Encode for Call<T>"],["impl<T: Config> Encode for Event<T>where\n T::AccountId: Encode,"],["impl Encode for AccountValidity"],["impl<T: Config> Encode for Call<T>"],["impl<Balance> Encode for AccountStatus<Balance>where\n Balance: Encode,"],["impl<T: Config> Encode for Event<T>where\n T::AccountId: Encode,\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: Encode,\n BlockNumberFor<T>: Encode,"],["impl<T: Config> Encode for Event<T>where\n <<T as Config>::Leaser as Leaser<BlockNumberFor<T>>>::LeasePeriod: Encode,\n BlockNumberFor<T>: Encode,\n T::AccountId: Encode,\n <<<T as Config>::Leaser as Leaser<BlockNumberFor<T>>>::Currency as Currency<<T as Config>::AccountId>>::Balance: Encode,"],["impl<T: Config> Encode for Call<T>"],["impl<T: Config> Encode for Call<T>"],["impl<T> Encode for Error<T>"],["impl<T: Config> Encode for Call<T>"],["impl<T> Encode for Error<T>"],["impl<T: Config> Encode for Call<T>"],["impl<T> Encode for Error<T>"],["impl<T: Config> Encode for Event<T>where\n T::AccountId: Encode,\n <<<T as Config>::VestingSchedule as VestingSchedule<<T as Config>::AccountId>>::Currency as Currency<<T as Config>::AccountId>>::Balance: Encode,"],["impl<T> Encode for Error<T>"],["impl<AccountId, Balance, BlockNumber, LeasePeriod> Encode for FundInfo<AccountId, Balance, BlockNumber, LeasePeriod>where\n AccountId: Encode,\n Balance: Encode,\n BlockNumber: Encode,\n LeasePeriod: Encode,"],["impl<T: Config> Encode for Event<T>where\n BlockNumberFor<T>: Encode,\n T::AccountId: Encode,\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: Encode,"],["impl Encode for StatementKind"],["impl<T> Encode for Error<T>"],["impl Encode for EcdsaSignature"],["impl Encode for SlotLeasePeriodStart"],["impl Encode for SlotRange"],["impl Encode for EthereumAddress"],["impl<AccountId, LeasePeriod> Encode for ParachainTemporarySlot<AccountId, LeasePeriod>where\n AccountId: Encode,\n LeasePeriod: Encode,\n Option<LeasePeriod>: Encode,"],["impl<T: Config + Send + Sync> Encode for PrevalidateAttests<T>where\n <T as Config>::RuntimeCall: IsSubType<Call<T>>,\n PhantomData<T>: Encode,"],["impl<T> Encode for Error<T>"],["impl<T: Config> Encode for Event<T>"],["impl<BlockNumber> Encode for LastContribution<BlockNumber>where\n BlockNumber: Encode,"]], -"polkadot_runtime_parachains":[["impl<H, N> Encode for CandidatePendingAvailability<H, N>where\n CandidateDescriptor<H>: Encode,\n N: Encode,"],["impl Encode for DisputeResult"],["impl<T: Config> Encode for Call<T>"],["impl<N> Encode for AvailabilityBitfieldRecord<N>where\n N: Encode,"],["impl Encode for Event"],["impl Encode for Origin"],["impl Encode for ParaKind"],["impl<BlockNumber> Encode for CoreAssignment<BlockNumber>where\n ParasEntry<BlockNumber>: Encode,"],["impl<T> Encode for Error<T>"],["impl Encode for DisputeLocation"],["impl Encode for ParaGenesisArgs"],["impl Encode for CoreAffinityCount"],["impl<BlockNumber> Encode for V6HostConfiguration<BlockNumber>where\n BlockNumber: Encode,"],["impl<T: Config> Encode for Call<T>"],["impl<T: Config> Encode for Call<T>"],["impl<BlockNumber> Encode for V7HostConfiguration<BlockNumber>where\n BlockNumber: Encode,"],["impl<BlockNumber> Encode for HostConfiguration<BlockNumber>where\n BlockNumber: Encode,"],["impl<T: Config> Encode for Call<T>"],["impl<T: Config> Encode for Call<T>"],["impl<T: Config> Encode for Call<T>"],["impl<T: Config> Encode for Call<T>"],["impl<T: Config> Encode for Call<T>"],["impl<T> Encode for Error<T>"],["impl<T: Config> Encode for Call<T>"],["impl<T: Config> Encode for Event<T>where\n CandidateReceipt<T::Hash>: Encode,"],["impl<T> Encode for Error<T>"],["impl<T> Encode for Error<T>"],["impl<T: Config> Encode for Call<T>"],["impl<T: Config> Encode for Event<T>"],["impl<T> Encode for Error<T>"],["impl<T> Encode for Error<T>"],["impl<N> Encode for ParaPastCodeMeta<N>where\n Vec<ReplacementTimes<N>>: Encode,\n Option<N>: Encode,"],["impl Encode for AggregateMessageOrigin"],["impl Encode for ParaLifecycle"],["impl<T: Config> Encode for Call<T>"],["impl Encode for HrmpChannel"],["impl<T: Config> Encode for Event<T>where\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: Encode,"],["impl Encode for HrmpOpenChannelRequest"],["impl<T: Config> Encode for Event<T>where\n BlockNumberFor<T>: Encode,"],["impl<T: Config> Encode for Call<T>"],["impl<T> Encode for Error<T>"],["impl<Hash, BlockNumber> Encode for AllowedRelayParentsTracker<Hash, BlockNumber>where\n VecDeque<(Hash, Hash)>: Encode,\n BlockNumber: Encode,"],["impl<T: Config> Encode for Call<T>"],["impl<T: Config> Encode for Call<T>"],["impl Encode for UmpQueueId"],["impl<T: Config> Encode for Call<T>"],["impl<N> Encode for ReplacementTimes<N>where\n N: Encode,"],["impl<T> Encode for Error<T>"],["impl<T: Config> Encode for Call<T>"]], +"polkadot_runtime_parachains":[["impl<H, N> Encode for CandidatePendingAvailability<H, N>where\n CandidateDescriptor<H>: Encode,\n N: Encode,"],["impl Encode for DisputeResult"],["impl<T: Config> Encode for Call<T>"],["impl<N> Encode for AvailabilityBitfieldRecord<N>where\n N: Encode,"],["impl Encode for Event"],["impl Encode for Origin"],["impl Encode for ParaKind"],["impl<BlockNumber> Encode for CoreAssignment<BlockNumber>where\n ParasEntry<BlockNumber>: Encode,"],["impl<T> Encode for Error<T>"],["impl Encode for DisputeLocation"],["impl Encode for ParaGenesisArgs"],["impl Encode for CoreAffinityCount"],["impl<BlockNumber> Encode for V6HostConfiguration<BlockNumber>where\n BlockNumber: Encode,"],["impl<T: Config> Encode for Call<T>"],["impl<T: Config> Encode for Call<T>"],["impl<BlockNumber> Encode for V7HostConfiguration<BlockNumber>where\n BlockNumber: Encode,"],["impl<BlockNumber> Encode for HostConfiguration<BlockNumber>where\n BlockNumber: Encode,"],["impl<T: Config> Encode for Call<T>"],["impl<T: Config> Encode for Call<T>"],["impl<T: Config> Encode for Call<T>"],["impl<T: Config> Encode for Call<T>"],["impl<T: Config> Encode for Call<T>"],["impl<T> Encode for Error<T>"],["impl<T: Config> Encode for Call<T>"],["impl<T: Config> Encode for Event<T>where\n CandidateReceipt<T::Hash>: Encode,"],["impl<T> Encode for Error<T>"],["impl<T> Encode for Error<T>"],["impl<T: Config> Encode for Call<T>"],["impl<T: Config> Encode for Event<T>"],["impl<T> Encode for Error<T>"],["impl<T> Encode for Error<T>"],["impl<N> Encode for ParaPastCodeMeta<N>where\n Vec<ReplacementTimes<N>>: Encode,\n Option<N>: Encode,"],["impl Encode for AggregateMessageOrigin"],["impl Encode for ParaLifecycle"],["impl<T: Config> Encode for Call<T>"],["impl Encode for HrmpChannel"],["impl<T: Config> Encode for Event<T>where\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: Encode,"],["impl Encode for HrmpOpenChannelRequest"],["impl<T: Config> Encode for Event<T>where\n BlockNumberFor<T>: Encode,"],["impl<T: Config> Encode for Call<T>"],["impl<T> Encode for Error<T>"],["impl<Hash, BlockNumber> Encode for AllowedRelayParentsTracker<Hash, BlockNumber>where\n VecDeque<(Hash, Hash)>: Encode,\n BlockNumber: Encode,"],["impl<T: Config> Encode for Call<T>"],["impl<T: Config> Encode for Call<T>"],["impl Encode for UmpQueueId"],["impl<T: Config> Encode for Call<T>"],["impl<N> Encode for ReplacementTimes<N>where\n N: Encode,"],["impl<T> Encode for Error<T>"],["impl<T: Config> Encode for Call<T>"]], "polkadot_statement_table":[["impl<Candidate, Digest> Encode for Statement<Candidate, Digest>where\n Candidate: Encode,\n Digest: Encode,"],["impl<Candidate, Digest, AuthorityId, Signature> Encode for SignedStatement<Candidate, Digest, AuthorityId, Signature>where\n Statement<Candidate, Digest>: Encode,\n Signature: Encode,\n AuthorityId: Encode,"],["impl<Signature> Encode for ValidityAttestation<Signature>where\n Signature: Encode,"],["impl<Group, Candidate, AuthorityId, Signature> Encode for AttestedCandidate<Group, Candidate, AuthorityId, Signature>where\n Group: Encode,\n Candidate: Encode,\n Vec<(AuthorityId, ValidityAttestation<Signature>)>: Encode,"]], "polkadot_test_runtime":[["impl Encode for RuntimeSlashReason"],["impl<T> Encode for Error<T>"],["impl<T: Config> Encode for Call<T>"],["impl Encode for RuntimeFreezeReason"],["impl Encode for RuntimeHoldReason"],["impl Encode for OriginCaller"],["impl Encode for RuntimeError"],["impl Encode for RuntimeCall"],["impl Encode for RuntimeLockId"],["impl Encode for RuntimeEvent"],["impl Encode for SessionKeys"],["impl<T: Config> Encode for Event<T>"]], "rococo_runtime":[["impl Encode for RuntimeCall"],["impl Encode for SessionKeys"],["impl Encode for RuntimeSlashReason"],["impl Encode for RuntimeLockId"],["impl Encode for OriginCaller"],["impl Encode for RuntimeFreezeReason"],["impl Encode for RuntimeHoldReason"],["impl Encode for RuntimeError"],["impl Encode for RuntimeEvent"],["impl Encode for ProxyType"]], diff --git a/doc/implementors/parity_scale_codec/encode_like/trait.EncodeLike.js b/doc/implementors/parity_scale_codec/encode_like/trait.EncodeLike.js index 774f2a967b8b..101b3d6c2908 100644 --- a/doc/implementors/parity_scale_codec/encode_like/trait.EncodeLike.js +++ b/doc/implementors/parity_scale_codec/encode_like/trait.EncodeLike.js @@ -10,7 +10,7 @@ "polkadot_primitives":[["impl<H: Encode + Decode> EncodeLike<ScrapedOnChainVotes<H>> for ScrapedOnChainVotes<H>where\n Vec<(CandidateReceipt<H>, Vec<(ValidatorIndex, ValidityAttestation)>)>: Encode,"],["impl<H, N> EncodeLike<CandidatePendingAvailability<H, N>> for CandidatePendingAvailability<H, N>where\n CandidateDescriptor<H>: Encode,\n N: Encode,"],["impl<N> EncodeLike<ParasEntry<N>> for ParasEntry<N>where\n N: Encode,"],["impl EncodeLike<GroupIndex> for GroupIndex"],["impl EncodeLike<RuntimeMetricLabels> for RuntimeMetricLabels"],["impl<H, N> EncodeLike<FullCandidateReceipt<H, N>> for FullCandidateReceipt<H, N>where\n CandidateReceipt<H>: Encode,\n PersistedValidationData<H, N>: Encode,"],["impl EncodeLike<OutboundHrmpChannelLimitations> for OutboundHrmpChannelLimitations"],["impl<N> EncodeLike<InboundHrmpLimitations<N>> for InboundHrmpLimitations<N>where\n Vec<N>: Encode,"],["impl EncodeLike<OpaqueKeyOwnershipProof> for OpaqueKeyOwnershipProof"],["impl EncodeLike<RuntimeMetricLabel> for RuntimeMetricLabel"],["impl<K, V> EncodeLike<IndexedVec<K, V>> for IndexedVec<K, V>where\n Vec<V>: Encode,\n PhantomData<fn(_: K) -> K>: Encode,"],["impl EncodeLike<AvailabilityBitfield> for AvailabilityBitfield"],["impl EncodeLike<AbridgedHrmpChannel> for AbridgedHrmpChannel"],["impl<H, N> EncodeLike<PersistedValidationData<H, N>> for PersistedValidationData<H, N>where\n N: Encode,\n H: Encode,"],["impl EncodeLike<CheckedDisputeStatementSet> for CheckedDisputeStatementSet"],["impl EncodeLike<DisputesTimeSlot> for DisputesTimeSlot"],["impl EncodeLike<OccupiedCoreAssumption> for OccupiedCoreAssumption"],["impl<H, N> EncodeLike<OccupiedCore<H, N>> for OccupiedCore<H, N>where\n N: Encode,\n CandidateDescriptor<H>: Encode,"],["impl EncodeLike<AbridgedHostConfiguration> for AbridgedHostConfiguration"],["impl EncodeLike<ExecutorParam> for ExecutorParam"],["impl<H> EncodeLike<CandidateReceipt<H>> for CandidateReceipt<H>where\n CandidateDescriptor<H>: Encode,"],["impl EncodeLike<ValidDisputeStatementKind> for ValidDisputeStatementKind"],["impl<HDR> EncodeLike<InherentData<HDR>> for InherentData<HDR>where\n Vec<BackedCandidate<HDR::Hash>>: Encode,\n HDR: Encode + HeaderT,"],["impl<H> EncodeLike<SigningContext<H>> for SigningContext<H>where\n H: Encode,"],["impl EncodeLike<DisputeStatement> for DisputeStatement"],["impl EncodeLike<PendingSlashes> for PendingSlashes"],["impl EncodeLike<UpgradeGoAhead> for UpgradeGoAhead"],["impl EncodeLike<ValidatorIndex> for ValidatorIndex"],["impl<H> EncodeLike<CandidateEvent<H>> for CandidateEvent<H>where\n CandidateReceipt<H>: Encode,"],["impl EncodeLike<ScheduledCore> for ScheduledCore"],["impl EncodeLike<ExecutorParams> for ExecutorParams"],["impl EncodeLike<ConsensusLog> for ConsensusLog"],["impl EncodeLike<PvfPrepTimeoutKind> for PvfPrepTimeoutKind"],["impl EncodeLike<Assignment> for Assignment"],["impl EncodeLike<ParathreadClaim> for ParathreadClaim"],["impl EncodeLike<DisputeStatementSet> for DisputeStatementSet"],["impl<N> EncodeLike<CandidateCommitments<N>> for CandidateCommitments<N>where\n N: Encode,"],["impl EncodeLike<ExecutorParamsHash> for ExecutorParamsHash"],["impl<H> EncodeLike<CandidateDescriptor<H>> for CandidateDescriptor<H>where\n H: Encode,"],["impl EncodeLike<SessionInfo> for SessionInfo"],["impl<H> EncodeLike<CommittedCandidateReceipt<H>> for CommittedCandidateReceipt<H>where\n CandidateDescriptor<H>: Encode,"],["impl EncodeLike<RuntimeMetricUpdate> for RuntimeMetricUpdate"],["impl EncodeLike<ValidityAttestation> for ValidityAttestation"],["impl EncodeLike<UpgradeRestriction> for UpgradeRestriction"],["impl EncodeLike<SlashingOffenceKind> for SlashingOffenceKind"],["impl EncodeLike<PvfCheckStatement> for PvfCheckStatement"],["impl EncodeLike<ParathreadEntry> for ParathreadEntry"],["impl EncodeLike<RuntimeMetricOp> for RuntimeMetricOp"],["impl EncodeLike<InvalidDisputeStatementKind> for InvalidDisputeStatementKind"],["impl EncodeLike<PvfExecTimeoutKind> for PvfExecTimeoutKind"],["impl EncodeLike<CoreIndex> for CoreIndex"],["impl<N> EncodeLike<DisputeState<N>> for DisputeState<N>where\n N: Encode,\n Option<N>: Encode,"],["impl<Payload, RealPayload> EncodeLike<UncheckedSigned<Payload, RealPayload>> for UncheckedSigned<Payload, RealPayload>where\n Payload: Encode,\n PhantomData<RealPayload>: Encode,"],["impl EncodeLike<DisputeProof> for DisputeProof"],["impl<H, N> EncodeLike<BackingState<H, N>> for BackingState<H, N>where\n Constraints<N>: Encode,\n Vec<CandidatePendingAvailability<H, N>>: Encode,"],["impl<H> EncodeLike<BackedCandidate<H>> for BackedCandidate<H>where\n CommittedCandidateReceipt<H>: Encode,"],["impl EncodeLike<AsyncBackingParams> for AsyncBackingParams"],["impl<N> EncodeLike<Constraints<N>> for Constraints<N>where\n N: Encode,\n Vec<N>: Encode,\n InboundHrmpLimitations<N>: Encode,\n Option<(N, ValidationCodeHash)>: Encode,"],["impl<N> EncodeLike<CoreOccupied<N>> for CoreOccupied<N>where\n ParasEntry<N>: Encode,"],["impl<H, N> EncodeLike<CoreState<H, N>> for CoreState<H, N>where\n OccupiedCore<H, N>: Encode,"],["impl<N> EncodeLike<GroupRotationInfo<N>> for GroupRotationInfo<N>where\n N: Encode,"]], "polkadot_runtime":[["impl EncodeLike<RuntimeHoldReason> for RuntimeHoldReason"],["impl EncodeLike<ProxyType> for ProxyType"],["impl EncodeLike<RuntimeFreezeReason> for RuntimeFreezeReason"],["impl EncodeLike<RuntimeError> for RuntimeError"],["impl EncodeLike<RuntimeSlashReason> for RuntimeSlashReason"],["impl EncodeLike<RuntimeCall> for RuntimeCall"],["impl EncodeLike<Origin> for Origin"],["impl EncodeLike<RuntimeLockId> for RuntimeLockId"],["impl EncodeLike<OriginCaller> for OriginCaller"],["impl EncodeLike<RuntimeEvent> for RuntimeEvent"],["impl EncodeLike<SessionKeys> for SessionKeys"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"]], "polkadot_runtime_common":[["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<AccountId, LeasePeriod> EncodeLike<ParachainTemporarySlot<AccountId, LeasePeriod>> for ParachainTemporarySlot<AccountId, LeasePeriod>where\n AccountId: Encode,\n LeasePeriod: Encode,\n Option<LeasePeriod>: Encode,"],["impl<BlockNumber> EncodeLike<LastContribution<BlockNumber>> for LastContribution<BlockNumber>where\n BlockNumber: Encode,"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl EncodeLike<AccountValidity> for AccountValidity"],["impl<T: Config> EncodeLike<Event<T>> for Event<T>where\n <<T as Config>::Leaser as Leaser<BlockNumberFor<T>>>::LeasePeriod: Encode,\n BlockNumberFor<T>: Encode,\n T::AccountId: Encode,\n <<<T as Config>::Leaser as Leaser<BlockNumberFor<T>>>::Currency as Currency<<T as Config>::AccountId>>::Balance: Encode,"],["impl<T: Config> EncodeLike<Event<T>> for Event<T>where\n BlockNumberFor<T>: Encode,\n T::AccountId: Encode,\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: Encode,"],["impl EncodeLike<SlotLeasePeriodStart> for SlotLeasePeriodStart"],["impl<T: Config> EncodeLike<Event<T>> for Event<T>where\n T::AccountId: Encode,"],["impl<AccountId, Balance, BlockNumber, LeasePeriod> EncodeLike<FundInfo<AccountId, Balance, BlockNumber, LeasePeriod>> for FundInfo<AccountId, Balance, BlockNumber, LeasePeriod>where\n AccountId: Encode,\n Balance: Encode,\n BlockNumber: Encode,\n LeasePeriod: Encode,"],["impl<T: Config> EncodeLike<Event<T>> for Event<T>"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl EncodeLike<EcdsaSignature> for EcdsaSignature"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<T: Config> EncodeLike<Event<T>> for Event<T>where\n T::AccountId: Encode,\n <<<T as Config>::VestingSchedule as VestingSchedule<<T as Config>::AccountId>>::Currency as Currency<<T as Config>::AccountId>>::Balance: Encode,"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl EncodeLike<SlotRange> for SlotRange"],["impl<Balance> EncodeLike<AccountStatus<Balance>> for AccountStatus<Balance>where\n Balance: Encode,"],["impl<T: Config + Send + Sync> EncodeLike<PrevalidateAttests<T>> for PrevalidateAttests<T>where\n <T as Config>::RuntimeCall: IsSubType<Call<T>>,\n PhantomData<T>: Encode,"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl<Account, Balance> EncodeLike<ParaInfo<Account, Balance>> for ParaInfo<Account, Balance>where\n Account: Encode,\n Balance: Encode,"],["impl<T: Config> EncodeLike<Event<T>> for Event<T>where\n T::AccountId: Encode,\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: Encode,\n BlockNumberFor<T>: Encode,"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl EncodeLike<StatementKind> for StatementKind"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl EncodeLike<EthereumAddress> for EthereumAddress"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl<T: Config> EncodeLike<Event<T>> for Event<T>where\n T::AccountId: Encode,\n <<<T as Config>::Auctioneer as Auctioneer<BlockNumberFor<T>>>::Currency as Currency<<T as Config>::AccountId>>::Balance: Encode,"]], -"polkadot_runtime_parachains":[["impl<T: Config> EncodeLike<Event<T>> for Event<T>"],["impl EncodeLike<HrmpOpenChannelRequest> for HrmpOpenChannelRequest"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl EncodeLike<CoreAffinityCount> for CoreAffinityCount"],["impl<BlockNumber> EncodeLike<HostConfiguration<BlockNumber>> for HostConfiguration<BlockNumber>where\n BlockNumber: Encode,"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl EncodeLike<Origin> for Origin"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl EncodeLike<DisputeResult> for DisputeResult"],["impl EncodeLike<Event> for Event"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl EncodeLike<HrmpChannel> for HrmpChannel"],["impl<H, N> EncodeLike<CandidatePendingAvailability<H, N>> for CandidatePendingAvailability<H, N>where\n CandidateDescriptor<H>: Encode,\n N: Encode,"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl EncodeLike<ParaLifecycle> for ParaLifecycle"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<N> EncodeLike<ReplacementTimes<N>> for ReplacementTimes<N>where\n N: Encode,"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl<T: Config> EncodeLike<Event<T>> for Event<T>where\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: Encode,"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<Hash, BlockNumber> EncodeLike<AllowedRelayParentsTracker<Hash, BlockNumber>> for AllowedRelayParentsTracker<Hash, BlockNumber>where\n VecDeque<(Hash, Hash)>: Encode,\n BlockNumber: Encode,"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl<T: Config> EncodeLike<Event<T>> for Event<T>where\n CandidateReceipt<T::Hash>: Encode,"],["impl EncodeLike<DisputeLocation> for DisputeLocation"],["impl<N> EncodeLike<AvailabilityBitfieldRecord<N>> for AvailabilityBitfieldRecord<N>where\n N: Encode,"],["impl EncodeLike<UmpQueueId> for UmpQueueId"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<N> EncodeLike<ParaPastCodeMeta<N>> for ParaPastCodeMeta<N>where\n Vec<ReplacementTimes<N>>: Encode,\n Option<N>: Encode,"],["impl EncodeLike<AggregateMessageOrigin> for AggregateMessageOrigin"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<BlockNumber> EncodeLike<V7HostConfiguration<BlockNumber>> for V7HostConfiguration<BlockNumber>where\n BlockNumber: Encode,"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl EncodeLike<ParaGenesisArgs> for ParaGenesisArgs"],["impl<BlockNumber> EncodeLike<CoreAssignment<BlockNumber>> for CoreAssignment<BlockNumber>where\n ParasEntry<BlockNumber>: Encode,"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<T: Config> EncodeLike<Event<T>> for Event<T>where\n BlockNumberFor<T>: Encode,"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl<BlockNumber> EncodeLike<V6HostConfiguration<BlockNumber>> for V6HostConfiguration<BlockNumber>where\n BlockNumber: Encode,"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"]], +"polkadot_runtime_parachains":[["impl<T: Config> EncodeLike<Event<T>> for Event<T>"],["impl EncodeLike<HrmpOpenChannelRequest> for HrmpOpenChannelRequest"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl EncodeLike<CoreAffinityCount> for CoreAffinityCount"],["impl<BlockNumber> EncodeLike<HostConfiguration<BlockNumber>> for HostConfiguration<BlockNumber>where\n BlockNumber: Encode,"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl EncodeLike<Origin> for Origin"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl EncodeLike<DisputeResult> for DisputeResult"],["impl EncodeLike<Event> for Event"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl EncodeLike<HrmpChannel> for HrmpChannel"],["impl<H, N> EncodeLike<CandidatePendingAvailability<H, N>> for CandidatePendingAvailability<H, N>where\n CandidateDescriptor<H>: Encode,\n N: Encode,"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl EncodeLike<ParaLifecycle> for ParaLifecycle"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<N> EncodeLike<ReplacementTimes<N>> for ReplacementTimes<N>where\n N: Encode,"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl<T: Config> EncodeLike<Event<T>> for Event<T>where\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: Encode,"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<Hash, BlockNumber> EncodeLike<AllowedRelayParentsTracker<Hash, BlockNumber>> for AllowedRelayParentsTracker<Hash, BlockNumber>where\n VecDeque<(Hash, Hash)>: Encode,\n BlockNumber: Encode,"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl<T: Config> EncodeLike<Event<T>> for Event<T>where\n CandidateReceipt<T::Hash>: Encode,"],["impl EncodeLike<DisputeLocation> for DisputeLocation"],["impl<N> EncodeLike<AvailabilityBitfieldRecord<N>> for AvailabilityBitfieldRecord<N>where\n N: Encode,"],["impl EncodeLike<UmpQueueId> for UmpQueueId"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<N> EncodeLike<ParaPastCodeMeta<N>> for ParaPastCodeMeta<N>where\n Vec<ReplacementTimes<N>>: Encode,\n Option<N>: Encode,"],["impl EncodeLike<AggregateMessageOrigin> for AggregateMessageOrigin"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<BlockNumber> EncodeLike<V7HostConfiguration<BlockNumber>> for V7HostConfiguration<BlockNumber>where\n BlockNumber: Encode,"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl EncodeLike<ParaGenesisArgs> for ParaGenesisArgs"],["impl<BlockNumber> EncodeLike<CoreAssignment<BlockNumber>> for CoreAssignment<BlockNumber>where\n ParasEntry<BlockNumber>: Encode,"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<T: Config> EncodeLike<Event<T>> for Event<T>where\n BlockNumberFor<T>: Encode,"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl<BlockNumber> EncodeLike<V6HostConfiguration<BlockNumber>> for V6HostConfiguration<BlockNumber>where\n BlockNumber: Encode,"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"]], "polkadot_statement_table":[["impl<Candidate, Digest, AuthorityId, Signature> EncodeLike<SignedStatement<Candidate, Digest, AuthorityId, Signature>> for SignedStatement<Candidate, Digest, AuthorityId, Signature>where\n Statement<Candidate, Digest>: Encode,\n Signature: Encode,\n AuthorityId: Encode,"],["impl<Candidate, Digest> EncodeLike<Statement<Candidate, Digest>> for Statement<Candidate, Digest>where\n Candidate: Encode,\n Digest: Encode,"],["impl<Group, Candidate, AuthorityId, Signature> EncodeLike<AttestedCandidate<Group, Candidate, AuthorityId, Signature>> for AttestedCandidate<Group, Candidate, AuthorityId, Signature>where\n Group: Encode,\n Candidate: Encode,\n Vec<(AuthorityId, ValidityAttestation<Signature>)>: Encode,"],["impl<Signature> EncodeLike<ValidityAttestation<Signature>> for ValidityAttestation<Signature>where\n Signature: Encode,"]], "polkadot_test_runtime":[["impl EncodeLike<RuntimeLockId> for RuntimeLockId"],["impl EncodeLike<RuntimeFreezeReason> for RuntimeFreezeReason"],["impl EncodeLike<RuntimeCall> for RuntimeCall"],["impl EncodeLike<OriginCaller> for OriginCaller"],["impl EncodeLike<RuntimeHoldReason> for RuntimeHoldReason"],["impl<T: Config> EncodeLike<Call<T>> for Call<T>"],["impl EncodeLike<SessionKeys> for SessionKeys"],["impl EncodeLike<RuntimeEvent> for RuntimeEvent"],["impl<T: Config> EncodeLike<Event<T>> for Event<T>"],["impl<T> EncodeLike<Error<T>> for Error<T>"],["impl EncodeLike<RuntimeError> for RuntimeError"],["impl EncodeLike<RuntimeSlashReason> for RuntimeSlashReason"]], "rococo_runtime":[["impl EncodeLike<RuntimeHoldReason> for RuntimeHoldReason"],["impl EncodeLike<RuntimeLockId> for RuntimeLockId"],["impl EncodeLike<RuntimeFreezeReason> for RuntimeFreezeReason"],["impl EncodeLike<SessionKeys> for SessionKeys"],["impl EncodeLike<RuntimeEvent> for RuntimeEvent"],["impl EncodeLike<ProxyType> for ProxyType"],["impl EncodeLike<RuntimeSlashReason> for RuntimeSlashReason"],["impl EncodeLike<OriginCaller> for OriginCaller"],["impl EncodeLike<RuntimeError> for RuntimeError"],["impl EncodeLike<RuntimeCall> for RuntimeCall"]], diff --git a/doc/implementors/polkadot_primitives/v5/signed/trait.EncodeAs.js b/doc/implementors/polkadot_primitives/v5/signed/trait.EncodeAs.js index 92a684c2cada..2b93807e4d67 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 StatementWithPVD"],["impl EncodeAs<CompactStatement> for Statement"]], +"polkadot_node_primitives":[["impl EncodeAs<CompactStatement> for StatementWithPVD"],["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/implementors/scale_info/trait.TypeInfo.js b/doc/implementors/scale_info/trait.TypeInfo.js index 9575cb24ddf5..5dc77cd652a5 100644 --- a/doc/implementors/scale_info/trait.TypeInfo.js +++ b/doc/implementors/scale_info/trait.TypeInfo.js @@ -7,7 +7,7 @@ "polkadot_primitives":[["impl TypeInfo for ExecutorParams"],["impl TypeInfo for InvalidDisputeStatementKind"],["impl<N> TypeInfo for Constraints<N>where\n N: TypeInfo + 'static,\n Vec<N>: TypeInfo + 'static,\n InboundHrmpLimitations<N>: TypeInfo + 'static,\n Option<(N, ValidationCodeHash)>: TypeInfo + 'static,"],["impl<N> TypeInfo for DisputeState<N>where\n N: TypeInfo + 'static,\n Option<N>: TypeInfo + 'static,"],["impl TypeInfo for AvailabilityBitfield"],["impl TypeInfo for UpgradeRestriction"],["impl<H> TypeInfo for CandidateEvent<H>where\n CandidateReceipt<H>: TypeInfo + 'static,\n H: TypeInfo + 'static,"],["impl<H, N> TypeInfo for CandidatePendingAvailability<H, N>where\n CandidateDescriptor<H>: TypeInfo + 'static,\n N: TypeInfo + 'static,\n H: TypeInfo + 'static,"],["impl<N> TypeInfo for InboundHrmpLimitations<N>where\n Vec<N>: TypeInfo + 'static,\n N: TypeInfo + 'static,"],["impl TypeInfo for AbridgedHostConfiguration"],["impl TypeInfo for GroupIndex"],["impl TypeInfo for SessionInfo"],["impl TypeInfo for ExecutorParam"],["impl TypeInfo for AsyncBackingParams"],["impl<H> TypeInfo for CandidateDescriptor<H>where\n H: TypeInfo + 'static,"],["impl TypeInfo for OccupiedCoreAssumption"],["impl<H> TypeInfo for CandidateReceipt<H>where\n CandidateDescriptor<H>: TypeInfo + 'static,\n H: TypeInfo + 'static,"],["impl TypeInfo for DisputesTimeSlot"],["impl<N> TypeInfo for CoreOccupied<N>where\n ParasEntry<N>: TypeInfo + 'static,\n N: TypeInfo + 'static,"],["impl<H> TypeInfo for CommittedCandidateReceipt<H>where\n CandidateDescriptor<H>: TypeInfo + 'static,\n H: TypeInfo + 'static,"],["impl TypeInfo for Assignment"],["impl TypeInfo for OpaqueKeyOwnershipProof"],["impl<K, V> TypeInfo for IndexedVec<K, V>where\n Vec<V>: TypeInfo + 'static,\n PhantomData<fn(_: K) -> K>: TypeInfo + 'static,\n K: TypeInfo + 'static,\n V: TypeInfo + 'static,"],["impl TypeInfo for ValidatorIndex"],["impl<N> TypeInfo for ParasEntry<N>where\n N: TypeInfo + 'static,"],["impl<N> TypeInfo for GroupRotationInfo<N>where\n N: TypeInfo + 'static,"],["impl<H, N> TypeInfo for OccupiedCore<H, N>where\n N: TypeInfo + 'static,\n CandidateDescriptor<H>: TypeInfo + 'static,\n H: TypeInfo + 'static,"],["impl TypeInfo for PvfCheckStatement"],["impl TypeInfo for PvfPrepTimeoutKind"],["impl TypeInfo for ScheduledCore"],["impl<H, N> TypeInfo for BackingState<H, N>where\n Constraints<N>: TypeInfo + 'static,\n Vec<CandidatePendingAvailability<H, N>>: TypeInfo + 'static,\n H: TypeInfo + 'static,\n N: TypeInfo + 'static,"],["impl TypeInfo for SlashingOffenceKind"],["impl TypeInfo for PvfExecTimeoutKind"],["impl<H> TypeInfo for ScrapedOnChainVotes<H>where\n Vec<(CandidateReceipt<H>, Vec<(ValidatorIndex, ValidityAttestation)>)>: TypeInfo + 'static,\n H: Encode + Decode + TypeInfo + 'static,"],["impl TypeInfo for CoreIndex"],["impl TypeInfo for ParathreadEntry"],["impl TypeInfo for DisputeStatement"],["impl<N> TypeInfo for CandidateCommitments<N>where\n N: TypeInfo + 'static,"],["impl TypeInfo for ExecutorParamsHash"],["impl<Payload, RealPayload> TypeInfo for UncheckedSigned<Payload, RealPayload>where\n Payload: TypeInfo + 'static,\n PhantomData<RealPayload>: TypeInfo + 'static,\n RealPayload: TypeInfo + 'static,"],["impl TypeInfo for DisputeProof"],["impl TypeInfo for ValidityAttestation"],["impl<HDR> TypeInfo for InherentData<HDR>where\n Vec<BackedCandidate<HDR::Hash>>: TypeInfo + 'static,\n HDR: TypeInfo + 'static + HeaderT,"],["impl TypeInfo for PendingSlashes"],["impl<H, N> TypeInfo for FullCandidateReceipt<H, N>where\n CandidateReceipt<H>: TypeInfo + 'static,\n PersistedValidationData<H, N>: TypeInfo + 'static,\n H: TypeInfo + 'static,\n N: TypeInfo + 'static,"],["impl TypeInfo for AbridgedHrmpChannel"],["impl TypeInfo for OutboundHrmpChannelLimitations"],["impl<H> TypeInfo for BackedCandidate<H>where\n CommittedCandidateReceipt<H>: TypeInfo + 'static,\n H: TypeInfo + 'static,"],["impl TypeInfo for ValidDisputeStatementKind"],["impl<H, N> TypeInfo for CoreState<H, N>where\n OccupiedCore<H, N>: TypeInfo + 'static,\n H: TypeInfo + 'static,\n N: TypeInfo + 'static,"],["impl<H, N> TypeInfo for PersistedValidationData<H, N>where\n N: TypeInfo + 'static,\n H: TypeInfo + 'static,"],["impl TypeInfo for DisputeStatementSet"],["impl TypeInfo for UpgradeGoAhead"],["impl TypeInfo for ParathreadClaim"]], "polkadot_runtime":[["impl TypeInfo for RuntimeHoldReason"],["impl TypeInfo for ProxyType"],["impl TypeInfo for RuntimeCall"],["impl TypeInfo for OriginCaller"],["impl TypeInfo for Origin"],["impl TypeInfo for RuntimeFreezeReason"],["impl TypeInfo for RuntimeLockId"],["impl TypeInfo for RuntimeEvent"],["impl TypeInfo for RuntimeSlashReason"],["impl TypeInfo for Runtime"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl TypeInfo for SessionKeys"],["impl TypeInfo for NposCompactSolution16"],["impl TypeInfo for RuntimeError"]], "polkadot_runtime_common":[["impl<T> TypeInfo for PrevalidateAttests<T>where\n <T as Config>::RuntimeCall: IsSubType<Call<T>>,\n PhantomData<T>: TypeInfo + 'static,\n T: Config + Send + Sync + 'static,"],["impl<T> TypeInfo for Event<T>where\n T::AccountId: TypeInfo + 'static,\n PhantomData<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n <<<T as Config>::Auctioneer as Auctioneer<BlockNumberFor<T>>>::Currency as Currency<<T as Config>::AccountId>>::Balance: HasCompact,\n <<T as Config>::Auctioneer as Auctioneer<BlockNumberFor<T>>>::LeasePeriod: HasCompact,\n BlockNumberFor<T>: HasCompact,\n T::AccountId: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl<BlockNumber> TypeInfo for LastContribution<BlockNumber>where\n BlockNumber: TypeInfo + 'static,"],["impl<AccountId, Balance, BlockNumber, LeasePeriod> TypeInfo for FundInfo<AccountId, Balance, BlockNumber, LeasePeriod>where\n AccountId: TypeInfo + 'static,\n Balance: TypeInfo + 'static,\n BlockNumber: TypeInfo + 'static,\n LastContribution<BlockNumber>: TypeInfo + 'static,\n LeasePeriod: TypeInfo + 'static,"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl TypeInfo for SlotLeasePeriodStart"],["impl<T> TypeInfo for Event<T>where\n T::AccountId: TypeInfo + 'static,\n <<<T as Config>::Auctioneer as Auctioneer<BlockNumberFor<T>>>::Currency as Currency<<T as Config>::AccountId>>::Balance: TypeInfo + 'static,\n PhantomData<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<Account, Balance> TypeInfo for ParaInfo<Account, Balance>where\n Account: TypeInfo + 'static,\n Balance: TypeInfo + 'static,"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl<T> TypeInfo for Event<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl<T> TypeInfo for Event<T>where\n T::AccountId: TypeInfo + 'static,\n <<<T as Config>::VestingSchedule as VestingSchedule<<T as Config>::AccountId>>::Currency as Currency<<T as Config>::AccountId>>::Balance: TypeInfo + 'static,\n PhantomData<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T::AccountId: TypeInfo + 'static,\n <<<T as Config>::VestingSchedule as VestingSchedule<<T as Config>::AccountId>>::Currency as Currency<<T as Config>::AccountId>>::Balance: TypeInfo + 'static,\n Option<(<<<T as Config>::VestingSchedule as VestingSchedule<<T as Config>::AccountId>>::Currency as Currency<<T as Config>::AccountId>>::Balance, <<<T as Config>::VestingSchedule as VestingSchedule<<T as Config>::AccountId>>::Currency as Currency<<T as Config>::AccountId>>::Balance, BlockNumberFor<T>)>: TypeInfo + 'static,\n Option<T::AccountId>: TypeInfo + 'static,\n T: Config + 'static,"],["impl TypeInfo for EcdsaSignature"],["impl<AccountId, LeasePeriod> TypeInfo for ParachainTemporarySlot<AccountId, LeasePeriod>where\n AccountId: TypeInfo + 'static,\n LeasePeriod: TypeInfo + 'static,\n Option<LeasePeriod>: TypeInfo + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl TypeInfo for AccountValidity"],["impl<T> TypeInfo for Event<T>where\n T::AccountId: TypeInfo + 'static,\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: TypeInfo + 'static,\n BlockNumberFor<T>: TypeInfo + 'static,\n PhantomData<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n BlockNumberFor<T>: HasCompact,\n <<T as Config>::Leaser as Leaser<BlockNumberFor<T>>>::LeasePeriod: HasCompact,\n <<<T as Config>::Leaser as Leaser<BlockNumberFor<T>>>::Currency as Currency<<T as Config>::AccountId>>::Balance: HasCompact,\n T: Config + 'static,"],["impl<T> TypeInfo for Event<T>where\n BlockNumberFor<T>: TypeInfo + 'static,\n T::AccountId: TypeInfo + 'static,\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: TypeInfo + 'static,\n PhantomData<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Event<T>where\n <<T as Config>::Leaser as Leaser<BlockNumberFor<T>>>::LeasePeriod: TypeInfo + 'static,\n BlockNumberFor<T>: TypeInfo + 'static,\n T::AccountId: TypeInfo + 'static,\n <<<T as Config>::Leaser as Leaser<BlockNumberFor<T>>>::Currency as Currency<<T as Config>::AccountId>>::Balance: TypeInfo + 'static,\n PhantomData<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T::AccountId: TypeInfo + 'static,\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: TypeInfo + 'static,\n T: Config + 'static,"],["impl TypeInfo for StatementKind"],["impl TypeInfo for EthereumAddress"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T::AccountId: TypeInfo + 'static,\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: TypeInfo + 'static,\n BlockNumberFor<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T::AccountId: TypeInfo + 'static,\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: TypeInfo + 'static,\n BlockNumberFor<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<Balance> TypeInfo for AccountStatus<Balance>where\n Balance: TypeInfo + 'static,"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"]], -"polkadot_runtime_parachains":[["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n ParachainsInherentData<HeaderFor<T>>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Event<T>where\n CandidateReceipt<T::Hash>: TypeInfo + 'static,\n PhantomData<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl TypeInfo for AggregateMessageOrigin"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<KeyOwnerIdentification> TypeInfo for SlashingOffence<KeyOwnerIdentification>where\n Vec<KeyOwnerIdentification>: TypeInfo + 'static,\n KeyOwnerIdentification: TypeInfo + 'static,"],["impl TypeInfo for ParaLifecycle"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl TypeInfo for Event"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl TypeInfo for DisputeLocation"],["impl<H, N> TypeInfo for CandidatePendingAvailability<H, N>where\n CandidateDescriptor<H>: TypeInfo + 'static,\n N: TypeInfo + 'static,\n H: TypeInfo + 'static,"],["impl<N> TypeInfo for AvailabilityBitfieldRecord<N>where\n N: TypeInfo + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl TypeInfo for HrmpOpenChannelRequest"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl TypeInfo for CoreAffinityCount"],["impl TypeInfo for HrmpChannel"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n BlockNumberFor<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<N> TypeInfo for ReplacementTimes<N>where\n N: TypeInfo + 'static,"],["impl<Hash, BlockNumber> TypeInfo for AllowedRelayParentsTracker<Hash, BlockNumber>where\n VecDeque<(Hash, Hash)>: TypeInfo + 'static,\n BlockNumber: TypeInfo + 'static,\n Hash: TypeInfo + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T::KeyOwnerProof: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl TypeInfo for ParaKind"],["impl<T> TypeInfo for Event<T>where\n BlockNumberFor<T>: TypeInfo + 'static,\n PhantomData<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl TypeInfo for ParaGenesisArgs"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Event<T>where\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: TypeInfo + 'static,\n PhantomData<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl TypeInfo for DisputeResult"],["impl<T> TypeInfo for Event<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n BlockNumberFor<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl TypeInfo for Origin"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<N> TypeInfo for ParaPastCodeMeta<N>where\n Vec<ReplacementTimes<N>>: TypeInfo + 'static,\n Option<N>: TypeInfo + 'static,\n N: TypeInfo + 'static,"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl<BlockNumber> TypeInfo for HostConfiguration<BlockNumber>where\n BlockNumber: TypeInfo + 'static,"],["impl TypeInfo for UmpQueueId"],["impl<BlockNumber> TypeInfo for CoreAssignment<BlockNumber>where\n ParasEntry<BlockNumber>: TypeInfo + 'static,\n BlockNumber: TypeInfo + 'static,"]], +"polkadot_runtime_parachains":[["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n ParachainsInherentData<HeaderFor<T>>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Event<T>where\n CandidateReceipt<T::Hash>: TypeInfo + 'static,\n PhantomData<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl TypeInfo for AggregateMessageOrigin"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<KeyOwnerIdentification> TypeInfo for SlashingOffence<KeyOwnerIdentification>where\n Vec<KeyOwnerIdentification>: TypeInfo + 'static,\n KeyOwnerIdentification: TypeInfo + 'static,"],["impl TypeInfo for ParaLifecycle"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl TypeInfo for Event"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl TypeInfo for DisputeLocation"],["impl<H, N> TypeInfo for CandidatePendingAvailability<H, N>where\n CandidateDescriptor<H>: TypeInfo + 'static,\n N: TypeInfo + 'static,\n H: TypeInfo + 'static,"],["impl<N> TypeInfo for AvailabilityBitfieldRecord<N>where\n N: TypeInfo + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl TypeInfo for HrmpOpenChannelRequest"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl TypeInfo for CoreAffinityCount"],["impl TypeInfo for HrmpChannel"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n BlockNumberFor<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<N> TypeInfo for ReplacementTimes<N>where\n N: TypeInfo + 'static,"],["impl<Hash, BlockNumber> TypeInfo for AllowedRelayParentsTracker<Hash, BlockNumber>where\n VecDeque<(Hash, Hash)>: TypeInfo + 'static,\n BlockNumber: TypeInfo + 'static,\n Hash: TypeInfo + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T::KeyOwnerProof: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl TypeInfo for ParaKind"],["impl<T> TypeInfo for Event<T>where\n BlockNumberFor<T>: TypeInfo + 'static,\n PhantomData<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl TypeInfo for ParaGenesisArgs"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Event<T>where\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: TypeInfo + 'static,\n PhantomData<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl TypeInfo for DisputeResult"],["impl<T> TypeInfo for Event<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n BlockNumberFor<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl TypeInfo for Origin"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<N> TypeInfo for ParaPastCodeMeta<N>where\n Vec<ReplacementTimes<N>>: TypeInfo + 'static,\n Option<N>: TypeInfo + 'static,\n N: TypeInfo + 'static,"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl<BlockNumber> TypeInfo for HostConfiguration<BlockNumber>where\n BlockNumber: TypeInfo + 'static,"],["impl TypeInfo for UmpQueueId"],["impl<BlockNumber> TypeInfo for CoreAssignment<BlockNumber>where\n ParasEntry<BlockNumber>: TypeInfo + 'static,\n BlockNumber: TypeInfo + 'static,"]], "polkadot_test_runtime":[["impl TypeInfo for OriginCaller"],["impl TypeInfo for RuntimeEvent"],["impl TypeInfo for RuntimeError"],["impl TypeInfo for RuntimeFreezeReason"],["impl TypeInfo for RuntimeHoldReason"],["impl TypeInfo for RuntimeLockId"],["impl<T> TypeInfo for Call<T>where\n PhantomData<(T,)>: TypeInfo + 'static,\n T: Config + 'static,"],["impl<T> TypeInfo for Event<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: Config + 'static,"],["impl TypeInfo for RuntimeCall"],["impl TypeInfo for Runtime"],["impl TypeInfo for RuntimeSlashReason"],["impl<T> TypeInfo for Error<T>where\n PhantomData<T>: TypeInfo + 'static,\n T: 'static,"],["impl TypeInfo for SessionKeys"]], "rococo_runtime":[["impl TypeInfo for Runtime"],["impl TypeInfo for RuntimeHoldReason"],["impl TypeInfo for ProxyType"],["impl TypeInfo for RuntimeFreezeReason"],["impl TypeInfo for RuntimeSlashReason"],["impl TypeInfo for RuntimeEvent"],["impl TypeInfo for RuntimeError"],["impl TypeInfo for RuntimeLockId"],["impl TypeInfo for RuntimeCall"],["impl TypeInfo for SessionKeys"],["impl TypeInfo for OriginCaller"]], "westend_runtime":[["impl TypeInfo for RuntimeHoldReason"],["impl TypeInfo for SessionKeys"],["impl TypeInfo for RuntimeEvent"],["impl TypeInfo for Runtime"],["impl TypeInfo for OriginCaller"],["impl TypeInfo for RuntimeFreezeReason"],["impl TypeInfo for RuntimeError"],["impl TypeInfo for NposCompactSolution16"],["impl TypeInfo for RuntimeSlashReason"],["impl TypeInfo for RuntimeLockId"],["impl TypeInfo for ProxyType"],["impl TypeInfo for OldSessionKeys"],["impl TypeInfo for RuntimeCall"]], diff --git a/doc/implementors/xcm_simulator/trait.TestExt.js b/doc/implementors/xcm_simulator/trait.TestExt.js index 5ed8b58ee25e..9695477e2531 100644 --- a/doc/implementors/xcm_simulator/trait.TestExt.js +++ b/doc/implementors/xcm_simulator/trait.TestExt.js @@ -1,4 +1,4 @@ (function() {var implementors = { "xcm_fuzzer":[["impl TestExt for ParaC"],["impl TestExt for Relay"],["impl TestExt for ParaB"],["impl TestExt for ParaA"]], -"xcm_simulator_example":[["impl TestExt for Relay"],["impl TestExt for ParaA"],["impl TestExt for ParaB"]] +"xcm_simulator_example":[["impl TestExt for Relay"],["impl TestExt for ParaA"],["impl TestExt for ParaB"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/pallet_xcm_benchmarks/fungible/pallet/trait.Config.html b/doc/pallet_xcm_benchmarks/fungible/pallet/trait.Config.html index cd293e7ccb2f..055571c5c614 100644 --- a/doc/pallet_xcm_benchmarks/fungible/pallet/trait.Config.html +++ b/doc/pallet_xcm_benchmarks/fungible/pallet/trait.Config.html @@ -1,6 +1,6 @@ Config in pallet_xcm_benchmarks::fungible::pallet - Rust
pub trait Config<I: 'static = ()>: Config + Config {
     type TransactAsset: Mutate<Self::AccountId>;
-    type CheckedAccount: Get<Option<(Self::AccountId, MintLocation)>>;
+    type CheckedAccount: Get<Option<(Self::AccountId, MintLocation)>>;
     type TrustedTeleporter: Get<Option<(MultiLocation, MultiAsset)>>;
     type TrustedReserve: Get<Option<(MultiLocation, MultiAsset)>>;
 
@@ -13,7 +13,7 @@
 

Consequently, a runtime that wants to include this pallet must implement this trait.

Required Associated Types§

source

type TransactAsset: Mutate<Self::AccountId>

The type of fungible that is being used under the hood.

This is useful for testing and checking.

-
source

type CheckedAccount: Get<Option<(Self::AccountId, MintLocation)>>

The account used to check assets being teleported.

+
source

type CheckedAccount: Get<Option<(Self::AccountId, MintLocation)>>

The account used to check assets being teleported.

source

type TrustedTeleporter: Get<Option<(MultiLocation, MultiAsset)>>

A trusted location which we allow teleports from, and the asset we allow to teleport.

source

type TrustedReserve: Get<Option<(MultiLocation, MultiAsset)>>

A trusted location where reserve assets are stored, and the asset we allow to be reserves.

diff --git a/doc/pallet_xcm_benchmarks/trait.Config.html b/doc/pallet_xcm_benchmarks/trait.Config.html index f72f1736966a..b4177124e304 100644 --- a/doc/pallet_xcm_benchmarks/trait.Config.html +++ b/doc/pallet_xcm_benchmarks/trait.Config.html @@ -1,15 +1,15 @@ Config in pallet_xcm_benchmarks - Rust
pub trait Config: Config {
-    type XcmConfig: XcmConfig;
-    type AccountIdConverter: ConvertLocation<Self::AccountId>;
+    type XcmConfig: XcmConfig;
+    type AccountIdConverter: ConvertLocation<Self::AccountId>;
 
     // Required methods
     fn valid_destination() -> Result<MultiLocation, BenchmarkError>;
     fn worst_case_holding(depositable_count: u32) -> MultiAssets;
 }
Expand description

A base trait for all individual pallets

-

Required Associated Types§

source

type XcmConfig: XcmConfig

The XCM configurations.

+

Required Associated Types§

source

type XcmConfig: XcmConfig

The XCM configurations.

These might affect the execution of XCM messages, such as defining how the TransactAsset is implemented.

-
source

type AccountIdConverter: ConvertLocation<Self::AccountId>

A converter between a multi-location to a sovereign account.

+
source

type AccountIdConverter: ConvertLocation<Self::AccountId>

A converter between a multi-location to a sovereign account.

Required Methods§

source

fn valid_destination() -> Result<MultiLocation, BenchmarkError>

Does any necessary setup to create a valid destination for XCM messages. Returns that destination’s multi-location to be used in benchmarks.

source

fn worst_case_holding(depositable_count: u32) -> MultiAssets

Worst case scenario for a holding account in this runtime.

diff --git a/doc/pallet_xcm_benchmarks/type.AssetTransactorOf.html b/doc/pallet_xcm_benchmarks/type.AssetTransactorOf.html index ae31d165cc6e..aae290645d2c 100644 --- a/doc/pallet_xcm_benchmarks/type.AssetTransactorOf.html +++ b/doc/pallet_xcm_benchmarks/type.AssetTransactorOf.html @@ -1,2 +1,2 @@ -AssetTransactorOf in pallet_xcm_benchmarks - Rust
pub type AssetTransactorOf<T> = <<T as Config>::XcmConfig as XcmConfig>::AssetTransactor;
Expand description

The asset transactor of our executor

+AssetTransactorOf in pallet_xcm_benchmarks - Rust
pub type AssetTransactorOf<T> = <<T as Config>::XcmConfig as XcmConfig>::AssetTransactor;
Expand description

The asset transactor of our executor

\ No newline at end of file diff --git a/doc/pallet_xcm_benchmarks/type.ExecutorOf.html b/doc/pallet_xcm_benchmarks/type.ExecutorOf.html index 4cedda4851c5..d85bb900f92f 100644 --- a/doc/pallet_xcm_benchmarks/type.ExecutorOf.html +++ b/doc/pallet_xcm_benchmarks/type.ExecutorOf.html @@ -1,2 +1,2 @@ -ExecutorOf in pallet_xcm_benchmarks - Rust

Type Definition pallet_xcm_benchmarks::ExecutorOf

source ·
pub type ExecutorOf<T> = XcmExecutor<<T as Config>::XcmConfig>;
Expand description

The XCM executor to use for doing stuff.

+ExecutorOf in pallet_xcm_benchmarks - Rust

Type Definition pallet_xcm_benchmarks::ExecutorOf

source ·
pub type ExecutorOf<T> = XcmExecutor<<T as Config>::XcmConfig>;
Expand description

The XCM executor to use for doing stuff.

\ No newline at end of file diff --git a/doc/pallet_xcm_benchmarks/type.XcmCallOf.html b/doc/pallet_xcm_benchmarks/type.XcmCallOf.html index 7faee5b424e7..61370bea1749 100644 --- a/doc/pallet_xcm_benchmarks/type.XcmCallOf.html +++ b/doc/pallet_xcm_benchmarks/type.XcmCallOf.html @@ -1,2 +1,2 @@ -XcmCallOf in pallet_xcm_benchmarks - Rust

Type Definition pallet_xcm_benchmarks::XcmCallOf

source ·
pub type XcmCallOf<T> = <<T as Config>::XcmConfig as XcmConfig>::RuntimeCall;
Expand description

The call type of executor’s config. Should eventually resolve to the same overarching call type.

+XcmCallOf in pallet_xcm_benchmarks - Rust

Type Definition pallet_xcm_benchmarks::XcmCallOf

source ·
pub type XcmCallOf<T> = <<T as Config>::XcmConfig as XcmConfig>::RuntimeCall;
Expand description

The call type of executor’s config. Should eventually resolve to the same overarching call type.

\ No newline at end of file diff --git a/doc/polkadot_node_core_provisioner/struct.ProvisionerSubsystem.html b/doc/polkadot_node_core_provisioner/struct.ProvisionerSubsystem.html index 1f601f5e223e..c4665788b013 100644 --- a/doc/polkadot_node_core_provisioner/struct.ProvisionerSubsystem.html +++ b/doc/polkadot_node_core_provisioner/struct.ProvisionerSubsystem.html @@ -3,7 +3,7 @@

Trait Implementations§

source§

impl<Context> Subsystem<Context, SubsystemError> for ProvisionerSubsystemwhere Context: ProvisionerContextTrait + SubsystemContext, <Context as ProvisionerContextTrait>::Sender: ProvisionerSenderTrait, - <Context as SubsystemContext>::Sender: ProvisionerSenderTrait,

source§

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

Start this Subsystem and return SpawnedSubsystem.

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

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

Start this Subsystem and return SpawnedSubsystem.

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 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 04574499153d..4fe8952a5496 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 ()

§

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 + 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 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 05ca6a904b35..83951801cd26 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 ()

§

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 + 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 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 1b7b6bf3af96..91aa7c8701e4 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
§

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 +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 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 9fa5e9815612..fd9430b28b8d 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
§

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 +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 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 1be4b6c87e7b..bc91bceef829 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 81769eb280c2..b6db9e78097e 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 c4fd368a3d93..8c338c83c0b8 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 ()

§

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 + 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 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 65e540c4f665..ec7a93d35bb0 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 ()

§

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 + 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 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 e0c2ca3f3148..d9e353801d88 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 ()

§

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 + 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 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 8d2e8b0a6787..5bbf5b3506c4 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 ()

§

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 + 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 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 92c1daab7888..3a7493c50844 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 ()

§

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 + 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 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 86042ef247ac..c44d3bd10593 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§

    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 88f20cac103a..c003bd000e99 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 0757fddd8463..462050e4f9ca 100644 --- a/doc/polkadot_node_jaeger/enum.Span.html +++ b/doc/polkadot_node_jaeger/enum.Span.html @@ -19,17 +19,17 @@

    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 -) -> 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.

    + 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>( self, tag: &'static str, val: V ) -> Self

    source

    pub fn add_follows_from(&mut self, other: &Self)

    Adds the FollowsFrom relationship to this span with respect to the given one.

    -
    source

    pub fn add_pov(&mut self, pov: &PoV)

    Add a PoV hash meta tag with lazy hash evaluation, without consuming the span.

    +
    source

    pub fn add_pov(&mut self, pov: &PoV)

    Add a PoV hash meta tag with lazy hash evaluation, without consuming the span.

    source

    pub fn add_para_id(&mut self, para_id: ParaId)

    source

    pub fn add_string_tag<V: ToString>(&mut self, tag: &'static str, val: V)

    Add a string tag, without consuming the span.

    source

    pub fn add_string_fmt_debug_tag<V: Debug>(&mut self, tag: &'static str, val: V)

    Add a string tag, without consuming the span.

    source

    pub fn add_int_tag(&mut self, tag: &'static str, value: i64)

    source

    pub fn add_uint_tag(&mut self, tag: &'static str, value: u64)

    source

    pub const fn is_enabled(&self) -> bool

    Check whether jaeger is enabled 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 516e17374d29..b07cfa7d033b 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 dc3569f2deb9..a68817532bd9 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 9efea08db984..40116bbec26e 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 731086881dd3..2638700bc176 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 895cd36e1b6f..88b5b7b9f211 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 0add1b3ea281..d17700bb03a9 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.
  • vstaging network 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 44fdef89165f..23599043abd5 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 ()

    §

    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 + 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 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 1ea0279b4282..dc8a8570bce2 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 ()

    §

    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 + 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 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 042ed93c16cb..ebf831e030eb 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 ()

    §

    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 + 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 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 562d6b4acd39..d1086d7ef6ac 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 ()

    §

    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 + 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 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 234c66d6fcec..b209bfffc1c7 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
    §

    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 +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 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 63d1045f78ac..e94b19474005 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 ()

    §

    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 + 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 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 16cb01151d48..9c58caacbf05 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 ()

    §

    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 + 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 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 fe36ca56249c..67aed4f8d589 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 ()

    §

    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 + 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 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 969e45498f1b..05789e008163 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 ()

    §

    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 + 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 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 411d7608746c..38a3b45d5681 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 ()

    §

    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 + 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 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 18b55b6f7761..e772bbf9b53b 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 ()

    §

    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 + 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 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 d0da053526f2..27b50c981a9f 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 ()

    §

    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 + 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 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 40959e6bf079..b81c377c0e67 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 ()

    §

    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 + 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 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 bd034f2191ee..75e48f808b3d 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 ()

    §

    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 + 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 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/vstaging/struct.AttestedCandidateRequest.html b/doc/polkadot_node_network_protocol/request_response/vstaging/struct.AttestedCandidateRequest.html index b3c4394807b4..1743dfbf2a57 100644 --- a/doc/polkadot_node_network_protocol/request_response/vstaging/struct.AttestedCandidateRequest.html +++ b/doc/polkadot_node_network_protocol/request_response/vstaging/struct.AttestedCandidateRequest.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 ()

    §

    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 + 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 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/vstaging/struct.AttestedCandidateResponse.html b/doc/polkadot_node_network_protocol/request_response/vstaging/struct.AttestedCandidateResponse.html index 5ce1a6808876..75d8c8dbe722 100644 --- a/doc/polkadot_node_network_protocol/request_response/vstaging/struct.AttestedCandidateResponse.html +++ b/doc/polkadot_node_network_protocol/request_response/vstaging/struct.AttestedCandidateResponse.html @@ -1,11 +1,11 @@ AttestedCandidateResponse in polkadot_node_network_protocol::request_response::vstaging - Rust
    pub struct AttestedCandidateResponse {
    -    pub candidate_receipt: CommittedCandidateReceipt,
    -    pub persisted_validation_data: PersistedValidationData,
    -    pub statements: Vec<UncheckedSignedStatement>,
    +    pub candidate_receipt: CommittedCandidateReceipt,
    +    pub persisted_validation_data: PersistedValidationData,
    +    pub statements: Vec<UncheckedSignedStatement>,
     }
    Expand description

    Response to an AttestedCandidateRequest.

    -

    Fields§

    §candidate_receipt: CommittedCandidateReceipt

    The candidate receipt, with commitments.

    -
    §persisted_validation_data: PersistedValidationData

    The [PersistedValidationData] corresponding to the candidate.

    -
    §statements: Vec<UncheckedSignedStatement>

    All known statements about the candidate, in compact form, +

    Fields§

    §candidate_receipt: CommittedCandidateReceipt

    The candidate receipt, with commitments.

    +
    §persisted_validation_data: PersistedValidationData

    The PersistedValidationData corresponding to the candidate.

    +
    §statements: Vec<UncheckedSignedStatement>

    All known statements about the candidate, in compact form, omitting Seconded statements which were intended to be masked out.

    Trait Implementations§

    source§

    impl Clone for AttestedCandidateResponse

    source§

    fn clone(&self) -> AttestedCandidateResponse

    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 AttestedCandidateResponse

    source§

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

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

    impl Decode for AttestedCandidateResponse

    source§

    fn decode<__CodecInputEdqy: Input>( @@ -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 ()

    §

    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 + 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 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/vstaging/struct.CollationFetchingRequest.html b/doc/polkadot_node_network_protocol/request_response/vstaging/struct.CollationFetchingRequest.html index 1337d4a02381..f6304fd4a80d 100644 --- a/doc/polkadot_node_network_protocol/request_response/vstaging/struct.CollationFetchingRequest.html +++ b/doc/polkadot_node_network_protocol/request_response/vstaging/struct.CollationFetchingRequest.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 ()

    §

    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 + 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 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 6f93bd92a35a..2d8e638351dc 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 ()

    §

    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 + 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 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 2c25b06faace..45612737bb31 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 ()

    §

    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 + 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 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 ec882c5f03e3..1899ad7517a1 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 ()

    §

    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 + 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 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 3ead70dc99af..7ab4910637fc 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 ()

    §

    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 + 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 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 c7ae8b914b10..fa935c51bcea 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 ()

    §

    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 + 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 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 7057e689b58c..6ce91a4c2959 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 ()

    §

    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 + 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 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 88658192e130..6c1e0837cf24 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 ()

    §

    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 + 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 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 bff518526fd2..3e3cf36e4ad4 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 ()

    §

    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 + 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 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/vstaging/enum.ApprovalDistributionMessage.html b/doc/polkadot_node_network_protocol/vstaging/enum.ApprovalDistributionMessage.html index c3b08fc6afa2..5a366978f5c8 100644 --- a/doc/polkadot_node_network_protocol/vstaging/enum.ApprovalDistributionMessage.html +++ b/doc/polkadot_node_network_protocol/vstaging/enum.ApprovalDistributionMessage.html @@ -1,10 +1,10 @@ ApprovalDistributionMessage in polkadot_node_network_protocol::vstaging - 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 ()

    §

    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 + 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 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/vstaging/enum.BitfieldDistributionMessage.html b/doc/polkadot_node_network_protocol/vstaging/enum.BitfieldDistributionMessage.html index 0fbbe078ffea..86a3d76c94e0 100644 --- a/doc/polkadot_node_network_protocol/vstaging/enum.BitfieldDistributionMessage.html +++ b/doc/polkadot_node_network_protocol/vstaging/enum.BitfieldDistributionMessage.html @@ -1,7 +1,7 @@ BitfieldDistributionMessage in polkadot_node_network_protocol::vstaging - 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 ()

    §

    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 + 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 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/vstaging/enum.CollationProtocol.html b/doc/polkadot_node_network_protocol/vstaging/enum.CollationProtocol.html index fcb4bce718c1..1b3a41cfdf14 100644 --- a/doc/polkadot_node_network_protocol/vstaging/enum.CollationProtocol.html +++ b/doc/polkadot_node_network_protocol/vstaging/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 ()

    §

    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 + 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 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/vstaging/enum.CollatorProtocolMessage.html b/doc/polkadot_node_network_protocol/vstaging/enum.CollatorProtocolMessage.html index 49d37ba004e7..5c24de4fc91f 100644 --- a/doc/polkadot_node_network_protocol/vstaging/enum.CollatorProtocolMessage.html +++ b/doc/polkadot_node_network_protocol/vstaging/enum.CollatorProtocolMessage.html @@ -1,20 +1,20 @@ CollatorProtocolMessage in polkadot_node_network_protocol::vstaging - Rust
    pub enum CollatorProtocolMessage {
    -    Declare(CollatorId, ParaId, CollatorSignature),
    +    Declare(CollatorId, ParaId, CollatorSignature),
         AdvertiseCollation {
             relay_parent: Hash,
             candidate_hash: CandidateHash,
             parent_head_data_hash: 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

    Fields

    §relay_parent: Hash

    Hash of the relay parent advertised collation is based on.

    §candidate_hash: CandidateHash

    Candidate hash.

    §parent_head_data_hash: Hash

    Parachain head data hash before candidate execution.

    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>( @@ -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 ()

    §

    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 + 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 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/vstaging/enum.StatementDistributionMessage.html b/doc/polkadot_node_network_protocol/vstaging/enum.StatementDistributionMessage.html index e6e74d23c7f1..539024de007f 100644 --- a/doc/polkadot_node_network_protocol/vstaging/enum.StatementDistributionMessage.html +++ b/doc/polkadot_node_network_protocol/vstaging/enum.StatementDistributionMessage.html @@ -1,10 +1,10 @@ StatementDistributionMessage in polkadot_node_network_protocol::vstaging - Rust
    pub enum StatementDistributionMessage {
    -    Statement(Hash, UncheckedSignedStatement),
    +    Statement(Hash, UncheckedSignedStatement),
         BackedCandidateManifest(BackedCandidateManifest),
         BackedCandidateKnown(BackedCandidateAcknowledgement),
         V1Compatibility(StatementDistributionMessage),
     }
    Expand description

    Network messages used by the statement distribution subsystem.

    -

    Variants§

    §

    Statement(Hash, UncheckedSignedStatement)

    A notification of a signed statement in compact form, for a given relay parent.

    +

    Variants§

    §

    Statement(Hash, UncheckedSignedStatement)

    A notification of a signed statement in compact form, for a given relay parent.

    §

    BackedCandidateManifest(BackedCandidateManifest)

    A notification of a backed candidate being known by the sending node, for the purpose of being requested by the receiving node if needed.

    @@ -45,8 +45,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 ()

    §

    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 + 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 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/vstaging/enum.ValidationProtocol.html b/doc/polkadot_node_network_protocol/vstaging/enum.ValidationProtocol.html index f530f7bc90e7..1c198555b36b 100644 --- a/doc/polkadot_node_network_protocol/vstaging/enum.ValidationProtocol.html +++ b/doc/polkadot_node_network_protocol/vstaging/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 ()

    §

    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 + 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 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/vstaging/struct.BackedCandidateAcknowledgement.html b/doc/polkadot_node_network_protocol/vstaging/struct.BackedCandidateAcknowledgement.html index ce2a0d18e4c8..a5a7eb7849fa 100644 --- a/doc/polkadot_node_network_protocol/vstaging/struct.BackedCandidateAcknowledgement.html +++ b/doc/polkadot_node_network_protocol/vstaging/struct.BackedCandidateAcknowledgement.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 ()

    §

    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 + 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 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/vstaging/struct.BackedCandidateManifest.html b/doc/polkadot_node_network_protocol/vstaging/struct.BackedCandidateManifest.html index 9d4bba834128..9a1ed1de670c 100644 --- a/doc/polkadot_node_network_protocol/vstaging/struct.BackedCandidateManifest.html +++ b/doc/polkadot_node_network_protocol/vstaging/struct.BackedCandidateManifest.html @@ -1,7 +1,7 @@ BackedCandidateManifest in polkadot_node_network_protocol::vstaging - Rust
    pub struct BackedCandidateManifest {
         pub relay_parent: Hash,
         pub candidate_hash: CandidateHash,
    -    pub group_index: GroupIndex,
    +    pub group_index: GroupIndex,
         pub para_id: ParaId,
         pub parent_head_data_hash: Hash,
         pub statement_knowledge: StatementFilter,
    @@ -9,7 +9,7 @@
     of the statements backing it.

    Fields§

    §relay_parent: Hash

    The relay-parent of the candidate.

    §candidate_hash: CandidateHash

    The hash of the candidate.

    -
    §group_index: GroupIndex

    The group index backing the candidate at the relay-parent.

    +
    §group_index: GroupIndex

    The group index backing the candidate at the relay-parent.

    §para_id: ParaId

    The para ID of the candidate. It is illegal for this to be a para ID which is not assigned to the group indicated in this manifest.

    @@ -49,8 +49,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 ()

    §

    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 + 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 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/vstaging/struct.StatementFilter.html b/doc/polkadot_node_network_protocol/vstaging/struct.StatementFilter.html index f4cb50a92ba1..0afa7d8969ca 100644 --- a/doc/polkadot_node_network_protocol/vstaging/struct.StatementFilter.html +++ b/doc/polkadot_node_network_protocol/vstaging/struct.StatementFilter.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 ()

    §

    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 + 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 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 ea489aa2477e..5407f9e597c0 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 ()

    §

    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 + 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 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 14017b5303fb..eefc30abb1a5 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 ()

    §

    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 + 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 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 162e329d1a48..6ecb0da5df5b 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 ()

    §

    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 + 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 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 accd347dda21..29ba2621020f 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 ()

    §

    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 + 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 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 f226972dcabf..3dd114458376 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 ()

    §

    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 + 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 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 84938af9f0a5..3941312227e0 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 ()

    §

    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 + 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 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 d73601a04301..6514008198e4 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 ()

    §

    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 + 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 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 04ff7fc1592a..e3ebcb58e9dc 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 ()

    §

    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 + 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 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 c6532daec53e..55f509ded509 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 ()

    §

    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 + 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 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 68eb881228e2..417205699ea1 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 ()

    §

    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 + 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 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 7714db274171..911f732963bc 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 2d34b68030d3..9a83c0910142 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 d26fc8c17b0b..32a80a9c3b33 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 ()

    §

    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 + 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 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 a931072280ef..16efc47bde06 100644 --- a/doc/polkadot_node_primitives/disputes/struct.SignedDisputeStatement.html +++ b/doc/polkadot_node_primitives/disputes/struct.SignedDisputeStatement.html @@ -1,41 +1,41 @@ 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<T>( - backing_statement: &UncheckedSigned<T, CompactStatement>, - signing_context: SigningContext, - validator_public: ValidatorId + backing_statement: &UncheckedSigned<T, CompactStatement>, + signing_context: SigningContext, + validator_public: ValidatorId ) -> Result<Self, ()>where - for<'a> &'a T: Into<CompactStatement>, - T: EncodeAs<CompactStatement>,

    Convert a [SignedFullStatement] to a SignedDisputeStatement

    + for<'a> &'a T: Into<CompactStatement>, + T: EncodeAs<CompactStatement>,

    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, along with the signing context.

    diff --git a/doc/polkadot_node_primitives/disputes/struct.UncheckedDisputeMessage.html b/doc/polkadot_node_primitives/disputes/struct.UncheckedDisputeMessage.html index 5e990ebed0a3..5ab9dd94be03 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 ()

    §

    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 + 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 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 bea981abb0c7..5be744175927 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 35945364b466..7b067d492e14 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 ()

    §

    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 + 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 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 136807d72d79..8ab6ec08234a 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 76181eabbfb3..c5c8a2bce10a 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 edd038314894..c3c7dc04f565 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 ()

    §

    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 + 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 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 18b57823104a..861986e1fd7f 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 ()

    §

    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 + 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 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 85796b17dbe8..29a867b9ab77 100644 --- a/doc/polkadot_node_primitives/enum.Statement.html +++ b/doc/polkadot_node_primitives/enum.Statement.html @@ -1,19 +1,19 @@ 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.

    -
    source

    pub fn supply_pvd(self, pvd: PersistedValidationData) -> StatementWithPVD

    Add the [PersistedValidationData] to the statement, if seconded.

    +
    source

    pub fn supply_pvd(self, pvd: PersistedValidationData) -> StatementWithPVD

    Add the PersistedValidationData to the statement, if seconded.

    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 ) -> Result<Self, Error>

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -25,7 +25,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 @@ -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 ()

    §

    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 + 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 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.StatementWithPVD.html b/doc/polkadot_node_primitives/enum.StatementWithPVD.html index 9b1cbaa96144..4938df989688 100644 --- a/doc/polkadot_node_primitives/enum.StatementWithPVD.html +++ b/doc/polkadot_node_primitives/enum.StatementWithPVD.html @@ -1,25 +1,25 @@ StatementWithPVD in polkadot_node_primitives - Rust
    pub enum StatementWithPVD {
    -    Seconded(CommittedCandidateReceipt, PersistedValidationData),
    +    Seconded(CommittedCandidateReceipt, PersistedValidationData),
         Valid(CandidateHash),
     }
    Expand description

    A statement, exactly the same as Statement but where seconded messages carry -the [PersistedValidationData].

    -

    Variants§

    §

    Seconded(CommittedCandidateReceipt, PersistedValidationData)

    A statement that a validator seconds a candidate.

    +the PersistedValidationData.

    +

    Variants§

    §

    Seconded(CommittedCandidateReceipt, PersistedValidationData)

    A statement that a validator seconds a candidate.

    §

    Valid(CandidateHash)

    A statement that a validator has deemed a candidate valid.

    Implementations§

    source§

    impl StatementWithPVD

    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.

    -
    source

    pub fn drop_pvd(self) -> Statement

    Drop the [PersistedValidationData] from the statement.

    +
    source

    pub fn drop_pvd(self) -> Statement

    Drop the PersistedValidationData from the statement.

    source

    pub fn drop_pvd_from_signed( signed: SignedFullStatementWithPVD -) -> SignedFullStatement

    Drop the [PersistedValidationData] from the statement in a signed +) -> SignedFullStatement

    Drop the PersistedValidationData from the statement in a signed variant.

    source

    pub fn signed_to_compact( signed: SignedFullStatementWithPVD -) -> Signed<CompactStatement>

    Converts the statement to a compact signed statement by dropping the -[CommittedCandidateReceipt] and the [PersistedValidationData].

    -

    Trait Implementations§

    source§

    impl Clone for StatementWithPVD

    source§

    fn clone(&self) -> StatementWithPVD

    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 StatementWithPVD

    source§

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

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

    impl EncodeAs<CompactStatement> for StatementWithPVD

    source§

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

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

    impl From<&StatementWithPVD> for CompactStatement

    source§

    fn from(stmt: &StatementWithPVD) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<StatementWithPVD> for StatementWithPVD

    source§

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

    This method tests for self and other values to be equal, and is used +) -> Signed<CompactStatement>

    Converts the statement to a compact signed statement by dropping the +CommittedCandidateReceipt and the PersistedValidationData.

    +

    Trait Implementations§

    source§

    impl Clone for StatementWithPVD

    source§

    fn clone(&self) -> StatementWithPVD

    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 StatementWithPVD

    source§

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

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

    impl EncodeAs<CompactStatement> for StatementWithPVD

    source§

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

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

    impl From<&StatementWithPVD> for CompactStatement

    source§

    fn from(stmt: &StatementWithPVD) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<StatementWithPVD> for StatementWithPVD

    source§

    fn eq(&self, other: &StatementWithPVD) -> 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 StatementWithPVD

    source§

    impl StructuralEq for StatementWithPVD

    source§

    impl StructuralPartialEq for StatementWithPVD

    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_node_primitives/enum.ValidationResult.html b/doc/polkadot_node_primitives/enum.ValidationResult.html index 5bf42bea4c3f..93fdb42ead01 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/index.html b/doc/polkadot_node_primitives/index.html index bb7e6e454d01..5766e74398e4 100644 --- a/doc/polkadot_node_primitives/index.html +++ b/doc/polkadot_node_primitives/index.html @@ -3,7 +3,7 @@ not shared between the node and the runtime. This crate builds on top of the primitives defined there.

    Re-exports

    Modules

    Macros

    Structs

    Enums

    Constants

    Constants

    source§

    impl<T> DynClone for Twhere - 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 + 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 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 acb992a493e7..d30e7927e69a 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 ()

    §

    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 + 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 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 3cb4d16c9817..05936f77a296 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 ()

    §

    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 + 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 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 93bab5baeaea..10ae784a8046 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 ()

    §

    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 + 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 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 339dc1b0c62a..34cc3d57994e 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: Option<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: Option<CollatorFn>

    Collation function. See CollatorFn for more details.

    If this is None, it implies that collations are intended to be submitted out-of-band and not pulled out of the function.

    diff --git a/doc/polkadot_node_primitives/struct.ErasureChunk.html b/doc/polkadot_node_primitives/struct.ErasureChunk.html index fbcf5bac0293..fedac07c3663 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 ()

    §

    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 + 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 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 eba18c24a13f..4571264f1d56 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 ()

    §

    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 + 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 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 f68b0002933e..135b41eff10b 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 ()

    §

    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 + 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 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 8d705c09fda0..88af98020404 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 29ed94e5dee6..80425b680793 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.SignedFullStatementWithPVD.html b/doc/polkadot_node_primitives/type.SignedFullStatementWithPVD.html index c48cca5b576b..bffa55f8087d 100644 --- a/doc/polkadot_node_primitives/type.SignedFullStatementWithPVD.html +++ b/doc/polkadot_node_primitives/type.SignedFullStatementWithPVD.html @@ -1,4 +1,4 @@ -SignedFullStatementWithPVD in polkadot_node_primitives - Rust
    pub type SignedFullStatementWithPVD = Signed<StatementWithPVD, CompactStatement>;
    Expand description

    A statement, the corresponding signature, and the index of the sender.

    -

    Seconded statements are accompanied by the [PersistedValidationData]

    +SignedFullStatementWithPVD in polkadot_node_primitives - Rust
    pub type SignedFullStatementWithPVD = Signed<StatementWithPVD, CompactStatement>;
    Expand description

    A statement, the corresponding signature, and the index of the sender.

    +

    Seconded statements are accompanied by the PersistedValidationData

    Signing context and validator set should be apparent from context.

    \ No newline at end of file diff --git a/doc/polkadot_node_primitives/type.UncheckedSignedFullStatement.html b/doc/polkadot_node_primitives/type.UncheckedSignedFullStatement.html index d089e85048b4..5433e1b00254 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.Jaeger.html b/doc/polkadot_node_subsystem_types/enum.Jaeger.html index daff99824dd4..d8b4bfbf91d9 100644 --- a/doc/polkadot_node_subsystem_types/enum.Jaeger.html +++ b/doc/polkadot_node_subsystem_types/enum.Jaeger.html @@ -1,4 +1,4 @@ -Jaeger in polkadot_node_subsystem_types - Rust

    Launched and operational state.

    §

    Prep(JaegerConfig)

    Preparation state with the necessary config to launch the collector.

    §

    None

    Uninitialized, suggests wrong API usage if encountered.

    -

    Implementations§

    §

    impl Jaeger

    pub fn new(cfg: JaegerConfig) -> Jaeger

    Spawn the jaeger instance.

    -

    pub fn launch<S>(self, spawner: S) -> Result<(), JaegerError>where +

    Implementations§

    source§

    impl Jaeger

    source

    pub fn new(cfg: JaegerConfig) -> Jaeger

    Spawn the jaeger instance.

    +
    source

    pub fn launch<S>(self, spawner: S) -> Result<(), JaegerError>where S: SpawnNamed,

    Spawn the background task in order to send the tracing information out via UDP

    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/enum.JaegerError.html b/doc/polkadot_node_subsystem_types/enum.JaegerError.html index 2382fe333704..1cafad019d77 100644 --- a/doc/polkadot_node_subsystem_types/enum.JaegerError.html +++ b/doc/polkadot_node_subsystem_types/enum.JaegerError.html @@ -1,8 +1,8 @@ -JaegerError in polkadot_node_subsystem_types - Rust
    pub enum JaegerError {
    +JaegerError in polkadot_node_subsystem_types - Rust
    pub enum JaegerError {
         AlreadyLaunched,
         MissingConfiguration,
     }
    Expand description

    A description of an error during jaeger initialization.

    -

    Variants§

    §

    AlreadyLaunched

    §

    MissingConfiguration

    Trait Implementations§

    §

    impl Debug for JaegerError

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Display for JaegerError

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Error for JaegerError

    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 From<JaegerError> for SubsystemError

    source§

    fn from(source: JaegerError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    Variants§

    §

    AlreadyLaunched

    §

    MissingConfiguration

    Trait Implementations§

    source§

    impl Debug for JaegerError

    source§

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

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

    impl Display for JaegerError

    source§

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

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

    impl Error for JaegerError

    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 From<JaegerError> for SubsystemError

    source§

    fn from(source: JaegerError) -> Self

    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 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_subsystem_types/enum.Span.html b/doc/polkadot_node_subsystem_types/enum.Span.html index 9c5f4eaa86e6..47af4379f742 100644 --- a/doc/polkadot_node_subsystem_types/enum.Span.html +++ b/doc/polkadot_node_subsystem_types/enum.Span.html @@ -1,43 +1,43 @@ -Span in polkadot_node_subsystem_types - Rust
    pub enum Span {
    +Span in polkadot_node_subsystem_types - Rust
    pub enum Span {
         Enabled(Span),
         Disabled,
     }
    Expand description

    A wrapper type for a span.

    Handles running with and without jaeger.

    Variants§

    §

    Enabled(Span)

    Running with jaeger being enabled.

    §

    Disabled

    Running with jaeger disabled.

    -

    Implementations§

    §

    impl Span

    pub fn new<I>(identifier: I, span_name: &'static str) -> Spanwhere +

    Implementations§

    source§

    impl Span

    source

    pub fn new<I>(identifier: I, span_name: &'static str) -> Spanwhere I: LazyIdent,

    Creates a new span builder based on anything that can be lazily evaluated to and identifier.

    Attention: The primary identifier will be used for identification and as such should be

    -

    pub fn from_encodable<I>(identifier: I, span_name: &'static str) -> Spanwhere +

    source

    pub fn from_encodable<I>(identifier: I, span_name: &'static str) -> Spanwhere I: Encode,

    Creates a new span builder based on an encodable type. The encoded bytes are then used to derive the true trace identifier.

    -

    pub fn child(&self, name: &str) -> Span

    Derive a child span from self.

    -

    pub fn with_trace_id(self, candidate_hash: CandidateHash) -> Span

    Attach a ‘traceID’ tag set to the decimal representation of the candidate hash.

    -

    pub fn with_string_tag<V>(self, tag: &'static str, val: V) -> Spanwhere - V: ToString,

    pub fn with_peer_id(self, peer: &PeerId) -> Span

    Attach a peer-id tag to the span.

    -

    pub fn with_optional_peer_id(self, peer: Option<&PeerId>) -> Span

    Attach a peer-id tag to the span when peer is present.

    -

    pub fn with_candidate(self, candidate_hash: CandidateHash) -> Span

    Attach a candidate hash to the span.

    -

    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. +

    source

    pub fn child(&self, name: &str) -> Span

    Derive a child span from self.

    +
    source

    pub fn with_trace_id(self, candidate_hash: CandidateHash) -> Span

    Attach a ‘traceID’ tag set to the decimal representation of the candidate hash.

    +
    source

    pub fn with_string_tag<V>(self, tag: &'static str, val: V) -> Spanwhere + V: ToString,

    source

    pub fn with_peer_id(self, peer: &PeerId) -> Span

    Attach a peer-id tag to the span.

    +
    source

    pub fn with_optional_peer_id(self, peer: Option<&PeerId>) -> Span

    Attach a peer-id tag to the span when peer is present.

    +
    source

    pub fn with_candidate(self, candidate_hash: CandidateHash) -> Span

    Attach a candidate hash to the span.

    +
    source

    pub fn with_para_id(self, para_id: Id) -> Span

    Attach a para-id to the span.

    +
    source

    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( +

    source

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

    source

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

    source

    pub fn with_relay_parent(self, relay_parent: H256) -> Span

    source

    pub fn with_claimed_validator_index( self, - 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.

    + claimed_validator_index: ValidatorIndex +) -> Span

    source

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

    source

    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 - V: Debug,

    pub fn add_follows_from(&mut self, other: &Span)

    Adds the FollowsFrom relationship to this span with respect to the given one.

    -

    pub fn add_pov(&mut self, pov: &PoV)

    Add a PoV hash meta tag with lazy hash evaluation, without consuming the span.

    -

    pub fn add_para_id(&mut self, para_id: Id)

    pub fn add_string_tag<V>(&mut self, tag: &'static str, val: V)where +

    source

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

    source

    pub fn with_string_fmt_debug_tag<V>(self, tag: &'static str, val: V) -> Spanwhere + V: Debug,

    source

    pub fn add_follows_from(&mut self, other: &Span)

    Adds the FollowsFrom relationship to this span with respect to the given one.

    +
    source

    pub fn add_pov(&mut self, pov: &PoV)

    Add a PoV hash meta tag with lazy hash evaluation, without consuming the span.

    +
    source

    pub fn add_para_id(&mut self, para_id: Id)

    source

    pub fn add_string_tag<V>(&mut self, tag: &'static str, val: V)where V: ToString,

    Add a string tag, without consuming the span.

    -

    pub fn add_string_fmt_debug_tag<V>(&mut self, tag: &'static str, val: V)where +

    source

    pub fn add_string_fmt_debug_tag<V>(&mut self, tag: &'static str, val: V)where V: Debug,

    Add a string tag, without consuming the span.

    -

    pub fn add_int_tag(&mut self, tag: &'static str, value: i64)

    pub fn add_uint_tag(&mut self, tag: &'static str, value: u64)

    pub const fn is_enabled(&self) -> bool

    Check whether jaeger is enabled +

    source

    pub fn add_int_tag(&mut self, tag: &'static str, value: i64)

    source

    pub fn add_uint_tag(&mut self, tag: &'static str, value: u64)

    source

    pub const fn is_enabled(&self) -> bool

    Check whether jaeger is enabled in order to avoid computational overhead.

    -

    pub fn trace_id(&self) -> Option<u128>

    Obtain the trace identifier for this set of spans.

    -

    Trait Implementations§

    §

    impl Debug for Span

    §

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

    Formats the value using the given formatter. Read more
    §

    impl From<Option<Span>> for Span

    §

    fn from(src: Option<Span>) -> Span

    Converts to this type from the input type.
    §

    impl From<Span> for Span

    §

    fn from(src: Span) -> Span

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Span

    §

    impl Send for Span

    §

    impl Sync for Span

    §

    impl Unpin for Span

    §

    impl UnwindSafe for Span

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    source

    pub fn trace_id(&self) -> Option<u128>

    Obtain the trace identifier for this set of spans.

    +

    Trait Implementations§

    source§

    impl Debug for Span

    source§

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

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

    impl From<Option<Span>> for Span

    source§

    fn from(src: Option<Span>) -> Span

    Converts to this type from the input type.
    source§

    impl From<Span> for Span

    source§

    fn from(src: Span) -> Span

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Span

    §

    impl Send for Span

    §

    impl Sync for Span

    §

    impl Unpin for Span

    §

    impl UnwindSafe for Span

    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_subsystem_types/enum.Stage.html b/doc/polkadot_node_subsystem_types/enum.Stage.html index 40b736dab0b8..fa3f5cec0fe8 100644 --- a/doc/polkadot_node_subsystem_types/enum.Stage.html +++ b/doc/polkadot_node_subsystem_types/enum.Stage.html @@ -1,4 +1,4 @@ -Stage in polkadot_node_subsystem_types - Rust

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    CandidateBacking

    §

    StatementDistribution

    §

    PoVDistribution

    §

    AvailabilityDistribution

    §

    AvailabilityRecovery

    §

    BitfieldDistribution

    §

    ApprovalChecking

    §

    ApprovalDistribution

    Trait Implementations§

    §

    impl Clone for Stage

    §

    fn clone(&self) -> Stage

    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
    §

    impl Debug for Stage

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq<Stage> for Stage

    §

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

    This method tests for self and other values to be equal, and is used +

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    CandidateBacking

    §

    StatementDistribution

    §

    PoVDistribution

    §

    AvailabilityDistribution

    §

    AvailabilityRecovery

    §

    BitfieldDistribution

    §

    ApprovalChecking

    §

    ApprovalDistribution

    Trait Implementations§

    source§

    impl Clone for Stage

    source§

    fn clone(&self) -> Stage

    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 Stage

    source§

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

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

    impl PartialEq<Stage> for Stage

    source§

    fn eq(&self, other: &Stage) -> 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.
    §

    impl Copy for Stage

    §

    impl Eq for Stage

    §

    impl StructuralEq for Stage

    §

    impl StructuralPartialEq for Stage

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Stage

    §

    impl Send for Stage

    §

    impl Sync for Stage

    §

    impl Unpin for Stage

    §

    impl UnwindSafe for Stage

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

    source§

    impl Copy for Stage

    source§

    impl Eq for Stage

    source§

    impl StructuralEq for Stage

    source§

    impl StructuralPartialEq for Stage

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Stage

    §

    impl Send for Stage

    §

    impl Sync for Stage

    §

    impl Unpin for Stage

    §

    impl UnwindSafe for Stage

    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_subsystem_types/fn.hash_to_trace_identifier.html b/doc/polkadot_node_subsystem_types/fn.hash_to_trace_identifier.html index 19c710ffbe6c..4633077fa8d7 100644 --- a/doc/polkadot_node_subsystem_types/fn.hash_to_trace_identifier.html +++ b/doc/polkadot_node_subsystem_types/fn.hash_to_trace_identifier.html @@ -1,3 +1,3 @@ -hash_to_trace_identifier in polkadot_node_subsystem_types - Rust
    pub fn hash_to_trace_identifier(hash: H256) -> u128
    Expand description

    A helper to convert the hash to the fixed size representation +hash_to_trace_identifier in polkadot_node_subsystem_types - Rust

    pub fn hash_to_trace_identifier(hash: H256) -> u128
    Expand description

    A helper to convert the hash to the fixed size representation needed for jaeger.

    \ No newline at end of file diff --git a/doc/polkadot_node_subsystem_types/index.html b/doc/polkadot_node_subsystem_types/index.html index da81428c01bd..41049fffe72c 100644 --- a/doc/polkadot_node_subsystem_types/index.html +++ b/doc/polkadot_node_subsystem_types/index.html @@ -2,7 +2,7 @@

    Node-side logic for Polkadot is mostly comprised of Subsystems, which are discrete components that communicate via message-passing. They are coordinated by an overseer, provided by a separate crate.

    -

    Re-exports

    • pub use polkadot_node_jaeger as jaeger;

    Modules

    • Error types for the subsystem requests.
    • Message types for the overseer and subsystems.

    Structs

    Enums

    • Stateful convenience wrapper around [mick_jaeger].
    • A description of an error during jaeger initialization.
    • The status of an activated leaf.
    • Signals sent by an overseer to a subsystem.
    • A wrapper type for a span.
    • A helper to annotate the stage with a numerical value +

    Re-exports

    Modules

    Structs

    Enums

    \ 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 5f4dc65072a1..43113718beac 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 4a92df7ac6e4..39c0a66816f6 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 6cc79e26403e..04735a771c73 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 a25f701992e8..cb0fce3bd7a2 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 e36720094529..152e0a973874 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 664b3ac7136a..db8dc7f5133f 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 c433f21681d7..fe1bd8e04967 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 782123af9ca6..02390feca8bb 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_pvd.html b/doc/polkadot_primitives_test_helpers/fn.dummy_pvd.html index a95ce00f8346..3b6820fa06a9 100644 --- a/doc/polkadot_primitives_test_helpers/fn.dummy_pvd.html +++ b/doc/polkadot_primitives_test_helpers/fn.dummy_pvd.html @@ -1,5 +1,5 @@ dummy_pvd in polkadot_primitives_test_helpers - Rust
    pub fn dummy_pvd(
         parent_head: HeadData,
         relay_parent_number: u32
    -) -> PersistedValidationData
    Expand description

    Create a meaningless persisted validation data.

    +) -> PersistedValidationData
    Expand description

    Create a meaningless persisted validation 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 fab0dba1f2e9..fcad22426be4 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 1463db5de6f8..3a7dd0d15c69 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_candidate.html b/doc/polkadot_primitives_test_helpers/fn.make_candidate.html index 71c0353966b1..e347cf7ff592 100644 --- a/doc/polkadot_primitives_test_helpers/fn.make_candidate.html +++ b/doc/polkadot_primitives_test_helpers/fn.make_candidate.html @@ -5,5 +5,5 @@ parent_head: HeadData, head_data: HeadData, validation_code_hash: ValidationCodeHash -) -> (CommittedCandidateReceipt, PersistedValidationData)
    Expand description

    Create a meaningless candidate, returning its receipt and PVD.

    +) -> (CommittedCandidateReceipt, PersistedValidationData)
    Expand description

    Create a meaningless candidate, returning its receipt and PVD.

    \ 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 3e71c22f09ec..81601c18e532 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 0d6d25a6aee8..b452d4b68a56 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 de7e89c46416..188e3372a0c9 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_metrics/struct.Counter.html b/doc/polkadot_runtime_metrics/struct.Counter.html index 11c9f5379aca..18b418dc8200 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 9f8def2eeede..cefaa8a4495c 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 fe0674526aef..c862c9e9ae5a 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_runtime_parachains/assigner/pallet/enum.Call.html b/doc/polkadot_runtime_parachains/assigner/pallet/enum.Call.html index 71a7523be36c..9cc9003231c8 100644 --- a/doc/polkadot_runtime_parachains/assigner/pallet/enum.Call.html +++ b/doc/polkadot_runtime_parachains/assigner/pallet/enum.Call.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 ()

    §

    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 + 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 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_runtime_parachains/assigner/pallet/struct.Pallet.html b/doc/polkadot_runtime_parachains/assigner/pallet/struct.Pallet.html index f738ac163944..7b0167ca33f3 100644 --- a/doc/polkadot_runtime_parachains/assigner/pallet/struct.Pallet.html +++ b/doc/polkadot_runtime_parachains/assigner/pallet/struct.Pallet.html @@ -1,13 +1,13 @@ Pallet in polkadot_runtime_parachains::assigner::pallet - Rust
    pub struct Pallet<T>(_);
    Expand description

    The Pallet struct, the main type that implements traits and standalone functions within the pallet.

    Trait Implementations§

    source§

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

    source§

    fn pop_assignment_for_core( - core_idx: CoreIndex, + core_idx: CoreIndex, concluded_para: Option<ParaId> -) -> Option<Assignment>

    Pops an Assignment from a specified CoreIndex

    -
    source§

    fn session_core_count() -> u32

    How many cores are allocated to this provider.
    source§

    fn push_assignment_for_core(core_idx: CoreIndex, assignment: Assignment)

    Push back an already popped assignment. Intended for provider implementations +) -> Option<Assignment>

    Pops an Assignment from a specified CoreIndex

    +
    source§

    fn session_core_count() -> u32

    How many cores are allocated to this provider.
    source§

    fn push_assignment_for_core(core_idx: CoreIndex, assignment: Assignment)

    Push back an already popped assignment. Intended for provider implementations that need to be able to keep track of assignments over session boundaries, such as the on demand assignment provider.
    source§

    fn get_provider_config( - core_idx: CoreIndex + core_idx: CoreIndex ) -> AssignmentProviderConfig<BlockNumberFor<T>>

    Returns a set of variables needed by the scheduler
    source§

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

    source§

    impl<T> Clone for Pallet<T>

    source§

    fn clone(&self) -> Self

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

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

    Performs copy-assignment from source. Read more
    source§

    impl<T> Debug for Pallet<T>

    source§

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

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

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

    §

    type CurrentStorageVersion = NoStorageVersionSet

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

    fn current_storage_version() -> Self::CurrentStorageVersion

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

    fn on_chain_storage_version() -> StorageVersion

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

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

    §

    fn on_initialize(_n: BlockNumber) -> Weight

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

    fn on_finalize(_n: BlockNumber)

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

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

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

    fn on_runtime_upgrade() -> Weight

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

    fn offchain_worker(_n: BlockNumber)

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

    fn integrity_test()

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

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

    source§

    fn integrity_test()

    See [Hooks::integrity_test].
    source§

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

    source§

    fn offchain_worker(n: BlockNumberFor<T>)

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

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

    source§

    fn on_finalize(n: BlockNumberFor<T>)

    See [Hooks::on_finalize].
    source§

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

    source§

    fn on_genesis()

    Something that should happen at genesis.
    source§

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

    source§

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

    See [Hooks::on_idle].
    source§

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

    source§

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

    See [Hooks::on_initialize].
    source§

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

    source§

    fn on_runtime_upgrade() -> Weight

    See [Hooks::on_runtime_upgrade].
    source§

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

    source§

    fn index() -> usize

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

    fn name() -> &'static str

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

    fn module_name() -> &'static str

    Name of the Rust module containing the pallet.
    source§

    fn crate_version() -> CrateVersion

    Version of the crate containing the pallet.
    source§

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

    source§

    fn count() -> usize

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

    fn infos() -> Vec<PalletInfoData>

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

    impl<T> PartialEq<Pallet<T>> for Pallet<T>

    source§

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

    This method tests for self and other values to be equal, and is used diff --git a/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/enum.Call.html b/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/enum.Call.html index ad2592269330..831732f5e501 100644 --- a/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/enum.Call.html +++ b/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/enum.Call.html @@ -62,8 +62,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 ()

    §

    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 + 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 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_runtime_parachains/assigner_on_demand/pallet/enum.Error.html b/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/enum.Error.html index e7c29964b1b1..60926fba7c75 100644 --- a/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/enum.Error.html +++ b/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/enum.Error.html @@ -43,8 +43,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

    §

    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 +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 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_runtime_parachains/assigner_on_demand/pallet/enum.Event.html b/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/enum.Event.html index 66a47ed399a1..ebeb42cc8d10 100644 --- a/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/enum.Event.html +++ b/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/enum.Event.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 ()

    §

    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 + 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 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_runtime_parachains/assigner_on_demand/pallet/fn.__type_value_for_on_demand_queue_on_empty.html b/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/fn.__type_value_for_on_demand_queue_on_empty.html index e385c879382e..4af452525548 100644 --- a/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/fn.__type_value_for_on_demand_queue_on_empty.html +++ b/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/fn.__type_value_for_on_demand_queue_on_empty.html @@ -1,4 +1,4 @@ __type_value_for_on_demand_queue_on_empty in polkadot_runtime_parachains::assigner_on_demand::pallet - Rust
    pub fn __type_value_for_on_demand_queue_on_empty<T: Config>(
         
    -) -> VecDeque<Assignment>
    Expand description

    Creates an empty on demand queue if one isn’t present in storage already.

    +) -> VecDeque<Assignment>
    Expand description

    Creates an empty on demand queue if one isn’t present in storage already.

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/struct.OnDemandQueueOnEmpty.html b/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/struct.OnDemandQueueOnEmpty.html index b8b117de91ea..e12c977f4bd4 100644 --- a/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/struct.OnDemandQueueOnEmpty.html +++ b/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/struct.OnDemandQueueOnEmpty.html @@ -1,5 +1,5 @@ OnDemandQueueOnEmpty in polkadot_runtime_parachains::assigner_on_demand::pallet - Rust
    pub struct OnDemandQueueOnEmpty<T>(_);
    Expand description

    Creates an empty on demand queue if one isn’t present in storage already.

    -

    Trait Implementations§

    source§

    impl<T: Config> Get<VecDeque<Assignment, Global>> for OnDemandQueueOnEmpty<T>

    source§

    fn get() -> VecDeque<Assignment>

    Return the current value.

    Auto Trait Implementations§

    Trait Implementations§

    source§

    impl<T: Config> Get<VecDeque<Assignment, Global>> for OnDemandQueueOnEmpty<T>

    source§

    fn get() -> VecDeque<Assignment>

    Return the current value.

    Auto Trait Implementations§

    §

    impl<T> RefUnwindSafe for OnDemandQueueOnEmpty<T>where T: RefUnwindSafe,

    §

    impl<T> Send for OnDemandQueueOnEmpty<T>where T: Send,

    §

    impl<T> Sync for OnDemandQueueOnEmpty<T>where T: Sync,

    §

    impl<T> Unpin for OnDemandQueueOnEmpty<T>where diff --git a/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/struct.Pallet.html b/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/struct.Pallet.html index 29ee55b65eda..a0a12687410b 100644 --- a/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/struct.Pallet.html +++ b/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/struct.Pallet.html @@ -50,7 +50,7 @@

    source§

    impl<T: Config> Pallet<T>where <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance: FixedPointOperand,

    source

    pub fn add_on_demand_assignment( - assignment: Assignment, + assignment: Assignment, location: QueuePushDirection ) -> Result<(), DispatchError>

    Adds an assignment to the on demand queue.

    Paramenters:

    @@ -67,12 +67,12 @@
  • InvalidParaId
  • QueueFull
  • -
    source

    pub fn get_queue() -> VecDeque<Assignment>

    Getter for the order queue.

    +
    source

    pub fn get_queue() -> VecDeque<Assignment>

    Getter for the order queue.

    source

    pub fn get_affinity_map(para_id: ParaId) -> Option<CoreAffinityCount>

    Getter for the affinity tracker.

    Trait Implementations§

    source§

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

    source§

    fn pop_assignment_for_core( - core_idx: CoreIndex, + core_idx: CoreIndex, previous_para: Option<ParaId> -) -> Option<Assignment>

    Take the next queued entry that is available for a given core index. +) -> Option<Assignment>

    Take the next queued entry that is available for a given core index. Invalidates and removes orders with a para_id that is not ParaLifecycle::Parathread but only in [0..P] range slice of the order queue, where P is the element that is removed from the order queue.

    @@ -82,7 +82,7 @@
  • previous_paraid: Which paraid was previously processed on the requested core. Is None if nothing was processed on the core.
  • -
    source§

    fn push_assignment_for_core(core_idx: CoreIndex, assignment: Assignment)

    Push an assignment back to the queue. +

    source§

    fn push_assignment_for_core(core_idx: CoreIndex, assignment: Assignment)

    Push an assignment back to the queue. Typically used on session boundaries. Parameters:

      @@ -90,7 +90,7 @@
    • assignment: The on demand assignment.
    source§

    fn session_core_count() -> u32

    How many cores are allocated to this provider.
    source§

    fn get_provider_config( - _core_idx: CoreIndex + _core_idx: CoreIndex ) -> AssignmentProviderConfig<BlockNumberFor<T>>

    Returns a set of variables needed by the scheduler
    source§

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

    source§

    impl<T> Clone for Pallet<T>

    source§

    fn clone(&self) -> Self

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

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

    Performs copy-assignment from source. Read more
    source§

    impl<T> Debug for Pallet<T>

    source§

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

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

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

    §

    type CurrentStorageVersion = NoStorageVersionSet

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

    fn current_storage_version() -> Self::CurrentStorageVersion

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

    fn on_chain_storage_version() -> StorageVersion

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

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

    source§

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

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

    fn on_finalize(_n: BlockNumber)

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

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

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

    fn on_runtime_upgrade() -> Weight

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

    fn offchain_worker(_n: BlockNumber)

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

    fn integrity_test()

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

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

    source§

    fn integrity_test()

    See [Hooks::integrity_test].
    source§

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

    source§

    fn offchain_worker(n: BlockNumberFor<T>)

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

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

    source§

    fn on_finalize(n: BlockNumberFor<T>)

    See [Hooks::on_finalize].
    source§

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

    source§

    fn on_genesis()

    Something that should happen at genesis.
    source§

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

    source§

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

    See [Hooks::on_idle].
    source§

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

    source§

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

    See [Hooks::on_initialize].
    source§

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

    source§

    fn on_runtime_upgrade() -> Weight

    See [Hooks::on_runtime_upgrade].
    source§

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

    source§

    fn index() -> usize

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

    fn name() -> &'static str

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

    fn module_name() -> &'static str

    Name of the Rust module containing the pallet.
    source§

    fn crate_version() -> CrateVersion

    Version of the crate containing the pallet.
    source§

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

    source§

    fn count() -> usize

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

    fn infos() -> Vec<PalletInfoData>

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

    impl<T> PartialEq<Pallet<T>> for Pallet<T>

    source§

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

    This method tests for self and other values to be equal, and is used diff --git a/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/type.OnDemandQueue.html b/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/type.OnDemandQueue.html index a81bed19e781..f7d18a5e1d43 100644 --- a/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/type.OnDemandQueue.html +++ b/doc/polkadot_runtime_parachains/assigner_on_demand/pallet/type.OnDemandQueue.html @@ -1,4 +1,4 @@ -OnDemandQueue in polkadot_runtime_parachains::assigner_on_demand::pallet - Rust
    pub type OnDemandQueue<T: Config> = StorageValue<_GeneratedPrefixForStorageOnDemandQueue<T>, VecDeque<Assignment>, ValueQuery, OnDemandQueueOnEmpty<T>>;
    Expand description

    The order storage entry. Uses a VecDeque to be able to push to the front of the +OnDemandQueue in polkadot_runtime_parachains::assigner_on_demand::pallet - Rust

    pub type OnDemandQueue<T: Config> = StorageValue<_GeneratedPrefixForStorageOnDemandQueue<T>, VecDeque<Assignment>, ValueQuery, OnDemandQueueOnEmpty<T>>;
    Expand description

    The order storage entry. Uses a VecDeque to be able to push to the front of the queue from the scheduler on session boundaries.

    Storage type is [StorageValue] with value type VecDeque < Assignment >.

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/assigner_on_demand/struct.CoreAffinityCount.html b/doc/polkadot_runtime_parachains/assigner_on_demand/struct.CoreAffinityCount.html index 7fa53b6a9279..35ce83edc12d 100644 --- a/doc/polkadot_runtime_parachains/assigner_on_demand/struct.CoreAffinityCount.html +++ b/doc/polkadot_runtime_parachains/assigner_on_demand/struct.CoreAffinityCount.html @@ -25,8 +25,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 ()

    §

    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 + 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 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_runtime_parachains/assigner_parachains/pallet/enum.Call.html b/doc/polkadot_runtime_parachains/assigner_parachains/pallet/enum.Call.html index d00d4c6c61ed..f48f9d3eeb54 100644 --- a/doc/polkadot_runtime_parachains/assigner_parachains/pallet/enum.Call.html +++ b/doc/polkadot_runtime_parachains/assigner_parachains/pallet/enum.Call.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 ()

    §

    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 + 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 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_runtime_parachains/assigner_parachains/pallet/struct.Pallet.html b/doc/polkadot_runtime_parachains/assigner_parachains/pallet/struct.Pallet.html index 75fd7edb3c54..5e579cbf1b86 100644 --- a/doc/polkadot_runtime_parachains/assigner_parachains/pallet/struct.Pallet.html +++ b/doc/polkadot_runtime_parachains/assigner_parachains/pallet/struct.Pallet.html @@ -1,14 +1,14 @@ Pallet in polkadot_runtime_parachains::assigner_parachains::pallet - Rust
    pub struct Pallet<T>(_);
    Expand description

    The Pallet struct, the main type that implements traits and standalone functions within the pallet.

    -

    Trait Implementations§

    source§

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

    source§

    fn push_assignment_for_core(_: CoreIndex, _: Assignment)

    Bulk assignment has no need to push the assignment back on a session change, +

    Trait Implementations§

    source§

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

    source§

    fn push_assignment_for_core(_: CoreIndex, _: Assignment)

    Bulk assignment has no need to push the assignment back on a session change, this is a no-op in the case of a bulk assignment slot.

    source§

    fn session_core_count() -> u32

    How many cores are allocated to this provider.
    source§

    fn pop_assignment_for_core( - core_idx: CoreIndex, + core_idx: CoreIndex, _concluded_para: Option<ParaId> -) -> Option<Assignment>

    Pops an [Assignment] from the provider for a specified [CoreIndex]. +) -> Option<Assignment>

    Pops an Assignment from the provider for a specified CoreIndex. The concluded_para field makes the caller report back to the provider -which ParaId it processed last on the supplied [CoreIndex].
    source§

    fn get_provider_config( - _core_idx: CoreIndex +which ParaId it processed last on the supplied CoreIndex.

    source§

    fn get_provider_config( + _core_idx: CoreIndex ) -> AssignmentProviderConfig<BlockNumberFor<T>>

    Returns a set of variables needed by the scheduler
    source§

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

    source§

    impl<T> Clone for Pallet<T>

    source§

    fn clone(&self) -> Self

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

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

    Performs copy-assignment from source. Read more
    source§

    impl<T> Debug for Pallet<T>

    source§

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

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

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

    §

    type CurrentStorageVersion = NoStorageVersionSet

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

    fn current_storage_version() -> Self::CurrentStorageVersion

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

    fn on_chain_storage_version() -> StorageVersion

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

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

    §

    fn on_initialize(_n: BlockNumber) -> Weight

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

    fn on_finalize(_n: BlockNumber)

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

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

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

    fn on_runtime_upgrade() -> Weight

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

    fn offchain_worker(_n: BlockNumber)

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

    fn integrity_test()

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

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

    source§

    fn integrity_test()

    See [Hooks::integrity_test].
    source§

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

    source§

    fn offchain_worker(n: BlockNumberFor<T>)

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

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

    source§

    fn on_finalize(n: BlockNumberFor<T>)

    See [Hooks::on_finalize].
    source§

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

    source§

    fn on_genesis()

    Something that should happen at genesis.
    source§

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

    source§

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

    See [Hooks::on_idle].
    source§

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

    source§

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

    See [Hooks::on_initialize].
    source§

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

    source§

    fn on_runtime_upgrade() -> Weight

    See [Hooks::on_runtime_upgrade].
    source§

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

    source§

    fn index() -> usize

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

    fn name() -> &'static str

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

    fn module_name() -> &'static str

    Name of the Rust module containing the pallet.
    source§

    fn crate_version() -> CrateVersion

    Version of the crate containing the pallet.
    source§

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

    source§

    fn count() -> usize

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

    fn infos() -> Vec<PalletInfoData>

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

    impl<T> PartialEq<Pallet<T>> for Pallet<T>

    source§

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

    This method tests for self and other values to be equal, and is used diff --git a/doc/polkadot_runtime_parachains/configuration/migration/v6/struct.V6HostConfiguration.html b/doc/polkadot_runtime_parachains/configuration/migration/v6/struct.V6HostConfiguration.html index 3d8fcf960769..b526f4b64c80 100644 --- a/doc/polkadot_runtime_parachains/configuration/migration/v6/struct.V6HostConfiguration.html +++ b/doc/polkadot_runtime_parachains/configuration/migration/v6/struct.V6HostConfiguration.html @@ -8,7 +8,7 @@ pub hrmp_max_message_num_per_candidate: u32, pub validation_upgrade_cooldown: BlockNumber, pub validation_upgrade_delay: BlockNumber, - pub async_backing_params: AsyncBackingParams, + pub async_backing_params: AsyncBackingParams, pub max_pov_size: u32, pub max_downward_message_size: u32, pub hrmp_max_parachain_outbound_channels: u32, @@ -20,7 +20,7 @@ pub hrmp_max_parachain_inbound_channels: u32, pub hrmp_max_parathread_inbound_channels: u32, pub hrmp_channel_max_message_size: u32, - pub executor_params: ExecutorParams, + pub executor_params: ExecutorParams, pub code_retention_period: BlockNumber, pub parathread_cores: u32, pub parathread_retries: u32, @@ -40,7 +40,7 @@ pub pvf_checking_enabled: bool, pub pvf_voting_ttl: SessionIndex, pub minimum_validation_upgrade_delay: BlockNumber, -
    }

    Fields§

    §max_code_size: u32§max_head_data_size: u32§max_upward_queue_count: u32§max_upward_queue_size: u32§max_upward_message_size: u32§max_upward_message_num_per_candidate: u32§hrmp_max_message_num_per_candidate: u32§validation_upgrade_cooldown: BlockNumber§validation_upgrade_delay: BlockNumber§async_backing_params: AsyncBackingParams§max_pov_size: u32§max_downward_message_size: u32§hrmp_max_parachain_outbound_channels: u32§hrmp_max_parathread_outbound_channels: u32§hrmp_sender_deposit: Balance§hrmp_recipient_deposit: Balance§hrmp_channel_max_capacity: u32§hrmp_channel_max_total_size: u32§hrmp_max_parachain_inbound_channels: u32§hrmp_max_parathread_inbound_channels: u32§hrmp_channel_max_message_size: u32§executor_params: ExecutorParams§code_retention_period: BlockNumber§parathread_cores: u32§parathread_retries: u32§group_rotation_frequency: BlockNumber§chain_availability_period: BlockNumber§thread_availability_period: BlockNumber§scheduling_lookahead: u32§max_validators_per_core: Option<u32>§max_validators: Option<u32>§dispute_period: SessionIndex§dispute_post_conclusion_acceptance_period: BlockNumber§no_show_slots: u32§n_delay_tranches: u32§zeroth_delay_tranche_width: u32§needed_approvals: u32§relay_vrf_modulo_samples: u32§pvf_checking_enabled: bool§pvf_voting_ttl: SessionIndex§minimum_validation_upgrade_delay: BlockNumber

    Trait Implementations§

    source§

    impl<BlockNumber: Clone> Clone for V6HostConfiguration<BlockNumber>

    source§

    fn clone(&self) -> V6HostConfiguration<BlockNumber>

    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<BlockNumber: Debug> Debug for V6HostConfiguration<BlockNumber>

    source§

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

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

    impl<BlockNumber> Decode for V6HostConfiguration<BlockNumber>where +

    }

    Fields§

    §max_code_size: u32§max_head_data_size: u32§max_upward_queue_count: u32§max_upward_queue_size: u32§max_upward_message_size: u32§max_upward_message_num_per_candidate: u32§hrmp_max_message_num_per_candidate: u32§validation_upgrade_cooldown: BlockNumber§validation_upgrade_delay: BlockNumber§async_backing_params: AsyncBackingParams§max_pov_size: u32§max_downward_message_size: u32§hrmp_max_parachain_outbound_channels: u32§hrmp_max_parathread_outbound_channels: u32§hrmp_sender_deposit: Balance§hrmp_recipient_deposit: Balance§hrmp_channel_max_capacity: u32§hrmp_channel_max_total_size: u32§hrmp_max_parachain_inbound_channels: u32§hrmp_max_parathread_inbound_channels: u32§hrmp_channel_max_message_size: u32§executor_params: ExecutorParams§code_retention_period: BlockNumber§parathread_cores: u32§parathread_retries: u32§group_rotation_frequency: BlockNumber§chain_availability_period: BlockNumber§thread_availability_period: BlockNumber§scheduling_lookahead: u32§max_validators_per_core: Option<u32>§max_validators: Option<u32>§dispute_period: SessionIndex§dispute_post_conclusion_acceptance_period: BlockNumber§no_show_slots: u32§n_delay_tranches: u32§zeroth_delay_tranche_width: u32§needed_approvals: u32§relay_vrf_modulo_samples: u32§pvf_checking_enabled: bool§pvf_voting_ttl: SessionIndex§minimum_validation_upgrade_delay: BlockNumber

    Trait Implementations§

    source§

    impl<BlockNumber: Clone> Clone for V6HostConfiguration<BlockNumber>

    source§

    fn clone(&self) -> V6HostConfiguration<BlockNumber>

    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<BlockNumber: Debug> Debug for V6HostConfiguration<BlockNumber>

    source§

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

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

    impl<BlockNumber> Decode for V6HostConfiguration<BlockNumber>where BlockNumber: Decode,

    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,8 +73,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 ()

    §

    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 + 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 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_runtime_parachains/configuration/migration/v7/struct.V7HostConfiguration.html b/doc/polkadot_runtime_parachains/configuration/migration/v7/struct.V7HostConfiguration.html index a4048931420b..91365d9eebc2 100644 --- a/doc/polkadot_runtime_parachains/configuration/migration/v7/struct.V7HostConfiguration.html +++ b/doc/polkadot_runtime_parachains/configuration/migration/v7/struct.V7HostConfiguration.html @@ -8,7 +8,7 @@ pub hrmp_max_message_num_per_candidate: u32, pub validation_upgrade_cooldown: BlockNumber, pub validation_upgrade_delay: BlockNumber, - pub async_backing_params: AsyncBackingParams, + pub async_backing_params: AsyncBackingParams, pub max_pov_size: u32, pub max_downward_message_size: u32, pub hrmp_max_parachain_outbound_channels: u32, @@ -20,7 +20,7 @@ pub hrmp_max_parachain_inbound_channels: u32, pub hrmp_max_parathread_inbound_channels: u32, pub hrmp_channel_max_message_size: u32, - pub executor_params: ExecutorParams, + pub executor_params: ExecutorParams, pub code_retention_period: BlockNumber, pub parathread_cores: u32, pub parathread_retries: u32, @@ -39,7 +39,7 @@ pub relay_vrf_modulo_samples: u32, pub pvf_voting_ttl: SessionIndex, pub minimum_validation_upgrade_delay: BlockNumber, -

    }

    Fields§

    §max_code_size: u32§max_head_data_size: u32§max_upward_queue_count: u32§max_upward_queue_size: u32§max_upward_message_size: u32§max_upward_message_num_per_candidate: u32§hrmp_max_message_num_per_candidate: u32§validation_upgrade_cooldown: BlockNumber§validation_upgrade_delay: BlockNumber§async_backing_params: AsyncBackingParams§max_pov_size: u32§max_downward_message_size: u32§hrmp_max_parachain_outbound_channels: u32§hrmp_max_parathread_outbound_channels: u32§hrmp_sender_deposit: Balance§hrmp_recipient_deposit: Balance§hrmp_channel_max_capacity: u32§hrmp_channel_max_total_size: u32§hrmp_max_parachain_inbound_channels: u32§hrmp_max_parathread_inbound_channels: u32§hrmp_channel_max_message_size: u32§executor_params: ExecutorParams§code_retention_period: BlockNumber§parathread_cores: u32§parathread_retries: u32§group_rotation_frequency: BlockNumber§chain_availability_period: BlockNumber§thread_availability_period: BlockNumber§scheduling_lookahead: u32§max_validators_per_core: Option<u32>§max_validators: Option<u32>§dispute_period: SessionIndex§dispute_post_conclusion_acceptance_period: BlockNumber§no_show_slots: u32§n_delay_tranches: u32§zeroth_delay_tranche_width: u32§needed_approvals: u32§relay_vrf_modulo_samples: u32§pvf_voting_ttl: SessionIndex§minimum_validation_upgrade_delay: BlockNumber

    Trait Implementations§

    source§

    impl<BlockNumber: Clone> Clone for V7HostConfiguration<BlockNumber>

    source§

    fn clone(&self) -> V7HostConfiguration<BlockNumber>

    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<BlockNumber: Debug> Debug for V7HostConfiguration<BlockNumber>

    source§

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

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

    impl<BlockNumber> Decode for V7HostConfiguration<BlockNumber>where +

    }

    Fields§

    §max_code_size: u32§max_head_data_size: u32§max_upward_queue_count: u32§max_upward_queue_size: u32§max_upward_message_size: u32§max_upward_message_num_per_candidate: u32§hrmp_max_message_num_per_candidate: u32§validation_upgrade_cooldown: BlockNumber§validation_upgrade_delay: BlockNumber§async_backing_params: AsyncBackingParams§max_pov_size: u32§max_downward_message_size: u32§hrmp_max_parachain_outbound_channels: u32§hrmp_max_parathread_outbound_channels: u32§hrmp_sender_deposit: Balance§hrmp_recipient_deposit: Balance§hrmp_channel_max_capacity: u32§hrmp_channel_max_total_size: u32§hrmp_max_parachain_inbound_channels: u32§hrmp_max_parathread_inbound_channels: u32§hrmp_channel_max_message_size: u32§executor_params: ExecutorParams§code_retention_period: BlockNumber§parathread_cores: u32§parathread_retries: u32§group_rotation_frequency: BlockNumber§chain_availability_period: BlockNumber§thread_availability_period: BlockNumber§scheduling_lookahead: u32§max_validators_per_core: Option<u32>§max_validators: Option<u32>§dispute_period: SessionIndex§dispute_post_conclusion_acceptance_period: BlockNumber§no_show_slots: u32§n_delay_tranches: u32§zeroth_delay_tranche_width: u32§needed_approvals: u32§relay_vrf_modulo_samples: u32§pvf_voting_ttl: SessionIndex§minimum_validation_upgrade_delay: BlockNumber

    Trait Implementations§

    source§

    impl<BlockNumber: Clone> Clone for V7HostConfiguration<BlockNumber>

    source§

    fn clone(&self) -> V7HostConfiguration<BlockNumber>

    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<BlockNumber: Debug> Debug for V7HostConfiguration<BlockNumber>

    source§

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

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

    impl<BlockNumber> Decode for V7HostConfiguration<BlockNumber>where BlockNumber: Decode,

    source§

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

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -72,8 +72,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 ()

    §

    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 + 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 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_runtime_parachains/configuration/pallet/dispatchables/fn.set_async_backing_params.html b/doc/polkadot_runtime_parachains/configuration/pallet/dispatchables/fn.set_async_backing_params.html index 4c371d2f0216..7e8e723012e1 100644 --- a/doc/polkadot_runtime_parachains/configuration/pallet/dispatchables/fn.set_async_backing_params.html +++ b/doc/polkadot_runtime_parachains/configuration/pallet/dispatchables/fn.set_async_backing_params.html @@ -1,4 +1,4 @@ -set_async_backing_params in polkadot_runtime_parachains::configuration::pallet::dispatchables - Rust
    pub fn set_async_backing_params<T: Config>(new: AsyncBackingParams)
    Expand description

    Set the asynchronous backing parameters.

    +set_async_backing_params in polkadot_runtime_parachains::configuration::pallet::dispatchables - Rust
    pub fn set_async_backing_params<T: Config>(new: AsyncBackingParams)
    Expand description

    Set the asynchronous backing parameters.

    Warning: Doc-Only

    This function is an automatically generated, and is doc-only, uncallable stub. See the real version in diff --git a/doc/polkadot_runtime_parachains/configuration/pallet/dispatchables/fn.set_executor_params.html b/doc/polkadot_runtime_parachains/configuration/pallet/dispatchables/fn.set_executor_params.html index 9cccaf0e3417..d71ad5292434 100644 --- a/doc/polkadot_runtime_parachains/configuration/pallet/dispatchables/fn.set_executor_params.html +++ b/doc/polkadot_runtime_parachains/configuration/pallet/dispatchables/fn.set_executor_params.html @@ -1,4 +1,4 @@ -set_executor_params in polkadot_runtime_parachains::configuration::pallet::dispatchables - Rust

    pub fn set_executor_params<T: Config>(new: ExecutorParams)
    Expand description

    Set PVF executor parameters.

    +set_executor_params in polkadot_runtime_parachains::configuration::pallet::dispatchables - Rust
    pub fn set_executor_params<T: Config>(new: ExecutorParams)
    Expand description

    Set PVF executor parameters.

    Warning: Doc-Only

    This function is an automatically generated, and is doc-only, uncallable stub. See the real version in diff --git a/doc/polkadot_runtime_parachains/configuration/pallet/enum.Call.html b/doc/polkadot_runtime_parachains/configuration/pallet/enum.Call.html index dd568c8615c0..f08036dadd4d 100644 --- a/doc/polkadot_runtime_parachains/configuration/pallet/enum.Call.html +++ b/doc/polkadot_runtime_parachains/configuration/pallet/enum.Call.html @@ -111,10 +111,10 @@ new: bool, }, set_async_backing_params { - new: AsyncBackingParams, + new: AsyncBackingParams, }, set_executor_params { - new: ExecutorParams, + new: ExecutorParams, }, set_on_demand_base_fee { new: Balance, @@ -170,8 +170,8 @@

    §

    set_pvf_voting_ttl

    Fields

    §new: SessionIndex
    §

    set_minimum_validation_upgrade_delay

    Fields

    §new: BlockNumberFor<T>
    §

    set_bypass_consistency_check

    Fields

    §new: bool
    §

    set_async_backing_params

    Fields

    §new: AsyncBackingParams
    §

    set_executor_params

    Fields

    §new: ExecutorParams
    §

    set_async_backing_params

    §

    set_executor_params

    Fields

    §

    set_on_demand_base_fee

    Fields

    §

    set_on_demand_fee_variability

    Fields

    §new: Perbill
    §

    set_on_demand_queue_max_size

    Fields

    §new: u32

    See Pallet::set_on_demand_queue_max_size.

    @@ -235,9 +235,9 @@ ) -> Self

    Create a call with the variant set_minimum_validation_upgrade_delay.

    source

    pub fn new_call_variant_set_bypass_consistency_check(new: bool) -> Self

    Create a call with the variant set_bypass_consistency_check.

    source

    pub fn new_call_variant_set_async_backing_params( - new: AsyncBackingParams + new: AsyncBackingParams ) -> Self

    Create a call with the variant set_async_backing_params.

    -
    source

    pub fn new_call_variant_set_executor_params(new: ExecutorParams) -> Self

    Create a call with the variant set_executor_params.

    +
    source

    pub fn new_call_variant_set_executor_params(new: ExecutorParams) -> Self

    Create a call with the variant set_executor_params.

    source

    pub fn new_call_variant_set_on_demand_base_fee(new: Balance) -> Self

    Create a call with the variant set_on_demand_base_fee.

    source

    pub fn new_call_variant_set_on_demand_fee_variability(new: Perbill) -> Self

    Create a call with the variant set_on_demand_fee_variability.

    source

    pub fn new_call_variant_set_on_demand_queue_max_size(new: u32) -> Self

    Create a call with the variant set_on_demand_queue_max_size.

    @@ -286,8 +286,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 ()

    §

    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 + 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 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_runtime_parachains/configuration/pallet/enum.Error.html b/doc/polkadot_runtime_parachains/configuration/pallet/enum.Error.html index e6d1a7676263..b0d776951f30 100644 --- a/doc/polkadot_runtime_parachains/configuration/pallet/enum.Error.html +++ b/doc/polkadot_runtime_parachains/configuration/pallet/enum.Error.html @@ -34,8 +34,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
    §

    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 +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 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_runtime_parachains/configuration/pallet/struct.Pallet.html b/doc/polkadot_runtime_parachains/configuration/pallet/struct.Pallet.html index e8e4de60acc8..9300cb537078 100644 --- a/doc/polkadot_runtime_parachains/configuration/pallet/struct.Pallet.html +++ b/doc/polkadot_runtime_parachains/configuration/pallet/struct.Pallet.html @@ -132,11 +132,11 @@ Use with caution.

    source

    pub fn set_async_backing_params( origin: OriginFor<T>, - new: AsyncBackingParams + new: AsyncBackingParams ) -> DispatchResult

    Set the asynchronous backing parameters.

    source

    pub fn set_executor_params( origin: OriginFor<T>, - new: ExecutorParams + new: ExecutorParams ) -> DispatchResult

    Set PVF executor parameters.

    source

    pub fn set_on_demand_base_fee( origin: OriginFor<T>, diff --git a/doc/polkadot_runtime_parachains/configuration/struct.HostConfiguration.html b/doc/polkadot_runtime_parachains/configuration/struct.HostConfiguration.html index 652dd91c5d46..253f01ac1450 100644 --- a/doc/polkadot_runtime_parachains/configuration/struct.HostConfiguration.html +++ b/doc/polkadot_runtime_parachains/configuration/struct.HostConfiguration.html @@ -8,7 +8,7 @@ pub hrmp_max_message_num_per_candidate: u32, pub validation_upgrade_cooldown: BlockNumber, pub validation_upgrade_delay: BlockNumber, - pub async_backing_params: AsyncBackingParams, + pub async_backing_params: AsyncBackingParams, pub max_pov_size: u32, pub max_downward_message_size: u32, pub hrmp_max_parachain_outbound_channels: u32, @@ -18,7 +18,7 @@ pub hrmp_channel_max_total_size: u32, pub hrmp_max_parachain_inbound_channels: u32, pub hrmp_channel_max_message_size: u32, - pub executor_params: ExecutorParams, + pub executor_params: ExecutorParams, pub code_retention_period: BlockNumber, pub on_demand_cores: u32, pub on_demand_retries: u32, @@ -81,7 +81,7 @@ invalid candidate produced with the new version of the code, then the relay-chain can revert [validation_upgrade_delay] many blocks back and still find the new code in the storage by hash.

    -

    §async_backing_params: AsyncBackingParams

    The parameters that are not essential, but still may be of interest for parachains. +

    §async_backing_params: AsyncBackingParams

    The parameters that are not essential, but still may be of interest for parachains. Asynchronous backing parameters.

    §max_pov_size: u32

    The maximum POV block size, in bytes.

    §max_downward_message_size: u32

    The maximum size of a message that can be put in a downward message queue.

    @@ -97,7 +97,7 @@
    §hrmp_max_parachain_inbound_channels: u32

    The maximum number of inbound HRMP channels a parachain is allowed to accept.

    §hrmp_channel_max_message_size: u32

    The maximum size of a message that could ever be put into an HRMP channel.

    This parameter affects the upper bound of size of CandidateCommitments.

    -
    §executor_params: ExecutorParams

    The executor environment parameters

    +
    §executor_params: ExecutorParams

    The executor environment parameters

    §code_retention_period: BlockNumber

    Parameters that will unlikely be needed by parachains. How long to keep code on-chain, in blocks. This should be sufficiently long that disputes have concluded.

    @@ -194,8 +194,8 @@
    Panics
    ) -> 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 ()

    §

    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 + 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 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_runtime_parachains/disputes/enum.DisputeLocation.html b/doc/polkadot_runtime_parachains/disputes/enum.DisputeLocation.html index 1c7c80d36736..8c4fe966d909 100644 --- a/doc/polkadot_runtime_parachains/disputes/enum.DisputeLocation.html +++ b/doc/polkadot_runtime_parachains/disputes/enum.DisputeLocation.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 ()

    §

    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 + 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 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_runtime_parachains/disputes/enum.DisputeResult.html b/doc/polkadot_runtime_parachains/disputes/enum.DisputeResult.html index abc15361e34f..b645a28a83c2 100644 --- a/doc/polkadot_runtime_parachains/disputes/enum.DisputeResult.html +++ b/doc/polkadot_runtime_parachains/disputes/enum.DisputeResult.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 ()

    §

    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 + 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 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_runtime_parachains/disputes/pallet/enum.Call.html b/doc/polkadot_runtime_parachains/disputes/pallet/enum.Call.html index 3822e228dfad..0ecff0e59f65 100644 --- a/doc/polkadot_runtime_parachains/disputes/pallet/enum.Call.html +++ b/doc/polkadot_runtime_parachains/disputes/pallet/enum.Call.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 ()

    §

    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 + 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 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_runtime_parachains/disputes/pallet/enum.Error.html b/doc/polkadot_runtime_parachains/disputes/pallet/enum.Error.html index 4f68562493ce..a743f5571df2 100644 --- a/doc/polkadot_runtime_parachains/disputes/pallet/enum.Error.html +++ b/doc/polkadot_runtime_parachains/disputes/pallet/enum.Error.html @@ -50,8 +50,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
    §

    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 +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 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_runtime_parachains/disputes/pallet/enum.Event.html b/doc/polkadot_runtime_parachains/disputes/pallet/enum.Event.html index 205422bb976c..78f9a8034f4a 100644 --- a/doc/polkadot_runtime_parachains/disputes/pallet/enum.Event.html +++ b/doc/polkadot_runtime_parachains/disputes/pallet/enum.Event.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 ()

    §

    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 + 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 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_runtime_parachains/disputes/pallet/struct.Pallet.html b/doc/polkadot_runtime_parachains/disputes/pallet/struct.Pallet.html index 2187560169f3..abbadf253fda 100644 --- a/doc/polkadot_runtime_parachains/disputes/pallet/struct.Pallet.html +++ b/doc/polkadot_runtime_parachains/disputes/pallet/struct.Pallet.html @@ -7,10 +7,10 @@

    Trait Implementations§

    source§

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

    source§

    impl<T> Clone for Pallet<T>

    source§

    fn clone(&self) -> Self

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

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

    Performs copy-assignment from source. Read more
    source§

    impl<T> Debug for Pallet<T>

    source§

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

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

    impl<T: Config> DisputesHandler<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where BlockNumberFor<T>: Ord,

    source§

    fn is_frozen() -> bool

    Whether the chain is frozen, if the chain is frozen it will not accept any new parachain blocks for backing or inclusion.
    source§

    fn filter_dispute_data( - set: DisputeStatementSet, + set: DisputeStatementSet, post_conclusion_acceptance_period: BlockNumberFor<T> -) -> Option<CheckedDisputeStatementSet>

    Filter a single dispute statement set. Read more
    source§

    fn process_checked_multi_dispute_data( - statement_sets: &CheckedMultiDisputeStatementSet +) -> Option<CheckedDisputeStatementSet>

    Filter a single dispute statement set. Read more
    source§

    fn process_checked_multi_dispute_data( + statement_sets: &CheckedMultiDisputeStatementSet ) -> Result<Vec<(SessionIndex, CandidateHash)>, DispatchError>

    Handle sets of dispute statements corresponding to 0 or more candidates. Returns a vector of freshly created disputes.
    source§

    fn note_included( session: SessionIndex, @@ -26,7 +26,7 @@ ) -> bool

    Whether the given candidate concluded invalid in a dispute with supermajority.
    source§

    fn initializer_initialize(now: BlockNumberFor<T>) -> Weight

    Called by the initializer to initialize the disputes pallet.
    source§

    fn initializer_finalize()

    Called by the initializer to finalize the disputes pallet.
    source§

    fn initializer_on_new_session( notification: &SessionChangeNotification<BlockNumberFor<T>> )

    Called by the initializer to note that a new session has started.
    source§

    fn deduplicate_and_sort_dispute_data( - statement_sets: &mut MultiDisputeStatementSet + statement_sets: &mut MultiDisputeStatementSet ) -> Result<(), ()>

    Remove dispute statement duplicates and sort the non-duplicates based on local (lower indicies) vs remotes (higher indices) and age (older with lower indices). Read more
    source§

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

    §

    type CurrentStorageVersion = StorageVersion

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

    fn current_storage_version() -> Self::CurrentStorageVersion

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

    fn on_chain_storage_version() -> StorageVersion

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

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

    §

    fn on_initialize(_n: BlockNumber) -> Weight

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

    fn on_finalize(_n: BlockNumber)

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

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

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

    fn on_runtime_upgrade() -> Weight

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

    fn offchain_worker(_n: BlockNumber)

    Implementing this function on a pallet allows you to perform long-running tasks that are diff --git a/doc/polkadot_runtime_parachains/disputes/slashing/pallet/dispatchables/fn.report_dispute_lost_unsigned.html b/doc/polkadot_runtime_parachains/disputes/slashing/pallet/dispatchables/fn.report_dispute_lost_unsigned.html index cc3284832986..d10ae57be608 100644 --- a/doc/polkadot_runtime_parachains/disputes/slashing/pallet/dispatchables/fn.report_dispute_lost_unsigned.html +++ b/doc/polkadot_runtime_parachains/disputes/slashing/pallet/dispatchables/fn.report_dispute_lost_unsigned.html @@ -1,5 +1,5 @@ report_dispute_lost_unsigned in polkadot_runtime_parachains::disputes::slashing::pallet::dispatchables - Rust
    pub fn report_dispute_lost_unsigned<T: Config>(
    -    dispute_proof: Box<DisputeProof>,
    +    dispute_proof: Box<DisputeProof>,
         key_owner_proof: T::KeyOwnerProof
     )
    Expand description

    Warning: Doc-Only

    This function is an automatically generated, and is doc-only, uncallable diff --git a/doc/polkadot_runtime_parachains/disputes/slashing/pallet/enum.Call.html b/doc/polkadot_runtime_parachains/disputes/slashing/pallet/enum.Call.html index 1fbced863391..42605e064cef 100644 --- a/doc/polkadot_runtime_parachains/disputes/slashing/pallet/enum.Call.html +++ b/doc/polkadot_runtime_parachains/disputes/slashing/pallet/enum.Call.html @@ -1,13 +1,13 @@ Call in polkadot_runtime_parachains::disputes::slashing::pallet - Rust

    pub enum Call<T: Config> {
         report_dispute_lost_unsigned {
    -        dispute_proof: Box<DisputeProof>,
    +        dispute_proof: Box<DisputeProof>,
             key_owner_proof: T::KeyOwnerProof,
         },
         // some variants omitted
     }
    Expand description

    Contains a variant per dispatchable extrinsic that this pallet has.

    -

    Variants§

    §

    report_dispute_lost_unsigned

    Fields

    §dispute_proof: Box<DisputeProof>
    §key_owner_proof: T::KeyOwnerProof

    Variants§

    §

    report_dispute_lost_unsigned

    Fields

    §dispute_proof: Box<DisputeProof>
    §key_owner_proof: T::KeyOwnerProof

    Implementations§

    source§

    impl<T: Config> Call<T>

    source

    pub fn new_call_variant_report_dispute_lost_unsigned( - dispute_proof: Box<DisputeProof>, + dispute_proof: Box<DisputeProof>, key_owner_proof: T::KeyOwnerProof ) -> Self

    Create a call with the variant report_dispute_lost_unsigned.

    Trait Implementations§

    source§

    impl<T: Config> Clone for Call<T>

    source§

    fn clone(&self) -> Self

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

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

    Performs copy-assignment from source. Read more
    source§

    impl<T: Config> Debug for Call<T>

    source§

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

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

    impl<T: Config> Decode for Call<T>

    source§

    fn decode<__CodecInputEdqy: Input>( @@ -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 ()

    §

    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 + 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 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_runtime_parachains/disputes/slashing/pallet/enum.Error.html b/doc/polkadot_runtime_parachains/disputes/slashing/pallet/enum.Error.html index e9b899bdd1fe..a3fb79ae09d2 100644 --- a/doc/polkadot_runtime_parachains/disputes/slashing/pallet/enum.Error.html +++ b/doc/polkadot_runtime_parachains/disputes/slashing/pallet/enum.Error.html @@ -45,8 +45,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
    §

    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 +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 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_runtime_parachains/disputes/slashing/pallet/struct.Pallet.html b/doc/polkadot_runtime_parachains/disputes/slashing/pallet/struct.Pallet.html index 0a8c1d8c670d..6273d775167d 100644 --- a/doc/polkadot_runtime_parachains/disputes/slashing/pallet/struct.Pallet.html +++ b/doc/polkadot_runtime_parachains/disputes/slashing/pallet/struct.Pallet.html @@ -2,7 +2,7 @@ functions within the pallet.

    Implementations§

    source§

    impl<T: Config> Pallet<T>

    source

    pub fn report_dispute_lost_unsigned( origin: OriginFor<T>, - dispute_proof: Box<DisputeProof>, + dispute_proof: Box<DisputeProof>, key_owner_proof: T::KeyOwnerProof ) -> DispatchResultWithPostInfo

    source§

    impl<T: Config> Pallet<T>

    Methods for the ValidateUnsigned implementation:

    It restricts calls to report_dispute_lost_unsigned to local calls (i.e. diff --git a/doc/polkadot_runtime_parachains/disputes/slashing/pallet/trait.Config.html b/doc/polkadot_runtime_parachains/disputes/slashing/pallet/trait.Config.html index e559ea193c70..8b9c8db31e18 100644 --- a/doc/polkadot_runtime_parachains/disputes/slashing/pallet/trait.Config.html +++ b/doc/polkadot_runtime_parachains/disputes/slashing/pallet/trait.Config.html @@ -1,7 +1,7 @@ Config in polkadot_runtime_parachains::disputes::slashing::pallet - Rust

    pub trait Config: Config + Config {
         type KeyOwnerProof: Parameter + GetSessionNumber + GetValidatorCount;
         type KeyOwnerIdentification: Parameter;
    -    type KeyOwnerProofSystem: KeyOwnerProofSystem<(KeyTypeId, ValidatorId), Proof = Self::KeyOwnerProof, IdentificationTuple = Self::KeyOwnerIdentification>;
    +    type KeyOwnerProofSystem: KeyOwnerProofSystem<(KeyTypeId, ValidatorId), Proof = Self::KeyOwnerProof, IdentificationTuple = Self::KeyOwnerIdentification>;
         type HandleReports: HandleReports<Self>;
         type WeightInfo: WeightInfo;
         type BenchmarkingConfig: BenchmarkingConfiguration;
    @@ -14,7 +14,7 @@
     The proof must include the session index and validator count of the
     session at which the offence occurred.

    source

    type KeyOwnerIdentification: Parameter

    The identification of a key owner, used when reporting slashes.

    -
    source

    type KeyOwnerProofSystem: KeyOwnerProofSystem<(KeyTypeId, ValidatorId), Proof = Self::KeyOwnerProof, IdentificationTuple = Self::KeyOwnerIdentification>

    A system for proving ownership of keys, i.e. that a given key was +

    source

    type KeyOwnerProofSystem: KeyOwnerProofSystem<(KeyTypeId, ValidatorId), Proof = Self::KeyOwnerProof, IdentificationTuple = Self::KeyOwnerIdentification>

    A system for proving ownership of keys, i.e. that a given key was part of a validator set, needed for validating slashing reports.

    source

    type HandleReports: HandleReports<Self>

    The slashing report handling subsystem, defines methods to report an offence (after the slashing report has been validated) and for diff --git a/doc/polkadot_runtime_parachains/disputes/slashing/struct.SlashValidatorsForDisputes.html b/doc/polkadot_runtime_parachains/disputes/slashing/struct.SlashValidatorsForDisputes.html index e0eb12171240..901141c5f0dc 100644 --- a/doc/polkadot_runtime_parachains/disputes/slashing/struct.SlashValidatorsForDisputes.html +++ b/doc/polkadot_runtime_parachains/disputes/slashing/struct.SlashValidatorsForDisputes.html @@ -3,14 +3,14 @@ T: Config<KeyOwnerIdentification = IdentificationTuple<T>>,

    source§

    fn punish_for_invalid( session_index: SessionIndex, candidate_hash: CandidateHash, - losers: impl IntoIterator<Item = ValidatorIndex>, - backers: impl IntoIterator<Item = ValidatorIndex> + losers: impl IntoIterator<Item = ValidatorIndex>, + backers: impl IntoIterator<Item = ValidatorIndex> )

    Punish a series of validators who were for an invalid parablock. This is expected to be a major punishment.
    source§

    fn punish_against_valid( _session_index: SessionIndex, _candidate_hash: CandidateHash, - _losers: impl IntoIterator<Item = ValidatorIndex>, - _backers: impl IntoIterator<Item = ValidatorIndex> + _losers: impl IntoIterator<Item = ValidatorIndex>, + _backers: impl IntoIterator<Item = ValidatorIndex> )

    Punish a series of validators who were against a valid parablock. This is expected to be a minor punishment.
    source§

    fn initializer_initialize(now: BlockNumberFor<T>) -> Weight

    Called by the initializer to initialize the slashing pallet.
    source§

    fn initializer_finalize()

    Called by the initializer to finalize the slashing pallet.
    source§

    fn initializer_on_new_session(session_index: SessionIndex)

    Called by the initializer to note that a new session has started.

    Auto Trait Implementations§

    §

    impl<C> RefUnwindSafe for SlashValidatorsForDisputes<C>where C: RefUnwindSafe,

    §

    impl<C> Send for SlashValidatorsForDisputes<C>where diff --git a/doc/polkadot_runtime_parachains/disputes/slashing/struct.SlashingOffence.html b/doc/polkadot_runtime_parachains/disputes/slashing/struct.SlashingOffence.html index 47764e6627f1..06c15919c72f 100644 --- a/doc/polkadot_runtime_parachains/disputes/slashing/struct.SlashingOffence.html +++ b/doc/polkadot_runtime_parachains/disputes/slashing/struct.SlashingOffence.html @@ -1,19 +1,19 @@ SlashingOffence in polkadot_runtime_parachains::disputes::slashing - Rust
    pub struct SlashingOffence<KeyOwnerIdentification> {
         pub validator_set_count: ValidatorSetCount,
    -    pub time_slot: DisputesTimeSlot,
    +    pub time_slot: DisputesTimeSlot,
         pub offenders: Vec<KeyOwnerIdentification>,
         pub slash_fraction: Perbill,
    -    pub kind: SlashingOffenceKind,
    +    pub kind: SlashingOffenceKind,
     }
    Expand description

    An offence that is filed when a series of validators lost a dispute.

    Fields§

    §validator_set_count: ValidatorSetCount

    The size of the validator set in that session.

    -
    §time_slot: DisputesTimeSlot

    Should be unique per dispute.

    +
    §time_slot: DisputesTimeSlot

    Should be unique per dispute.

    §offenders: Vec<KeyOwnerIdentification>

    Staking information about the validators that lost the dispute needed for slashing.

    §slash_fraction: Perbill

    What fraction of the total exposure that should be slashed for this offence.

    -
    §kind: SlashingOffenceKind

    Whether the candidate was valid or invalid.

    +
    §kind: SlashingOffenceKind

    Whether the candidate was valid or invalid.

    Trait Implementations§

    source§

    impl<KeyOwnerIdentification: Clone> Clone for SlashingOffence<KeyOwnerIdentification>

    source§

    fn clone(&self) -> SlashingOffence<KeyOwnerIdentification>

    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<Offender> Offence<Offender> for SlashingOffence<Offender>where - Offender: Clone,

    source§

    const ID: Kind = _

    Identifier which is unique for this kind of an offence.
    §

    type TimeSlot = DisputesTimeSlot

    A type that represents a point in time on an abstract timescale. Read more
    source§

    fn offenders(&self) -> Vec<Offender>

    The list of all offenders involved in this incident. Read more
    source§

    fn session_index(&self) -> SessionIndex

    The session index that is used for querying the validator set for the slash_fraction + Offender: Clone,

    source§

    const ID: Kind = _

    Identifier which is unique for this kind of an offence.
    §

    type TimeSlot = DisputesTimeSlot

    A type that represents a point in time on an abstract timescale. Read more
    source§

    fn offenders(&self) -> Vec<Offender>

    The list of all offenders involved in this incident. Read more
    source§

    fn session_index(&self) -> SessionIndex

    The session index that is used for querying the validator set for the slash_fraction function. Read more
    source§

    fn validator_set_count(&self) -> ValidatorSetCount

    Return a validator set count at the time when the offence took place.
    source§

    fn time_slot(&self) -> Self::TimeSlot

    A point in time when this offence happened. Read more
    source§

    fn disable_strategy(&self) -> DisableStrategy

    In which cases this offence needs to disable offenders until the next era starts.
    source§

    fn slash_fraction(&self, _offenders: u32) -> Perbill

    A slash fraction of the total exposure that should be slashed for this particular offence for the offenders_count that happened at a singular TimeSlot. Read more
    source§

    impl<KeyOwnerIdentification: PartialEq> PartialEq<SlashingOffence<KeyOwnerIdentification>> for SlashingOffence<KeyOwnerIdentification>

    source§

    fn eq(&self, other: &SlashingOffence<KeyOwnerIdentification>) -> bool

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

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

    This method tests for !=. The default implementation is almost always diff --git a/doc/polkadot_runtime_parachains/disputes/slashing/struct.SlashingReportHandler.html b/doc/polkadot_runtime_parachains/disputes/slashing/struct.SlashingReportHandler.html index 36b818caf2b2..11fb83185f10 100644 --- a/doc/polkadot_runtime_parachains/disputes/slashing/struct.SlashingReportHandler.html +++ b/doc/polkadot_runtime_parachains/disputes/slashing/struct.SlashingReportHandler.html @@ -10,10 +10,10 @@ offence: SlashingOffence<T::KeyOwnerIdentification> ) -> Result<(), OffenceError>
    Report an offence.
    source§

    fn is_known_offence( offenders: &[T::KeyOwnerIdentification], - time_slot: &DisputesTimeSlot + time_slot: &DisputesTimeSlot ) -> bool

    Returns true if the offenders at the given time slot has already been reported.
    source§

    fn submit_unsigned_slashing_report( - dispute_proof: DisputeProof, + dispute_proof: DisputeProof, key_owner_proof: <T as Config>::KeyOwnerProof ) -> Result<(), TryRuntimeError>

    Create and dispatch a slashing report extrinsic. This should be called offchain.

    Auto Trait Implementations§

    §

    impl<I, R, L> RefUnwindSafe for SlashingReportHandler<I, R, L>where diff --git a/doc/polkadot_runtime_parachains/disputes/slashing/trait.HandleReports.html b/doc/polkadot_runtime_parachains/disputes/slashing/trait.HandleReports.html index e534b16e6d6f..e5085c49a08e 100644 --- a/doc/polkadot_runtime_parachains/disputes/slashing/trait.HandleReports.html +++ b/doc/polkadot_runtime_parachains/disputes/slashing/trait.HandleReports.html @@ -7,10 +7,10 @@ ) -> Result<(), OffenceError>; fn is_known_offence( offenders: &[T::KeyOwnerIdentification], - time_slot: &DisputesTimeSlot + time_slot: &DisputesTimeSlot ) -> bool; fn submit_unsigned_slashing_report( - dispute_proof: DisputeProof, + dispute_proof: DisputeProof, key_owner_proof: T::KeyOwnerProof ) -> Result<(), TryRuntimeError>; }
    Expand description

    A trait that defines methods to report an offence (after the slashing report @@ -24,11 +24,11 @@ ) -> Result<(), OffenceError>

    Report an offence.

    source

    fn is_known_offence( offenders: &[T::KeyOwnerIdentification], - time_slot: &DisputesTimeSlot + time_slot: &DisputesTimeSlot ) -> bool

    Returns true if the offenders at the given time slot has already been reported.

    source

    fn submit_unsigned_slashing_report( - dispute_proof: DisputeProof, + dispute_proof: DisputeProof, key_owner_proof: T::KeyOwnerProof ) -> Result<(), TryRuntimeError>

    Create and dispatch a slashing report extrinsic. This should be called offchain.

    @@ -36,9 +36,9 @@ _offence: SlashingOffence<T::KeyOwnerIdentification> ) -> Result<(), OffenceError>
    source§

    fn is_known_offence( _offenders: &[T::KeyOwnerIdentification], - _time_slot: &DisputesTimeSlot + _time_slot: &DisputesTimeSlot ) -> bool

    source§

    fn submit_unsigned_slashing_report( - _dispute_proof: DisputeProof, + _dispute_proof: DisputeProof, _key_owner_proof: T::KeyOwnerProof ) -> Result<(), TryRuntimeError>

    Implementors§

    source§

    impl<T, R, L> HandleReports<T> for SlashingReportHandler<T::KeyOwnerIdentification, R, L>where T: Config + SendTransactionTypes<Call<T>>, diff --git a/doc/polkadot_runtime_parachains/disputes/trait.DisputesHandler.html b/doc/polkadot_runtime_parachains/disputes/trait.DisputesHandler.html index 77db86e02302..8545ab037b74 100644 --- a/doc/polkadot_runtime_parachains/disputes/trait.DisputesHandler.html +++ b/doc/polkadot_runtime_parachains/disputes/trait.DisputesHandler.html @@ -2,11 +2,11 @@ // Required methods fn is_frozen() -> bool; fn filter_dispute_data( - statement_set: DisputeStatementSet, + statement_set: DisputeStatementSet, post_conclusion_acceptance_period: BlockNumber - ) -> Option<CheckedDisputeStatementSet>; + ) -> Option<CheckedDisputeStatementSet>; fn process_checked_multi_dispute_data( - statement_sets: &CheckedMultiDisputeStatementSet + statement_sets: &CheckedMultiDisputeStatementSet ) -> Result<Vec<(SessionIndex, CandidateHash)>, DispatchError>; fn note_included( session: SessionIndex, @@ -29,7 +29,7 @@ // Provided method fn deduplicate_and_sort_dispute_data( - statement_sets: &mut MultiDisputeStatementSet + statement_sets: &mut MultiDisputeStatementSet ) -> Result<(), ()> { ... } }
    Expand description

    Hook into disputes handling.

    Allows decoupling parachains handling from disputes so that it can @@ -37,13 +37,13 @@

    Required Methods§

    source

    fn is_frozen() -> bool

    Whether the chain is frozen, if the chain is frozen it will not accept any new parachain blocks for backing or inclusion.

    source

    fn filter_dispute_data( - statement_set: DisputeStatementSet, + statement_set: DisputeStatementSet, post_conclusion_acceptance_period: BlockNumber -) -> Option<CheckedDisputeStatementSet>

    Filter a single dispute statement set.

    +) -> Option<CheckedDisputeStatementSet>

    Filter a single dispute statement set.

    Used in cases where more granular control is required, i.e. when accounting for maximum block weight.

    source

    fn process_checked_multi_dispute_data( - statement_sets: &CheckedMultiDisputeStatementSet + statement_sets: &CheckedMultiDisputeStatementSet ) -> Result<Vec<(SessionIndex, CandidateHash)>, DispatchError>

    Handle sets of dispute statements corresponding to 0 or more candidates. Returns a vector of freshly created disputes.

    source

    fn note_included( @@ -66,19 +66,19 @@ notification: &SessionChangeNotification<BlockNumber> )

    Called by the initializer to note that a new session has started.

    Provided Methods§

    source

    fn deduplicate_and_sort_dispute_data( - statement_sets: &mut MultiDisputeStatementSet + statement_sets: &mut MultiDisputeStatementSet ) -> Result<(), ()>

    Remove dispute statement duplicates and sort the non-duplicates based on local (lower indicies) vs remotes (higher indices) and age (older with lower indices).

    Returns Ok(()) if no duplicates were present, Err(()) otherwise.

    Unsorted data does not change the return value, while the node side is generally expected to pass them in sorted.

    Implementations on Foreign Types§

    source§

    impl<BlockNumber: Ord> DisputesHandler<BlockNumber> for ()

    source§

    fn is_frozen() -> bool

    source§

    fn deduplicate_and_sort_dispute_data( - statement_sets: &mut MultiDisputeStatementSet + statement_sets: &mut MultiDisputeStatementSet ) -> Result<(), ()>

    source§

    fn filter_dispute_data( - _set: DisputeStatementSet, + _set: DisputeStatementSet, _post_conclusion_acceptance_period: BlockNumber -) -> Option<CheckedDisputeStatementSet>

    source§

    fn process_checked_multi_dispute_data( - _statement_sets: &CheckedMultiDisputeStatementSet +) -> Option<CheckedDisputeStatementSet>

    source§

    fn process_checked_multi_dispute_data( + _statement_sets: &CheckedMultiDisputeStatementSet ) -> Result<Vec<(SessionIndex, CandidateHash)>, DispatchError>

    source§

    fn note_included( _session: SessionIndex, _candidate_hash: CandidateHash, diff --git a/doc/polkadot_runtime_parachains/disputes/trait.RewardValidators.html b/doc/polkadot_runtime_parachains/disputes/trait.RewardValidators.html index 42470d2a931d..daaa9dce727c 100644 --- a/doc/polkadot_runtime_parachains/disputes/trait.RewardValidators.html +++ b/doc/polkadot_runtime_parachains/disputes/trait.RewardValidators.html @@ -2,15 +2,15 @@ // Required method fn reward_dispute_statement( session: SessionIndex, - validators: impl IntoIterator<Item = ValidatorIndex> + validators: impl IntoIterator<Item = ValidatorIndex> ); }
    Expand description

    Reward hooks for disputes.

    Required Methods§

    source

    fn reward_dispute_statement( session: SessionIndex, - validators: impl IntoIterator<Item = ValidatorIndex> + validators: impl IntoIterator<Item = ValidatorIndex> )

    Implementations on Foreign Types§

    source§

    impl RewardValidators for ()

    source§

    fn reward_dispute_statement( _: SessionIndex, - _: impl IntoIterator<Item = ValidatorIndex> + _: impl IntoIterator<Item = ValidatorIndex> )

    Implementors§

    source§

    impl<C> RewardValidators for RewardValidatorsWithEraPoints<C>where C: Config + Config, C::ValidatorSet: ValidatorSet<C::AccountId, ValidatorId = C::AccountId>,

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/disputes/trait.SlashingHandler.html b/doc/polkadot_runtime_parachains/disputes/trait.SlashingHandler.html index 184ed1e5de0b..f4906b803a6b 100644 --- a/doc/polkadot_runtime_parachains/disputes/trait.SlashingHandler.html +++ b/doc/polkadot_runtime_parachains/disputes/trait.SlashingHandler.html @@ -3,14 +3,14 @@ fn punish_for_invalid( session: SessionIndex, candidate_hash: CandidateHash, - losers: impl IntoIterator<Item = ValidatorIndex>, - backers: impl IntoIterator<Item = ValidatorIndex> + losers: impl IntoIterator<Item = ValidatorIndex>, + backers: impl IntoIterator<Item = ValidatorIndex> ); fn punish_against_valid( session: SessionIndex, candidate_hash: CandidateHash, - losers: impl IntoIterator<Item = ValidatorIndex>, - backers: impl IntoIterator<Item = ValidatorIndex> + losers: impl IntoIterator<Item = ValidatorIndex>, + backers: impl IntoIterator<Item = ValidatorIndex> ); fn initializer_initialize(now: BlockNumber) -> Weight; fn initializer_finalize(); @@ -19,15 +19,15 @@

    Required Methods§

    source

    fn punish_for_invalid( session: SessionIndex, candidate_hash: CandidateHash, - losers: impl IntoIterator<Item = ValidatorIndex>, - backers: impl IntoIterator<Item = ValidatorIndex> + losers: impl IntoIterator<Item = ValidatorIndex>, + backers: impl IntoIterator<Item = ValidatorIndex> )

    Punish a series of validators who were for an invalid parablock. This is expected to be a major punishment.

    source

    fn punish_against_valid( session: SessionIndex, candidate_hash: CandidateHash, - losers: impl IntoIterator<Item = ValidatorIndex>, - backers: impl IntoIterator<Item = ValidatorIndex> + losers: impl IntoIterator<Item = ValidatorIndex>, + backers: impl IntoIterator<Item = ValidatorIndex> )

    Punish a series of validators who were against a valid parablock. This is expected to be a minor punishment.

    source

    fn initializer_initialize(now: BlockNumber) -> Weight

    Called by the initializer to initialize the slashing pallet.

    @@ -36,12 +36,12 @@

    Implementations on Foreign Types§

    source§

    impl<BlockNumber> SlashingHandler<BlockNumber> for ()

    source§

    fn punish_for_invalid( _: SessionIndex, _: CandidateHash, - _: impl IntoIterator<Item = ValidatorIndex>, - _: impl IntoIterator<Item = ValidatorIndex> + _: impl IntoIterator<Item = ValidatorIndex>, + _: impl IntoIterator<Item = ValidatorIndex> )

    source§

    fn punish_against_valid( _: SessionIndex, _: CandidateHash, - _: impl IntoIterator<Item = ValidatorIndex>, - _: impl IntoIterator<Item = ValidatorIndex> + _: impl IntoIterator<Item = ValidatorIndex>, + _: impl IntoIterator<Item = ValidatorIndex> )

    source§

    fn initializer_initialize(_now: BlockNumber) -> Weight

    source§

    fn initializer_finalize()

    source§

    fn initializer_on_new_session(_: SessionIndex)

    Implementors§

    source§

    impl<T> SlashingHandler<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for SlashValidatorsForDisputes<Pallet<T>>where T: Config<KeyOwnerIdentification = IdentificationTuple<T>>,

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/dmp/pallet/enum.Call.html b/doc/polkadot_runtime_parachains/dmp/pallet/enum.Call.html index d1be649ebf90..263306adabee 100644 --- a/doc/polkadot_runtime_parachains/dmp/pallet/enum.Call.html +++ b/doc/polkadot_runtime_parachains/dmp/pallet/enum.Call.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 ()

    §

    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 + 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 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_runtime_parachains/hrmp/pallet/enum.Call.html b/doc/polkadot_runtime_parachains/hrmp/pallet/enum.Call.html index 7818fc90f586..755fb8dc172c 100644 --- a/doc/polkadot_runtime_parachains/hrmp/pallet/enum.Call.html +++ b/doc/polkadot_runtime_parachains/hrmp/pallet/enum.Call.html @@ -102,8 +102,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 ()

    §

    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 + 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 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_runtime_parachains/hrmp/pallet/enum.Error.html b/doc/polkadot_runtime_parachains/hrmp/pallet/enum.Error.html index 7e552f5ba843..d66f06b8256f 100644 --- a/doc/polkadot_runtime_parachains/hrmp/pallet/enum.Error.html +++ b/doc/polkadot_runtime_parachains/hrmp/pallet/enum.Error.html @@ -70,8 +70,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
    §

    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 +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 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_runtime_parachains/hrmp/pallet/enum.Event.html b/doc/polkadot_runtime_parachains/hrmp/pallet/enum.Event.html index fe2037471dbe..cabc04775aba 100644 --- a/doc/polkadot_runtime_parachains/hrmp/pallet/enum.Event.html +++ b/doc/polkadot_runtime_parachains/hrmp/pallet/enum.Event.html @@ -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 ()

    §

    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 + 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 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_runtime_parachains/hrmp/struct.HrmpChannel.html b/doc/polkadot_runtime_parachains/hrmp/struct.HrmpChannel.html index 8c9260046d9f..3bb3b951030b 100644 --- a/doc/polkadot_runtime_parachains/hrmp/struct.HrmpChannel.html +++ b/doc/polkadot_runtime_parachains/hrmp/struct.HrmpChannel.html @@ -50,8 +50,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
    §

    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 +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 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_runtime_parachains/hrmp/struct.HrmpOpenChannelRequest.html b/doc/polkadot_runtime_parachains/hrmp/struct.HrmpOpenChannelRequest.html index 581fd2b9c9da..110555eaa644 100644 --- a/doc/polkadot_runtime_parachains/hrmp/struct.HrmpOpenChannelRequest.html +++ b/doc/polkadot_runtime_parachains/hrmp/struct.HrmpOpenChannelRequest.html @@ -37,8 +37,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
    §

    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 +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 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_runtime_parachains/inclusion/enum.AggregateMessageOrigin.html b/doc/polkadot_runtime_parachains/inclusion/enum.AggregateMessageOrigin.html index 9dff299663bb..af8f051fde1b 100644 --- a/doc/polkadot_runtime_parachains/inclusion/enum.AggregateMessageOrigin.html +++ b/doc/polkadot_runtime_parachains/inclusion/enum.AggregateMessageOrigin.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 ()

    §

    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 + 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 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_runtime_parachains/inclusion/enum.UmpQueueId.html b/doc/polkadot_runtime_parachains/inclusion/enum.UmpQueueId.html index edd5571219d6..a31705ac36a3 100644 --- a/doc/polkadot_runtime_parachains/inclusion/enum.UmpQueueId.html +++ b/doc/polkadot_runtime_parachains/inclusion/enum.UmpQueueId.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 ()

    §

    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 + 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 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_runtime_parachains/inclusion/pallet/enum.Call.html b/doc/polkadot_runtime_parachains/inclusion/pallet/enum.Call.html index f1cbbd84ce8f..060e3e5b2b60 100644 --- a/doc/polkadot_runtime_parachains/inclusion/pallet/enum.Call.html +++ b/doc/polkadot_runtime_parachains/inclusion/pallet/enum.Call.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 ()

    §

    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 + 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 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_runtime_parachains/inclusion/pallet/enum.Error.html b/doc/polkadot_runtime_parachains/inclusion/pallet/enum.Error.html index e3cb711b4791..57959c9ce001 100644 --- a/doc/polkadot_runtime_parachains/inclusion/pallet/enum.Error.html +++ b/doc/polkadot_runtime_parachains/inclusion/pallet/enum.Error.html @@ -95,8 +95,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
    §

    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 +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 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_runtime_parachains/inclusion/pallet/enum.Event.html b/doc/polkadot_runtime_parachains/inclusion/pallet/enum.Event.html index d6a76fcbef33..6c3c2ebb36ed 100644 --- a/doc/polkadot_runtime_parachains/inclusion/pallet/enum.Event.html +++ b/doc/polkadot_runtime_parachains/inclusion/pallet/enum.Event.html @@ -1,19 +1,19 @@ Event in polkadot_runtime_parachains::inclusion::pallet - Rust
    pub enum Event<T: Config> {
    -    CandidateBacked(CandidateReceipt<T::Hash>, HeadData, CoreIndex, GroupIndex),
    -    CandidateIncluded(CandidateReceipt<T::Hash>, HeadData, CoreIndex, GroupIndex),
    -    CandidateTimedOut(CandidateReceipt<T::Hash>, HeadData, CoreIndex),
    +    CandidateBacked(CandidateReceipt<T::Hash>, HeadData, CoreIndex, GroupIndex),
    +    CandidateIncluded(CandidateReceipt<T::Hash>, HeadData, CoreIndex, GroupIndex),
    +    CandidateTimedOut(CandidateReceipt<T::Hash>, HeadData, CoreIndex),
         UpwardMessagesReceived {
             from: ParaId,
             count: u32,
         },
         // some variants omitted
     }
    Expand description

    The Event enum of this pallet

    -

    Variants§

    §

    CandidateBacked(CandidateReceipt<T::Hash>, HeadData, CoreIndex, GroupIndex)

    A candidate was backed. [candidate, head_data]

    -
    §

    CandidateIncluded(CandidateReceipt<T::Hash>, HeadData, CoreIndex, GroupIndex)

    A candidate was included. [candidate, head_data]

    -
    §

    CandidateTimedOut(CandidateReceipt<T::Hash>, HeadData, CoreIndex)

    A candidate timed out. [candidate, head_data]

    +

    Variants§

    §

    CandidateBacked(CandidateReceipt<T::Hash>, HeadData, CoreIndex, GroupIndex)

    A candidate was backed. [candidate, head_data]

    +
    §

    CandidateIncluded(CandidateReceipt<T::Hash>, HeadData, CoreIndex, GroupIndex)

    A candidate was included. [candidate, head_data]

    +
    §

    CandidateTimedOut(CandidateReceipt<T::Hash>, HeadData, CoreIndex)

    A candidate timed out. [candidate, head_data]

    §

    UpwardMessagesReceived

    Fields

    §from: ParaId
    §count: u32

    Some upward messages have been received and will be processed.

    Trait Implementations§

    source§

    impl<T: Config> Clone for Event<T>

    source§

    fn clone(&self) -> Self

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

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

    Performs copy-assignment from source. Read more
    source§

    impl<T: Config> Debug for Event<T>

    source§

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

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

    impl<T: Config> Decode for Event<T>where - CandidateReceipt<T::Hash>: Decode,

    source§

    fn decode<__CodecInputEdqy: Input>( + CandidateReceipt<T::Hash>: Decode,

    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, @@ -21,17 +21,17 @@ ) -> Result<DecodeFinished, Error>where I: Input,

    Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
    §

    fn skip<I>(input: &mut I) -> Result<(), Error>where 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<T: Config> Encode for Event<T>where - CandidateReceipt<T::Hash>: Encode,

    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>( + CandidateReceipt<T::Hash>: Encode,

    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.
    §

    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<T: Config> From<Event<T>> for ()

    source§

    fn from(_: Event<T>)

    Converts to this type from the input type.
    source§

    impl<T: Config> PartialEq<Event<T>> for Event<T>

    source§

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

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

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

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl<T> TypeInfo for Event<T>where - CandidateReceipt<T::Hash>: TypeInfo + 'static, + CandidateReceipt<T::Hash>: TypeInfo + 'static, PhantomData<T>: TypeInfo + 'static, T: Config + 'static,

    §

    type Identity = Event<T>

    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<T: Config> EncodeLike<Event<T>> for Event<T>where - CandidateReceipt<T::Hash>: Encode,

    source§

    impl<T: Config> Eq for Event<T>

    Auto Trait Implementations§

    §

    impl<T> RefUnwindSafe for Event<T>where + CandidateReceipt<T::Hash>: Encode,

    source§

    impl<T: Config> Eq for Event<T>

    Auto Trait Implementations§

    §

    impl<T> RefUnwindSafe for Event<T>where T: RefUnwindSafe, <T as Config>::Hash: RefUnwindSafe,

    §

    impl<T> Send for Event<T>where T: Send,

    §

    impl<T> Sync for Event<T>where @@ -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 ()

    §

    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 + 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 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_runtime_parachains/inclusion/struct.AvailabilityBitfieldRecord.html b/doc/polkadot_runtime_parachains/inclusion/struct.AvailabilityBitfieldRecord.html index a34af1cb1ecc..951358cd51bd 100644 --- a/doc/polkadot_runtime_parachains/inclusion/struct.AvailabilityBitfieldRecord.html +++ b/doc/polkadot_runtime_parachains/inclusion/struct.AvailabilityBitfieldRecord.html @@ -35,8 +35,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
    §

    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 +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 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_runtime_parachains/inclusion/struct.CandidatePendingAvailability.html b/doc/polkadot_runtime_parachains/inclusion/struct.CandidatePendingAvailability.html index 5f000e91b4be..4fa925c778d6 100644 --- a/doc/polkadot_runtime_parachains/inclusion/struct.CandidatePendingAvailability.html +++ b/doc/polkadot_runtime_parachains/inclusion/struct.CandidatePendingAvailability.html @@ -1,6 +1,6 @@ CandidatePendingAvailability in polkadot_runtime_parachains::inclusion - Rust
    pub struct CandidatePendingAvailability<H, N> { /* private fields */ }
    Expand description

    A backed candidate pending availability.

    Trait Implementations§

    source§

    impl<H, N> Decode for CandidatePendingAvailability<H, N>where - CandidateDescriptor<H>: Decode, + CandidateDescriptor<H>: Decode, N: Decode,

    source§

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

    Attempt to deserialise the value from input.
    §

    fn decode_into<I>( @@ -9,7 +9,7 @@ ) -> Result<DecodeFinished, Error>where I: Input,

    Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
    §

    fn skip<I>(input: &mut I) -> Result<(), Error>where 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<H, N> Encode for CandidatePendingAvailability<H, N>where - CandidateDescriptor<H>: Encode, + CandidateDescriptor<H>: Encode, N: Encode,

    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 @@ -17,10 +17,10 @@ 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<H: PartialEq, N: PartialEq> PartialEq<CandidatePendingAvailability<H, N>> for CandidatePendingAvailability<H, N>

    source§

    fn eq(&self, other: &CandidatePendingAvailability<H, N>) -> 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<H, N> TypeInfo for CandidatePendingAvailability<H, N>where - CandidateDescriptor<H>: TypeInfo + 'static, + CandidateDescriptor<H>: TypeInfo + 'static, N: TypeInfo + 'static, H: TypeInfo + 'static,

    §

    type Identity = CandidatePendingAvailability<H, N>

    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<H, N> EncodeLike<CandidatePendingAvailability<H, N>> for CandidatePendingAvailability<H, N>where - CandidateDescriptor<H>: Encode, + CandidateDescriptor<H>: Encode, N: Encode,

    source§

    impl<H, N> StructuralPartialEq for CandidatePendingAvailability<H, N>

    Auto Trait Implementations§

    §

    impl<H, N> RefUnwindSafe for CandidatePendingAvailability<H, N>where H: RefUnwindSafe, N: RefUnwindSafe,

    §

    impl<H, N> Send for CandidatePendingAvailability<H, N>where @@ -44,8 +44,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
    §

    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 +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 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_runtime_parachains/inclusion/trait.RewardValidators.html b/doc/polkadot_runtime_parachains/inclusion/trait.RewardValidators.html index 03d30a1fb491..46e507e01c9a 100644 --- a/doc/polkadot_runtime_parachains/inclusion/trait.RewardValidators.html +++ b/doc/polkadot_runtime_parachains/inclusion/trait.RewardValidators.html @@ -1,8 +1,8 @@ RewardValidators in polkadot_runtime_parachains::inclusion - Rust
    pub trait RewardValidators {
         // Required methods
    -    fn reward_backing(validators: impl IntoIterator<Item = ValidatorIndex>);
    -    fn reward_bitfields(validators: impl IntoIterator<Item = ValidatorIndex>);
    +    fn reward_backing(validators: impl IntoIterator<Item = ValidatorIndex>);
    +    fn reward_bitfields(validators: impl IntoIterator<Item = ValidatorIndex>);
     }
    Expand description

    A hook for applying validator rewards

    -

    Required Methods§

    source

    fn reward_backing(validators: impl IntoIterator<Item = ValidatorIndex>)

    source

    fn reward_bitfields(validators: impl IntoIterator<Item = ValidatorIndex>)

    Implementors§

    Required Methods§

    Implementors§

    source§

    impl<C> RewardValidators for RewardValidatorsWithEraPoints<C>where C: Config + Config + Config, C::ValidatorSet: ValidatorSet<C::AccountId, ValidatorId = C::AccountId>,

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/initializer/pallet/enum.Call.html b/doc/polkadot_runtime_parachains/initializer/pallet/enum.Call.html index 8b1a08f2fea7..5ddbffe61873 100644 --- a/doc/polkadot_runtime_parachains/initializer/pallet/enum.Call.html +++ b/doc/polkadot_runtime_parachains/initializer/pallet/enum.Call.html @@ -43,8 +43,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 ()

    §

    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 + 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 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_runtime_parachains/initializer/struct.SessionChangeNotification.html b/doc/polkadot_runtime_parachains/initializer/struct.SessionChangeNotification.html index 723e8c8f7abe..3bbe0dec0078 100644 --- a/doc/polkadot_runtime_parachains/initializer/struct.SessionChangeNotification.html +++ b/doc/polkadot_runtime_parachains/initializer/struct.SessionChangeNotification.html @@ -1,13 +1,13 @@ SessionChangeNotification in polkadot_runtime_parachains::initializer - Rust
    pub struct SessionChangeNotification<BlockNumber> {
    -    pub validators: Vec<ValidatorId>,
    -    pub queued: Vec<ValidatorId>,
    +    pub validators: Vec<ValidatorId>,
    +    pub queued: Vec<ValidatorId>,
         pub prev_config: HostConfiguration<BlockNumber>,
         pub new_config: HostConfiguration<BlockNumber>,
         pub random_seed: [u8; 32],
         pub session_index: SessionIndex,
     }
    Expand description

    Information about a session change that has just occurred.

    -

    Fields§

    §validators: Vec<ValidatorId>

    The new validators in the session.

    -
    §queued: Vec<ValidatorId>

    The queued validators for the following session.

    +

    Fields§

    §validators: Vec<ValidatorId>

    The new validators in the session.

    +
    §queued: Vec<ValidatorId>

    The queued validators for the following session.

    §prev_config: HostConfiguration<BlockNumber>

    The configuration before handling the session change

    §new_config: HostConfiguration<BlockNumber>

    The configuration after handling the session change.

    §random_seed: [u8; 32]

    A secure random seed for the session, gathered from BABE.

    diff --git a/doc/polkadot_runtime_parachains/origin/pallet/enum.Call.html b/doc/polkadot_runtime_parachains/origin/pallet/enum.Call.html index b04dea6a4c04..f9a2a630e28e 100644 --- a/doc/polkadot_runtime_parachains/origin/pallet/enum.Call.html +++ b/doc/polkadot_runtime_parachains/origin/pallet/enum.Call.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 ()

    §

    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 + 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 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_runtime_parachains/origin/pallet/enum.Origin.html b/doc/polkadot_runtime_parachains/origin/pallet/enum.Origin.html index ce84e982027a..b84ec73f8134 100644 --- a/doc/polkadot_runtime_parachains/origin/pallet/enum.Origin.html +++ b/doc/polkadot_runtime_parachains/origin/pallet/enum.Origin.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 ()

    §

    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 + 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 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_runtime_parachains/paras/enum.ParaKind.html b/doc/polkadot_runtime_parachains/paras/enum.ParaKind.html index 6ff029029a08..91538ff66513 100644 --- a/doc/polkadot_runtime_parachains/paras/enum.ParaKind.html +++ b/doc/polkadot_runtime_parachains/paras/enum.ParaKind.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 ()

    §

    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 + 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 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_runtime_parachains/paras/enum.ParaLifecycle.html b/doc/polkadot_runtime_parachains/paras/enum.ParaLifecycle.html index a7456c6e1219..f63ed6713c2c 100644 --- a/doc/polkadot_runtime_parachains/paras/enum.ParaLifecycle.html +++ b/doc/polkadot_runtime_parachains/paras/enum.ParaLifecycle.html @@ -57,8 +57,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 ()

    §

    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 + 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 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_runtime_parachains/paras/pallet/dispatchables/fn.include_pvf_check_statement.html b/doc/polkadot_runtime_parachains/paras/pallet/dispatchables/fn.include_pvf_check_statement.html index 2d9fd4bde7f1..ae155de1c464 100644 --- a/doc/polkadot_runtime_parachains/paras/pallet/dispatchables/fn.include_pvf_check_statement.html +++ b/doc/polkadot_runtime_parachains/paras/pallet/dispatchables/fn.include_pvf_check_statement.html @@ -1,6 +1,6 @@ include_pvf_check_statement in polkadot_runtime_parachains::paras::pallet::dispatchables - Rust
    pub fn include_pvf_check_statement<T: Config>(
    -    stmt: PvfCheckStatement,
    -    signature: ValidatorSignature
    +    stmt: PvfCheckStatement,
    +    signature: ValidatorSignature
     )
    Expand description

    Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and enacts the results if that was the last vote before achieving the supermajority.

    Warning: Doc-Only

    diff --git a/doc/polkadot_runtime_parachains/paras/pallet/enum.Call.html b/doc/polkadot_runtime_parachains/paras/pallet/enum.Call.html index 536df632913d..850da6fc55f8 100644 --- a/doc/polkadot_runtime_parachains/paras/pallet/enum.Call.html +++ b/doc/polkadot_runtime_parachains/paras/pallet/enum.Call.html @@ -26,8 +26,8 @@ validation_code_hash: ValidationCodeHash, }, include_pvf_check_statement { - stmt: PvfCheckStatement, - signature: ValidatorSignature, + stmt: PvfCheckStatement, + signature: ValidatorSignature, }, force_set_most_recent_context { para: ParaId, @@ -42,7 +42,7 @@
    §

    force_queue_action

    Fields

    §para: ParaId
    §

    add_trusted_validation_code

    Fields

    §validation_code: ValidationCode
    §

    poke_unused_validation_code

    Fields

    §validation_code_hash: ValidationCodeHash
    §

    include_pvf_check_statement

    Fields

    §stmt: PvfCheckStatement
    §signature: ValidatorSignature
    §

    include_pvf_check_statement

    §

    force_set_most_recent_context

    Fields

    §para: ParaId
    §context: BlockNumberFor<T>

    Implementations§

    source§

    impl<T: Config> Call<T>

    source

    pub fn new_call_variant_force_set_current_code( para: ParaId, @@ -69,8 +69,8 @@ validation_code_hash: ValidationCodeHash ) -> Self

    Create a call with the variant poke_unused_validation_code.

    source

    pub fn new_call_variant_include_pvf_check_statement( - stmt: PvfCheckStatement, - signature: ValidatorSignature + stmt: PvfCheckStatement, + signature: ValidatorSignature ) -> Self

    Create a call with the variant include_pvf_check_statement.

    source

    pub fn new_call_variant_force_set_most_recent_context( para: ParaId, @@ -117,8 +117,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 ()

    §

    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 + 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 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_runtime_parachains/paras/pallet/enum.Error.html b/doc/polkadot_runtime_parachains/paras/pallet/enum.Error.html index 2fc76b09b051..5b528a7cc237 100644 --- a/doc/polkadot_runtime_parachains/paras/pallet/enum.Error.html +++ b/doc/polkadot_runtime_parachains/paras/pallet/enum.Error.html @@ -56,8 +56,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

    §

    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 +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 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_runtime_parachains/paras/pallet/enum.Event.html b/doc/polkadot_runtime_parachains/paras/pallet/enum.Event.html index 66bb98133869..0cf974c90dd7 100644 --- a/doc/polkadot_runtime_parachains/paras/pallet/enum.Event.html +++ b/doc/polkadot_runtime_parachains/paras/pallet/enum.Event.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 ()

    §

    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 + 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 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_runtime_parachains/paras/pallet/struct.Pallet.html b/doc/polkadot_runtime_parachains/paras/pallet/struct.Pallet.html index 92ab7e89c0c0..d88b2045780d 100644 --- a/doc/polkadot_runtime_parachains/paras/pallet/struct.Pallet.html +++ b/doc/polkadot_runtime_parachains/paras/pallet/struct.Pallet.html @@ -47,8 +47,8 @@ dispatching.

    source

    pub fn include_pvf_check_statement( origin: OriginFor<T>, - stmt: PvfCheckStatement, - signature: ValidatorSignature + stmt: PvfCheckStatement, + signature: ValidatorSignature ) -> DispatchResultWithPostInfo

    Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and enacts the results if that was the last vote before achieving the supermajority.

    source

    pub fn force_set_most_recent_context( @@ -80,7 +80,7 @@ KArg: EncodeLike<ParaId>,

    “ The actual future code hash of a para.“ “” “ Corresponding code can be retrieved with [CodeByHash].“

    -
    source§

    impl<T: Config> Pallet<T>

    source

    pub fn upgrade_restriction_signal<KArg>(k: KArg) -> Option<UpgradeRestriction>where +

    source§

    impl<T: Config> Pallet<T>

    source

    pub fn upgrade_restriction_signal<KArg>(k: KArg) -> Option<UpgradeRestriction>where KArg: EncodeLike<ParaId>,

    “ This is used by the relay-chain to communicate that there are restrictions for performing“ “ an upgrade for this parachain.“ “” diff --git a/doc/polkadot_runtime_parachains/paras/struct.ParaGenesisArgs.html b/doc/polkadot_runtime_parachains/paras/struct.ParaGenesisArgs.html index 8153749d315a..bab5994d8773 100644 --- a/doc/polkadot_runtime_parachains/paras/struct.ParaGenesisArgs.html +++ b/doc/polkadot_runtime_parachains/paras/struct.ParaGenesisArgs.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 ()

    §

    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 + 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 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_runtime_parachains/paras/struct.ParaPastCodeMeta.html b/doc/polkadot_runtime_parachains/paras/struct.ParaPastCodeMeta.html index d5d8dda12f08..6d80fb316735 100644 --- a/doc/polkadot_runtime_parachains/paras/struct.ParaPastCodeMeta.html +++ b/doc/polkadot_runtime_parachains/paras/struct.ParaPastCodeMeta.html @@ -38,8 +38,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
    §

    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 +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 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_runtime_parachains/paras/struct.ReplacementTimes.html b/doc/polkadot_runtime_parachains/paras/struct.ReplacementTimes.html index abb8fd578421..ffe4bf8ec20a 100644 --- a/doc/polkadot_runtime_parachains/paras/struct.ReplacementTimes.html +++ b/doc/polkadot_runtime_parachains/paras/struct.ReplacementTimes.html @@ -31,8 +31,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
    §

    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 +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 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_runtime_parachains/paras_inherent/fn.backed_candidate_weight.html b/doc/polkadot_runtime_parachains/paras_inherent/fn.backed_candidate_weight.html index bd2df8e2055d..530144877819 100644 --- a/doc/polkadot_runtime_parachains/paras_inherent/fn.backed_candidate_weight.html +++ b/doc/polkadot_runtime_parachains/paras_inherent/fn.backed_candidate_weight.html @@ -1,3 +1,3 @@ backed_candidate_weight in polkadot_runtime_parachains::paras_inherent - Rust
    pub fn backed_candidate_weight<T: Config + Config>(
    -    candidate: &BackedCandidate<T::Hash>
    +    candidate: &BackedCandidate<T::Hash>
     ) -> Weight
    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/paras_inherent/fn.backed_candidates_weight.html b/doc/polkadot_runtime_parachains/paras_inherent/fn.backed_candidates_weight.html index 319a9cbdc602..6e11b5cad5ad 100644 --- a/doc/polkadot_runtime_parachains/paras_inherent/fn.backed_candidates_weight.html +++ b/doc/polkadot_runtime_parachains/paras_inherent/fn.backed_candidates_weight.html @@ -1,3 +1,3 @@ backed_candidates_weight in polkadot_runtime_parachains::paras_inherent - Rust
    pub fn backed_candidates_weight<T: Config + Config>(
    -    candidates: &[BackedCandidate<T::Hash>]
    +    candidates: &[BackedCandidate<T::Hash>]
     ) -> Weight
    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/paras_inherent/fn.dispute_statement_set_weight.html b/doc/polkadot_runtime_parachains/paras_inherent/fn.dispute_statement_set_weight.html index ac0fc75d6c51..3144b060fb9e 100644 --- a/doc/polkadot_runtime_parachains/paras_inherent/fn.dispute_statement_set_weight.html +++ b/doc/polkadot_runtime_parachains/paras_inherent/fn.dispute_statement_set_weight.html @@ -1,4 +1,4 @@ dispute_statement_set_weight in polkadot_runtime_parachains::paras_inherent - Rust
    pub fn dispute_statement_set_weight<T, D>(statement_set: D) -> Weightwhere
         T: Config,
    -    D: AsRef<DisputeStatementSet> + WrapperTypeEncode + Sized + Encode,
    Expand description

    Get time weights from benchmarks and set proof size to tx size.

    + D: AsRef<DisputeStatementSet> + WrapperTypeEncode + Sized + Encode,
    Expand description

    Get time weights from benchmarks and set proof size to tx size.

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/paras_inherent/fn.multi_dispute_statement_sets_weight.html b/doc/polkadot_runtime_parachains/paras_inherent/fn.multi_dispute_statement_sets_weight.html index b46e185c4bbe..eb105b27faa5 100644 --- a/doc/polkadot_runtime_parachains/paras_inherent/fn.multi_dispute_statement_sets_weight.html +++ b/doc/polkadot_runtime_parachains/paras_inherent/fn.multi_dispute_statement_sets_weight.html @@ -1,3 +1,3 @@ multi_dispute_statement_sets_weight in polkadot_runtime_parachains::paras_inherent - Rust
    pub fn multi_dispute_statement_sets_weight<T: Config>(
    -    disputes: &MultiDisputeStatementSet
    +    disputes: &MultiDisputeStatementSet
     ) -> Weight
    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/paras_inherent/fn.paras_inherent_total_weight.html b/doc/polkadot_runtime_parachains/paras_inherent/fn.paras_inherent_total_weight.html index 2748b72ebe93..af00bd66fa71 100644 --- a/doc/polkadot_runtime_parachains/paras_inherent/fn.paras_inherent_total_weight.html +++ b/doc/polkadot_runtime_parachains/paras_inherent/fn.paras_inherent_total_weight.html @@ -1,5 +1,5 @@ paras_inherent_total_weight in polkadot_runtime_parachains::paras_inherent - Rust
    pub fn paras_inherent_total_weight<T: Config>(
    -    backed_candidates: &[BackedCandidate<<T as Config>::Hash>],
    -    bitfields: &UncheckedSignedAvailabilityBitfields,
    -    disputes: &MultiDisputeStatementSet
    +    backed_candidates: &[BackedCandidate<<T as Config>::Hash>],
    +    bitfields: &UncheckedSignedAvailabilityBitfields,
    +    disputes: &MultiDisputeStatementSet
     ) -> Weight
    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/paras_inherent/fn.signed_bitfield_weight.html b/doc/polkadot_runtime_parachains/paras_inherent/fn.signed_bitfield_weight.html index c2898461c651..0fb621cc6274 100644 --- a/doc/polkadot_runtime_parachains/paras_inherent/fn.signed_bitfield_weight.html +++ b/doc/polkadot_runtime_parachains/paras_inherent/fn.signed_bitfield_weight.html @@ -1,3 +1,3 @@ signed_bitfield_weight in polkadot_runtime_parachains::paras_inherent - Rust
    pub fn signed_bitfield_weight<T: Config>(
    -    bitfield: &UncheckedSignedAvailabilityBitfield
    +    bitfield: &UncheckedSignedAvailabilityBitfield
     ) -> Weight
    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/paras_inherent/fn.signed_bitfields_weight.html b/doc/polkadot_runtime_parachains/paras_inherent/fn.signed_bitfields_weight.html index 505540897d45..0542132f5c25 100644 --- a/doc/polkadot_runtime_parachains/paras_inherent/fn.signed_bitfields_weight.html +++ b/doc/polkadot_runtime_parachains/paras_inherent/fn.signed_bitfields_weight.html @@ -1,3 +1,3 @@ signed_bitfields_weight in polkadot_runtime_parachains::paras_inherent - Rust
    pub fn signed_bitfields_weight<T: Config>(
    -    bitfields: &UncheckedSignedAvailabilityBitfields
    +    bitfields: &UncheckedSignedAvailabilityBitfields
     ) -> Weight
    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/paras_inherent/pallet/dispatchables/fn.enter.html b/doc/polkadot_runtime_parachains/paras_inherent/pallet/dispatchables/fn.enter.html index 8e6dd2d8a61c..1be76c2c9bf0 100644 --- a/doc/polkadot_runtime_parachains/paras_inherent/pallet/dispatchables/fn.enter.html +++ b/doc/polkadot_runtime_parachains/paras_inherent/pallet/dispatchables/fn.enter.html @@ -1,4 +1,4 @@ -enter in polkadot_runtime_parachains::paras_inherent::pallet::dispatchables - Rust
    pub fn enter<T: Config>(data: ParachainsInherentData<HeaderFor<T>>)
    Expand description

    Enter the paras inherent. This will process bitfields and backed candidates.

    +enter in polkadot_runtime_parachains::paras_inherent::pallet::dispatchables - Rust
    pub fn enter<T: Config>(data: ParachainsInherentData<HeaderFor<T>>)
    Expand description

    Enter the paras inherent. This will process bitfields and backed candidates.

    Warning: Doc-Only

    This function is an automatically generated, and is doc-only, uncallable stub. See the real version in diff --git a/doc/polkadot_runtime_parachains/paras_inherent/pallet/enum.Call.html b/doc/polkadot_runtime_parachains/paras_inherent/pallet/enum.Call.html index 61007ccf9d9d..b0ba785609f4 100644 --- a/doc/polkadot_runtime_parachains/paras_inherent/pallet/enum.Call.html +++ b/doc/polkadot_runtime_parachains/paras_inherent/pallet/enum.Call.html @@ -1,12 +1,12 @@ Call in polkadot_runtime_parachains::paras_inherent::pallet - Rust

    pub enum Call<T: Config> {
         enter {
    -        data: ParachainsInherentData<HeaderFor<T>>,
    +        data: ParachainsInherentData<HeaderFor<T>>,
         },
         // some variants omitted
     }
    Expand description

    Contains a variant per dispatchable extrinsic that this pallet has.

    -

    Variants§

    §

    enter

    Fields

    §data: ParachainsInherentData<HeaderFor<T>>

    Variants§

    §

    enter

    Fields

    §data: ParachainsInherentData<HeaderFor<T>>

    Implementations§

    source§

    impl<T: Config> Call<T>

    source

    pub fn new_call_variant_enter( - data: ParachainsInherentData<HeaderFor<T>> + data: ParachainsInherentData<HeaderFor<T>> ) -> Self

    Create a call with the variant enter.

    Trait Implementations§

    source§

    impl<T: Config> Clone for Call<T>

    source§

    fn clone(&self) -> Self

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

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

    Performs copy-assignment from source. Read more
    source§

    impl<T: Config> Debug for Call<T>

    source§

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

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

    impl<T: Config> Decode for Call<T>

    source§

    fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy @@ -23,7 +23,7 @@ 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<T> TypeInfo for Call<T>where PhantomData<(T,)>: TypeInfo + 'static, - ParachainsInherentData<HeaderFor<T>>: TypeInfo + 'static, + ParachainsInherentData<HeaderFor<T>>: TypeInfo + 'static, T: Config + 'static,

    §

    type Identity = Call<T>

    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<T: Config> UnfilteredDispatchable for Call<T>

    §

    type RuntimeOrigin = <T as Config>::RuntimeOrigin

    The origin type of the runtime, (i.e. frame_system::Config::RuntimeOrigin).
    source§

    fn dispatch_bypass_filter( self, origin: Self::RuntimeOrigin @@ -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 ()

    §

    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 + 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 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_runtime_parachains/paras_inherent/pallet/enum.Error.html b/doc/polkadot_runtime_parachains/paras_inherent/pallet/enum.Error.html index d081971a427a..3b2d54d61964 100644 --- a/doc/polkadot_runtime_parachains/paras_inherent/pallet/enum.Error.html +++ b/doc/polkadot_runtime_parachains/paras_inherent/pallet/enum.Error.html @@ -45,8 +45,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

    §

    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 +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 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_runtime_parachains/paras_inherent/pallet/struct.Pallet.html b/doc/polkadot_runtime_parachains/paras_inherent/pallet/struct.Pallet.html index d8ba2125536c..4618b9c967f5 100644 --- a/doc/polkadot_runtime_parachains/paras_inherent/pallet/struct.Pallet.html +++ b/doc/polkadot_runtime_parachains/paras_inherent/pallet/struct.Pallet.html @@ -2,9 +2,9 @@ functions within the pallet.

    Implementations§

    source§

    impl<T: Config> Pallet<T>

    source

    pub fn enter( origin: OriginFor<T>, - data: ParachainsInherentData<HeaderFor<T>> + data: ParachainsInherentData<HeaderFor<T>> ) -> DispatchResultWithPostInfo

    Enter the paras inherent. This will process bitfields and backed candidates.

    -
    source§

    impl<T: Config> Pallet<T>

    source

    pub fn on_chain_votes() -> Option<ScrapedOnChainVotes<T::Hash>>

    “ Scraped on chain data for extracting resolved disputes as well as backing votes.“

    +
    source§

    impl<T: Config> Pallet<T>

    source

    pub fn on_chain_votes() -> Option<ScrapedOnChainVotes<T::Hash>>

    “ Scraped on chain data for extracting resolved disputes as well as backing votes.“

    Trait Implementations§

    source§

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

    source§

    impl<T> Clone for Pallet<T>

    source§

    fn clone(&self) -> Self

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

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

    Performs copy-assignment from source. Read more
    source§

    impl<T> Debug for Pallet<T>

    source§

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

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

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

    §

    type CurrentStorageVersion = NoStorageVersionSet

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

    fn current_storage_version() -> Self::CurrentStorageVersion

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

    fn on_chain_storage_version() -> StorageVersion

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

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

    source§

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

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

    fn on_finalize(_: BlockNumberFor<T>)

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

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

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

    fn on_runtime_upgrade() -> Weight

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

    fn offchain_worker(_n: BlockNumber)

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

    fn integrity_test()

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

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

    source§

    fn integrity_test()

    See [Hooks::integrity_test].
    source§

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

    source§

    fn offchain_worker(n: BlockNumberFor<T>)

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

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

    source§

    fn on_finalize(n: BlockNumberFor<T>)

    See [Hooks::on_finalize].
    source§

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

    source§

    fn on_genesis()

    Something that should happen at genesis.
    source§

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

    source§

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

    See [Hooks::on_idle].
    source§

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

    source§

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

    See [Hooks::on_initialize].
    source§

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

    source§

    fn on_runtime_upgrade() -> Weight

    See [Hooks::on_runtime_upgrade].
    source§

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

    source§

    fn index() -> usize

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

    fn name() -> &'static str

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

    fn module_name() -> &'static str

    Name of the Rust module containing the pallet.
    source§

    fn crate_version() -> CrateVersion

    Version of the crate containing the pallet.
    source§

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

    source§

    fn count() -> usize

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

    fn infos() -> Vec<PalletInfoData>

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

    impl<T> PartialEq<Pallet<T>> for Pallet<T>

    source§

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

    This method tests for self and other values to be equal, and is used diff --git a/doc/polkadot_runtime_parachains/reward_points/struct.RewardValidatorsWithEraPoints.html b/doc/polkadot_runtime_parachains/reward_points/struct.RewardValidatorsWithEraPoints.html index a9ddf4361383..17ccc9859b7c 100644 --- a/doc/polkadot_runtime_parachains/reward_points/struct.RewardValidatorsWithEraPoints.html +++ b/doc/polkadot_runtime_parachains/reward_points/struct.RewardValidatorsWithEraPoints.html @@ -3,10 +3,10 @@ C: Config + Config, C::ValidatorSet: ValidatorSet<C::AccountId, ValidatorId = C::AccountId>,
    source§

    fn reward_dispute_statement( session: SessionIndex, - validators: impl IntoIterator<Item = ValidatorIndex> + validators: impl IntoIterator<Item = ValidatorIndex> )

    source§

    impl<C> RewardValidators for RewardValidatorsWithEraPoints<C>where C: Config + Config + Config, - C::ValidatorSet: ValidatorSet<C::AccountId, ValidatorId = C::AccountId>,

    source§

    fn reward_backing(indices: impl IntoIterator<Item = ValidatorIndex>)

    source§

    fn reward_bitfields(_validators: impl IntoIterator<Item = ValidatorIndex>)

    Auto Trait Implementations§

    §

    impl<C> RefUnwindSafe for RewardValidatorsWithEraPoints<C>where + C::ValidatorSet: ValidatorSet<C::AccountId, ValidatorId = C::AccountId>,

    Auto Trait Implementations§

    §

    impl<C> RefUnwindSafe for RewardValidatorsWithEraPoints<C>where C: RefUnwindSafe,

    §

    impl<C> Send for RewardValidatorsWithEraPoints<C>where C: Send,

    §

    impl<C> Sync for RewardValidatorsWithEraPoints<C>where C: Sync,

    §

    impl<C> Unpin for RewardValidatorsWithEraPoints<C>where diff --git a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.assumed_validation_data.html b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.assumed_validation_data.html index 0b44931ca928..8af12db9483d 100644 --- a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.assumed_validation_data.html +++ b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.assumed_validation_data.html @@ -1,5 +1,5 @@ assumed_validation_data in polkadot_runtime_parachains::runtime_api_impl::v5 - Rust
    pub fn assumed_validation_data<T: Config>(
         para_id: ParaId,
         expected_persisted_validation_data_hash: Hash
    -) -> Option<(PersistedValidationData<T::Hash, BlockNumberFor<T>>, ValidationCodeHash)>
    Expand description

    Implementation for the assumed_validation_data function of the runtime API.

    +) -> Option<(PersistedValidationData<T::Hash, BlockNumberFor<T>>, ValidationCodeHash)>
    Expand description

    Implementation for the assumed_validation_data function of the runtime API.

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.availability_cores.html b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.availability_cores.html index fd09a409dd99..4d09075f76d5 100644 --- a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.availability_cores.html +++ b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.availability_cores.html @@ -1,4 +1,4 @@ availability_cores in polkadot_runtime_parachains::runtime_api_impl::v5 - Rust
    pub fn availability_cores<T: Config>(
         
    -) -> Vec<CoreState<T::Hash, BlockNumberFor<T>>>
    Expand description

    Implementation for the availability_cores function of the runtime API.

    +) -> Vec<CoreState<T::Hash, BlockNumberFor<T>>>
    Expand description

    Implementation for the availability_cores function of the runtime API.

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.candidate_events.html b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.candidate_events.html index afcf94c205d9..c66be894b024 100644 --- a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.candidate_events.html +++ b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.candidate_events.html @@ -1,4 +1,4 @@ -candidate_events in polkadot_runtime_parachains::runtime_api_impl::v5 - Rust
    pub fn candidate_events<T, F>(extract_event: F) -> Vec<CandidateEvent<T::Hash>>where
    +candidate_events in polkadot_runtime_parachains::runtime_api_impl::v5 - Rust
    pub fn candidate_events<T, F>(extract_event: F) -> Vec<CandidateEvent<T::Hash>>where
         T: Config,
         F: Fn(<T as Config>::RuntimeEvent) -> Option<Event<T>>,
    Expand description

    Implementation for the candidate_events function of the runtime API.

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.candidate_pending_availability.html b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.candidate_pending_availability.html index 08305705c816..db63fdcd7fee 100644 --- a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.candidate_pending_availability.html +++ b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.candidate_pending_availability.html @@ -1,4 +1,4 @@ candidate_pending_availability in polkadot_runtime_parachains::runtime_api_impl::v5 - Rust
    pub fn candidate_pending_availability<T: Config>(
         para_id: ParaId
    -) -> Option<CommittedCandidateReceipt<T::Hash>>
    Expand description

    Implementation for the candidate_pending_availability function of the runtime API.

    +) -> Option<CommittedCandidateReceipt<T::Hash>>
    Expand description

    Implementation for the candidate_pending_availability function of the runtime API.

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.check_validation_outputs.html b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.check_validation_outputs.html index 2c970cf661fb..f42179cc9cee 100644 --- a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.check_validation_outputs.html +++ b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.check_validation_outputs.html @@ -1,5 +1,5 @@ check_validation_outputs in polkadot_runtime_parachains::runtime_api_impl::v5 - Rust
    pub fn check_validation_outputs<T: Config>(
         para_id: ParaId,
    -    outputs: CandidateCommitments
    +    outputs: CandidateCommitments
     ) -> bool
    Expand description

    Implementation for the check_validation_outputs function of the runtime API.

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.get_session_disputes.html b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.get_session_disputes.html index 188663a73821..e92468268db7 100644 --- a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.get_session_disputes.html +++ b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.get_session_disputes.html @@ -1,4 +1,4 @@ get_session_disputes in polkadot_runtime_parachains::runtime_api_impl::v5 - Rust
    pub fn get_session_disputes<T: Config>(
         
    -) -> Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumberFor<T>>)>
    Expand description

    Implementation for get_session_disputes function from the runtime API

    +) -> Vec<(SessionIndex, CandidateHash, DisputeState<BlockNumberFor<T>>)>
    Expand description

    Implementation for get_session_disputes function from the runtime API

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.on_chain_votes.html b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.on_chain_votes.html index d609bf0ba4bf..f2560fce9bfe 100644 --- a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.on_chain_votes.html +++ b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.on_chain_votes.html @@ -1,2 +1,2 @@ -on_chain_votes in polkadot_runtime_parachains::runtime_api_impl::v5 - Rust
    pub fn on_chain_votes<T: Config>() -> Option<ScrapedOnChainVotes<T::Hash>>
    Expand description

    Disputes imported via means of on-chain imports.

    +on_chain_votes in polkadot_runtime_parachains::runtime_api_impl::v5 - Rust
    pub fn on_chain_votes<T: Config>() -> Option<ScrapedOnChainVotes<T::Hash>>
    Expand description

    Disputes imported via means of on-chain imports.

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.persisted_validation_data.html b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.persisted_validation_data.html index c5f17dd4ec11..9c9618c7a81a 100644 --- a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.persisted_validation_data.html +++ b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.persisted_validation_data.html @@ -1,5 +1,5 @@ persisted_validation_data in polkadot_runtime_parachains::runtime_api_impl::v5 - Rust
    pub fn persisted_validation_data<T: Config>(
         para_id: ParaId,
    -    assumption: OccupiedCoreAssumption
    -) -> Option<PersistedValidationData<T::Hash, BlockNumberFor<T>>>
    Expand description

    Implementation for the persisted_validation_data function of the runtime API.

    + assumption: OccupiedCoreAssumption +) -> Option<PersistedValidationData<T::Hash, BlockNumberFor<T>>>
    Expand description

    Implementation for the persisted_validation_data function of the runtime API.

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.session_executor_params.html b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.session_executor_params.html index 049ccf1231e7..1ad2724a6712 100644 --- a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.session_executor_params.html +++ b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.session_executor_params.html @@ -1,4 +1,4 @@ session_executor_params in polkadot_runtime_parachains::runtime_api_impl::v5 - Rust
    pub fn session_executor_params<T: Config>(
         session_index: SessionIndex
    -) -> Option<ExecutorParams>
    Expand description

    Get session executor parameter set

    +) -> Option<ExecutorParams>
    Expand description

    Get session executor parameter set

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.session_info.html b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.session_info.html index 9d80fe29ed5a..65090a1ceb63 100644 --- a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.session_info.html +++ b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.session_info.html @@ -1,2 +1,2 @@ -session_info in polkadot_runtime_parachains::runtime_api_impl::v5 - Rust
    pub fn session_info<T: Config>(index: SessionIndex) -> Option<SessionInfo>
    Expand description

    Get the session info for the given session, if stored.

    +session_info in polkadot_runtime_parachains::runtime_api_impl::v5 - Rust
    pub fn session_info<T: Config>(index: SessionIndex) -> Option<SessionInfo>
    Expand description

    Get the session info for the given session, if stored.

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.submit_pvf_check_statement.html b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.submit_pvf_check_statement.html index 2c9f02052ee3..4df1641da0d8 100644 --- a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.submit_pvf_check_statement.html +++ b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.submit_pvf_check_statement.html @@ -1,5 +1,5 @@ submit_pvf_check_statement in polkadot_runtime_parachains::runtime_api_impl::v5 - Rust
    pub fn submit_pvf_check_statement<T: Config>(
    -    stmt: PvfCheckStatement,
    -    signature: ValidatorSignature
    +    stmt: PvfCheckStatement,
    +    signature: ValidatorSignature
     )
    Expand description

    Submits an PVF pre-checking vote. See paras::Pallet::submit_pvf_check_statement.

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.submit_unsigned_slashing_report.html b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.submit_unsigned_slashing_report.html index bb4121b24b8e..9a939d1bebae 100644 --- a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.submit_unsigned_slashing_report.html +++ b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.submit_unsigned_slashing_report.html @@ -1,5 +1,5 @@ submit_unsigned_slashing_report in polkadot_runtime_parachains::runtime_api_impl::v5 - Rust
    pub fn submit_unsigned_slashing_report<T: Config>(
    -    dispute_proof: DisputeProof,
    -    key_ownership_proof: OpaqueKeyOwnershipProof
    +    dispute_proof: DisputeProof,
    +    key_ownership_proof: OpaqueKeyOwnershipProof
     ) -> Option<()>
    Expand description

    Implementation of submit_report_dispute_lost runtime API

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.unapplied_slashes.html b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.unapplied_slashes.html index 1b732bbf4c73..81698a4958e6 100644 --- a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.unapplied_slashes.html +++ b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.unapplied_slashes.html @@ -1,4 +1,4 @@ unapplied_slashes in polkadot_runtime_parachains::runtime_api_impl::v5 - Rust
    pub fn unapplied_slashes<T: Config>(
         
    -) -> Vec<(SessionIndex, CandidateHash, PendingSlashes)>
    Expand description

    Implementation of unapplied_slashes runtime API

    +) -> Vec<(SessionIndex, CandidateHash, PendingSlashes)>
    Expand description

    Implementation of unapplied_slashes runtime API

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.validation_code.html b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.validation_code.html index 5d72903dc395..2a24cd0e20b3 100644 --- a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.validation_code.html +++ b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.validation_code.html @@ -1,5 +1,5 @@ validation_code in polkadot_runtime_parachains::runtime_api_impl::v5 - Rust
    pub fn validation_code<T: Config>(
         para_id: ParaId,
    -    assumption: OccupiedCoreAssumption
    +    assumption: OccupiedCoreAssumption
     ) -> Option<ValidationCode>
    Expand description

    Implementation for the validation_code function of the runtime API.

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.validation_code_hash.html b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.validation_code_hash.html index ba8e8e681232..9a6138f1c524 100644 --- a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.validation_code_hash.html +++ b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.validation_code_hash.html @@ -1,6 +1,6 @@ validation_code_hash in polkadot_runtime_parachains::runtime_api_impl::v5 - Rust
    pub fn validation_code_hash<T>(
         para_id: ParaId,
    -    assumption: OccupiedCoreAssumption
    +    assumption: OccupiedCoreAssumption
     ) -> Option<ValidationCodeHash>where
         T: Config,
    Expand description

    Returns the validation code hash for the given parachain making the given OccupiedCoreAssumption.

    diff --git a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.validator_groups.html b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.validator_groups.html index 28567b848550..724f778653d2 100644 --- a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.validator_groups.html +++ b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.validator_groups.html @@ -1,4 +1,4 @@ validator_groups in polkadot_runtime_parachains::runtime_api_impl::v5 - Rust
    pub fn validator_groups<T: Config>(
         
    -) -> (Vec<Vec<ValidatorIndex>>, GroupRotationInfo<BlockNumberFor<T>>)
    Expand description

    Implementation for the validator_groups function of the runtime API.

    +) -> (Vec<Vec<ValidatorIndex>>, GroupRotationInfo<BlockNumberFor<T>>)
    Expand description

    Implementation for the validator_groups function of the runtime API.

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.validators.html b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.validators.html index 1454cc07d91f..d0ebefe89b8d 100644 --- a/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.validators.html +++ b/doc/polkadot_runtime_parachains/runtime_api_impl/v5/fn.validators.html @@ -1,2 +1,2 @@ -validators in polkadot_runtime_parachains::runtime_api_impl::v5 - Rust
    pub fn validators<T: Config>() -> Vec<ValidatorId>
    Expand description

    Implementation for the validators function of the runtime API.

    +validators in polkadot_runtime_parachains::runtime_api_impl::v5 - Rust
    pub fn validators<T: Config>() -> Vec<ValidatorId>
    Expand description

    Implementation for the validators function of the runtime API.

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/runtime_api_impl/vstaging/fn.async_backing_params.html b/doc/polkadot_runtime_parachains/runtime_api_impl/vstaging/fn.async_backing_params.html index eb6c887a8958..48b9a4ddfb9c 100644 --- a/doc/polkadot_runtime_parachains/runtime_api_impl/vstaging/fn.async_backing_params.html +++ b/doc/polkadot_runtime_parachains/runtime_api_impl/vstaging/fn.async_backing_params.html @@ -1,2 +1,2 @@ -async_backing_params in polkadot_runtime_parachains::runtime_api_impl::vstaging - Rust
    pub fn async_backing_params<T: Config>() -> AsyncBackingParams
    Expand description

    Implementation for StagingAsyncBackingParams function from the runtime API

    +async_backing_params in polkadot_runtime_parachains::runtime_api_impl::vstaging - Rust
    pub fn async_backing_params<T: Config>() -> AsyncBackingParams
    Expand description

    Implementation for StagingAsyncBackingParams function from the runtime API

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/runtime_api_impl/vstaging/fn.backing_state.html b/doc/polkadot_runtime_parachains/runtime_api_impl/vstaging/fn.backing_state.html index 13cc03b936f2..87e3201ee8ec 100644 --- a/doc/polkadot_runtime_parachains/runtime_api_impl/vstaging/fn.backing_state.html +++ b/doc/polkadot_runtime_parachains/runtime_api_impl/vstaging/fn.backing_state.html @@ -1,4 +1,4 @@ backing_state in polkadot_runtime_parachains::runtime_api_impl::vstaging - Rust
    pub fn backing_state<T: Config>(
         para_id: ParaId
    -) -> Option<BackingState<T::Hash, BlockNumberFor<T>>>
    Expand description

    Implementation for StagingParaBackingState function from the runtime API

    +) -> Option<BackingState<T::Hash, BlockNumberFor<T>>>
    Expand description

    Implementation for StagingParaBackingState function from the runtime API

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/scheduler/common/struct.CoreAssignment.html b/doc/polkadot_runtime_parachains/scheduler/common/struct.CoreAssignment.html index a34d274da0b2..be174a13ddc0 100644 --- a/doc/polkadot_runtime_parachains/scheduler/common/struct.CoreAssignment.html +++ b/doc/polkadot_runtime_parachains/scheduler/common/struct.CoreAssignment.html @@ -1,13 +1,13 @@ CoreAssignment in polkadot_runtime_parachains::scheduler::common - Rust
    pub struct CoreAssignment<BlockNumber> {
    -    pub core: CoreIndex,
    -    pub paras_entry: ParasEntry<BlockNumber>,
    +    pub core: CoreIndex,
    +    pub paras_entry: ParasEntry<BlockNumber>,
     }
    Expand description

    How a core is mapped to a backing group and a ParaId

    -

    Fields§

    §core: CoreIndex

    The core that is assigned.

    -
    §paras_entry: ParasEntry<BlockNumber>

    The para id and accompanying information needed to collate and back a parablock.

    +

    Fields§

    §core: CoreIndex

    The core that is assigned.

    +
    §paras_entry: ParasEntry<BlockNumber>

    The para id and accompanying information needed to collate and back a parablock.

    Implementations§

    source§

    impl<BlockNumber> CoreAssignment<BlockNumber>

    source

    pub fn para_id(&self) -> ParaId

    Returns the ParaId of the assignment.

    -
    source

    pub fn to_paras_entry(self) -> ParasEntry<BlockNumber>

    Returns the inner [ParasEntry] of the assignment.

    +
    source

    pub fn to_paras_entry(self) -> ParasEntry<BlockNumber>

    Returns the inner ParasEntry of the assignment.

    Trait Implementations§

    source§

    impl<BlockNumber: Clone> Clone for CoreAssignment<BlockNumber>

    source§

    fn clone(&self) -> CoreAssignment<BlockNumber>

    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<BlockNumber: Debug> Debug for CoreAssignment<BlockNumber>

    source§

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

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

    impl<BlockNumber> Decode for CoreAssignment<BlockNumber>where - ParasEntry<BlockNumber>: Decode,

    source§

    fn decode<__CodecInputEdqy: Input>( + ParasEntry<BlockNumber>: Decode,

    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, @@ -15,16 +15,16 @@ ) -> Result<DecodeFinished, Error>where I: Input,

    Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
    §

    fn skip<I>(input: &mut I) -> Result<(), Error>where 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<BlockNumber> Encode for CoreAssignment<BlockNumber>where - ParasEntry<BlockNumber>: Encode,

    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>( + ParasEntry<BlockNumber>: Encode,

    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.
    §

    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<BlockNumber: PartialEq> PartialEq<CoreAssignment<BlockNumber>> for CoreAssignment<BlockNumber>

    source§

    fn eq(&self, other: &CoreAssignment<BlockNumber>) -> 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<BlockNumber> TypeInfo for CoreAssignment<BlockNumber>where - ParasEntry<BlockNumber>: TypeInfo + 'static, + ParasEntry<BlockNumber>: TypeInfo + 'static, BlockNumber: TypeInfo + 'static,

    §

    type Identity = CoreAssignment<BlockNumber>

    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<BlockNumber> EncodeLike<CoreAssignment<BlockNumber>> for CoreAssignment<BlockNumber>where - ParasEntry<BlockNumber>: Encode,

    source§

    impl<BlockNumber> StructuralPartialEq for CoreAssignment<BlockNumber>

    Auto Trait Implementations§

    §

    impl<BlockNumber> RefUnwindSafe for CoreAssignment<BlockNumber>where + ParasEntry<BlockNumber>: Encode,

    source§

    impl<BlockNumber> StructuralPartialEq for CoreAssignment<BlockNumber>

    Auto Trait Implementations§

    §

    impl<BlockNumber> RefUnwindSafe for CoreAssignment<BlockNumber>where BlockNumber: RefUnwindSafe,

    §

    impl<BlockNumber> Send for CoreAssignment<BlockNumber>where BlockNumber: Send,

    §

    impl<BlockNumber> Sync for CoreAssignment<BlockNumber>where BlockNumber: Sync,

    §

    impl<BlockNumber> Unpin for CoreAssignment<BlockNumber>where @@ -43,8 +43,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 ()

    §

    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 + 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 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_runtime_parachains/scheduler/common/trait.AssignmentProvider.html b/doc/polkadot_runtime_parachains/scheduler/common/trait.AssignmentProvider.html index 480304d1fd95..cb0aefc2f676 100644 --- a/doc/polkadot_runtime_parachains/scheduler/common/trait.AssignmentProvider.html +++ b/doc/polkadot_runtime_parachains/scheduler/common/trait.AssignmentProvider.html @@ -2,24 +2,24 @@ // Required methods fn session_core_count() -> u32; fn pop_assignment_for_core( - core_idx: CoreIndex, + core_idx: CoreIndex, concluded_para: Option<ParaId> - ) -> Option<Assignment>; - fn push_assignment_for_core(core_idx: CoreIndex, assignment: Assignment); + ) -> Option<Assignment>; + fn push_assignment_for_core(core_idx: CoreIndex, assignment: Assignment); fn get_provider_config( - core_idx: CoreIndex + core_idx: CoreIndex ) -> AssignmentProviderConfig<BlockNumber>; }

    Required Methods§

    source

    fn session_core_count() -> u32

    How many cores are allocated to this provider.

    source

    fn pop_assignment_for_core( - core_idx: CoreIndex, + core_idx: CoreIndex, concluded_para: Option<ParaId> -) -> Option<Assignment>

    Pops an [Assignment] from the provider for a specified [CoreIndex]. +) -> Option<Assignment>

    Pops an Assignment from the provider for a specified CoreIndex. The concluded_para field makes the caller report back to the provider -which ParaId it processed last on the supplied [CoreIndex].

    -
    source

    fn push_assignment_for_core(core_idx: CoreIndex, assignment: Assignment)

    Push back an already popped assignment. Intended for provider implementations +which ParaId it processed last on the supplied CoreIndex.

    +
    source

    fn push_assignment_for_core(core_idx: CoreIndex, assignment: Assignment)

    Push back an already popped assignment. Intended for provider implementations that need to be able to keep track of assignments over session boundaries, such as the on demand assignment provider.

    source

    fn get_provider_config( - core_idx: CoreIndex + core_idx: CoreIndex ) -> AssignmentProviderConfig<BlockNumber>

    Returns a set of variables needed by the scheduler

    Implementors§

    source§

    impl<T: Config> AssignmentProvider<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for polkadot_runtime_parachains::assigner::pallet::Pallet<T>

    source§

    impl<T: Config> AssignmentProvider<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for polkadot_runtime_parachains::assigner_on_demand::pallet::Pallet<T>

    source§

    impl<T: Config> AssignmentProvider<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for polkadot_runtime_parachains::assigner_parachains::pallet::Pallet<T>

    \ No newline at end of file diff --git a/doc/polkadot_runtime_parachains/scheduler/pallet/enum.Call.html b/doc/polkadot_runtime_parachains/scheduler/pallet/enum.Call.html index d5d5e8e2108e..bb09382e55b7 100644 --- a/doc/polkadot_runtime_parachains/scheduler/pallet/enum.Call.html +++ b/doc/polkadot_runtime_parachains/scheduler/pallet/enum.Call.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 ()

    §

    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 + 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 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_runtime_parachains/scheduler/pallet/struct.Pallet.html b/doc/polkadot_runtime_parachains/scheduler/pallet/struct.Pallet.html index 4a7989102ee2..66ad9c6a0b54 100644 --- a/doc/polkadot_runtime_parachains/scheduler/pallet/struct.Pallet.html +++ b/doc/polkadot_runtime_parachains/scheduler/pallet/struct.Pallet.html @@ -1,13 +1,13 @@ Pallet in polkadot_runtime_parachains::scheduler::pallet - Rust
    pub struct Pallet<T>(_);
    Expand description

    The Pallet struct, the main type that implements traits and standalone functions within the pallet.

    -

    Implementations§

    source§

    impl<T: Config> Pallet<T>

    source

    pub fn validator_groups() -> Vec<Vec<ValidatorIndex>>

    “ All the validator groups. One for each core. Indices are into ActiveValidators - not the“ +

    Implementations§

    source§

    impl<T: Config> Pallet<T>

    source

    pub fn validator_groups() -> Vec<Vec<ValidatorIndex>>

    “ All the validator groups. One for each core. Indices are into ActiveValidators - not the“ “ broader set of Polkadot validators, but instead just the subset used for parachains during“ “ this session.“ “” “ Bound: The number of cores is the sum of the numbers of parachains and parathread“ “ multiplexers. Reasonably, 100-1000. The dominant factor is the number of validators: safe“ “ upper bound at 10k.“

    -
    source§

    impl<T: Config> Pallet<T>

    source

    pub fn availability_cores() -> Vec<CoreOccupied<BlockNumberFor<T>>>

    “ One entry for each availability core. Entries are None if the core is not currently“ +

    source§

    impl<T: Config> Pallet<T>

    source

    pub fn availability_cores() -> Vec<CoreOccupied<BlockNumberFor<T>>>

    “ One entry for each availability core. Entries are None if the core is not currently“ “ occupied. Can be temporarily Some if scheduled but not occupied.“ “ The i'th parachain belongs to the i'th core, with the remaining cores all being“ “ parathread-multiplexers.“ @@ -24,7 +24,7 @@ “ block following the session change, block number of which we save in this storage value.“

    source§

    impl<T: Config> Pallet<T>

    source

    pub fn claimqueue( -) -> BTreeMap<CoreIndex, VecDeque<Option<ParasEntry<BlockNumberFor<T>>>>>

    “ One entry for each availability core. The VecDeque represents the assignments to be“ +) -> BTreeMap<CoreIndex, VecDeque<Option<ParasEntry<BlockNumberFor<T>>>>>

    “ One entry for each availability core. The VecDeque represents the assignments to be“ “ scheduled on that core. None is used to signal to not schedule the next para of the core“ “ as there is one currently being scheduled. Not using None here would overwrite the“ “ CoreState in the runtime API. The value contained here will not be valid after the end of“ diff --git a/doc/polkadot_runtime_parachains/session_info/pallet/enum.Call.html b/doc/polkadot_runtime_parachains/session_info/pallet/enum.Call.html index 3133230c2a0e..0144ed833962 100644 --- a/doc/polkadot_runtime_parachains/session_info/pallet/enum.Call.html +++ b/doc/polkadot_runtime_parachains/session_info/pallet/enum.Call.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 ()

    §

    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 + 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 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_runtime_parachains/session_info/pallet/struct.Pallet.html b/doc/polkadot_runtime_parachains/session_info/pallet/struct.Pallet.html index 95674f4c76f0..2ebd6d7d6c36 100644 --- a/doc/polkadot_runtime_parachains/session_info/pallet/struct.Pallet.html +++ b/doc/polkadot_runtime_parachains/session_info/pallet/struct.Pallet.html @@ -1,13 +1,13 @@ Pallet in polkadot_runtime_parachains::session_info::pallet - Rust
    pub struct Pallet<T>(_);
    Expand description

    The Pallet struct, the main type that implements traits and standalone functions within the pallet.

    Implementations§

    source§

    impl<T: Config> Pallet<T>

    source

    pub fn earliest_stored_session() -> SessionIndex

    “ The earliest session for which previous session info is stored.“

    -
    source§

    impl<T: Config> Pallet<T>

    source

    pub fn session_info<KArg>(k: KArg) -> Option<SessionInfo>where +

    source§

    impl<T: Config> Pallet<T>

    source

    pub fn session_info<KArg>(k: KArg) -> Option<SessionInfo>where KArg: EncodeLike<SessionIndex>,

    “ Session information in a rolling window.“ “ Should have an entry in range EarliestStoredSession..=CurrentSessionIndex.“ “ Does not have any entries before the session index in the first session change notification.“

    source§

    impl<T: Config> Pallet<T>

    source

    pub fn account_keys<KArg>(k: KArg) -> Option<Vec<AccountId<T>>>where KArg: EncodeLike<SessionIndex>,

    “ The validator account keys of the validators actively participating in parachain consensus.“

    -
    source§

    impl<T: Config> Pallet<T>

    source

    pub fn session_executor_params<KArg>(k: KArg) -> Option<ExecutorParams>where +

    source§

    impl<T: Config> Pallet<T>

    source

    pub fn session_executor_params<KArg>(k: KArg) -> Option<ExecutorParams>where KArg: EncodeLike<SessionIndex>,

    “ Executor parameter set for a given session index“

    Trait Implementations§

    source§

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

    §

    type Public = Public

    The [RuntimeAppPublic] this type is bound to.
    source§

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

    source§

    impl<T> Clone for Pallet<T>

    source§

    fn clone(&self) -> Self

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

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

    Performs copy-assignment from source. Read more
    source§

    impl<T> Debug for Pallet<T>

    source§

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

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

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

    §

    type CurrentStorageVersion = StorageVersion

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

    fn current_storage_version() -> Self::CurrentStorageVersion

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

    fn on_chain_storage_version() -> StorageVersion

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

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

    §

    fn on_initialize(_n: BlockNumber) -> Weight

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

    fn on_finalize(_n: BlockNumber)

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

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

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

    fn on_runtime_upgrade() -> Weight

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

    fn offchain_worker(_n: BlockNumber)

    Implementing this function on a pallet allows you to perform long-running tasks that are diff --git a/doc/polkadot_runtime_parachains/shared/pallet/enum.Call.html b/doc/polkadot_runtime_parachains/shared/pallet/enum.Call.html index bd53eebcd560..536b3ce0e827 100644 --- a/doc/polkadot_runtime_parachains/shared/pallet/enum.Call.html +++ b/doc/polkadot_runtime_parachains/shared/pallet/enum.Call.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 ()

    §

    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 + 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 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_runtime_parachains/shared/pallet/struct.Pallet.html b/doc/polkadot_runtime_parachains/shared/pallet/struct.Pallet.html index bdf266823bbb..7c9209ee7aa1 100644 --- a/doc/polkadot_runtime_parachains/shared/pallet/struct.Pallet.html +++ b/doc/polkadot_runtime_parachains/shared/pallet/struct.Pallet.html @@ -1,16 +1,16 @@ Pallet in polkadot_runtime_parachains::shared::pallet - Rust
    pub struct Pallet<T>(_);
    Expand description

    The Pallet struct, the main type that implements traits and standalone functions within the pallet.

    Implementations§

    source§

    impl<T: Config> Pallet<T>

    source

    pub fn session_index() -> SessionIndex

    “ The current session index.“

    -
    source§

    impl<T: Config> Pallet<T>

    source

    pub fn active_validator_indices() -> Vec<ValidatorIndex>

    “ All the validators actively participating in parachain consensus.“ +

    source§

    impl<T: Config> Pallet<T>

    source

    pub fn active_validator_indices() -> Vec<ValidatorIndex>

    “ All the validators actively participating in parachain consensus.“ “ Indices are into the broader validator set.“

    -
    source§

    impl<T: Config> Pallet<T>

    source

    pub fn active_validator_keys() -> Vec<ValidatorId>

    “ The parachain attestation keys of the validators actively participating in parachain“ +

    source§

    impl<T: Config> Pallet<T>

    source

    pub fn active_validator_keys() -> Vec<ValidatorId>

    “ The parachain attestation keys of the validators actively participating in parachain“ “ consensus. This should be the same length as ActiveValidatorIndices.“

    source§

    impl<T: Config> Pallet<T>

    source

    pub fn allowed_relay_parents( ) -> AllowedRelayParentsTracker<T::Hash, BlockNumberFor<T>>

    “ All allowed relay-parents.“

    source§

    impl<T: Config> Pallet<T>

    source

    pub fn scheduled_session() -> SessionIndex

    Return the session index that should be used for any future scheduled changes.

    source

    pub fn set_session_index(index: SessionIndex)

    Test function for setting the current session index.

    -
    source

    pub fn set_active_validators_ascending(active: Vec<ValidatorId>)

    Trait Implementations§

    source§

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

    source§

    impl<T> Clone for Pallet<T>

    source§

    fn clone(&self) -> Self

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

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

    Performs copy-assignment from source. Read more
    source§

    impl<T> Debug for Pallet<T>

    source§

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

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

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

    §

    type CurrentStorageVersion = NoStorageVersionSet

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

    fn current_storage_version() -> Self::CurrentStorageVersion

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

    fn on_chain_storage_version() -> StorageVersion

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

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

    §

    fn on_initialize(_n: BlockNumber) -> Weight

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

    fn on_finalize(_n: BlockNumber)

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

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

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

    pub fn set_active_validators_ascending(active: Vec<ValidatorId>)

    Trait Implementations§

    source§

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

    source§

    impl<T> Clone for Pallet<T>

    source§

    fn clone(&self) -> Self

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

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

    Performs copy-assignment from source. Read more
    source§

    impl<T> Debug for Pallet<T>

    source§

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

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

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

    §

    type CurrentStorageVersion = NoStorageVersionSet

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

    fn current_storage_version() -> Self::CurrentStorageVersion

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

    fn on_chain_storage_version() -> StorageVersion

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

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

    §

    fn on_initialize(_n: BlockNumber) -> Weight

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

    fn on_finalize(_n: BlockNumber)

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

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

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

    fn on_runtime_upgrade() -> Weight

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

    fn offchain_worker(_n: BlockNumber)

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

    fn integrity_test()

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

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

    source§

    fn integrity_test()

    See [Hooks::integrity_test].
    source§

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

    source§

    fn offchain_worker(n: BlockNumberFor<T>)

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

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

    source§

    fn on_finalize(n: BlockNumberFor<T>)

    See [Hooks::on_finalize].
    source§

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

    source§

    fn on_genesis()

    Something that should happen at genesis.
    source§

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

    source§

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

    See [Hooks::on_idle].
    source§

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

    source§

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

    See [Hooks::on_initialize].
    source§

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

    source§

    fn on_runtime_upgrade() -> Weight

    See [Hooks::on_runtime_upgrade].
    source§

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

    source§

    fn index() -> usize

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

    fn name() -> &'static str

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

    fn module_name() -> &'static str

    Name of the Rust module containing the pallet.
    source§

    fn crate_version() -> CrateVersion

    Version of the crate containing the pallet.
    source§

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

    source§

    fn count() -> usize

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

    fn infos() -> Vec<PalletInfoData>

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

    impl<T> PartialEq<Pallet<T>> for Pallet<T>

    source§

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

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

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

    This method tests for !=. The default implementation is almost always diff --git a/doc/polkadot_runtime_parachains/shared/struct.AllowedRelayParentsTracker.html b/doc/polkadot_runtime_parachains/shared/struct.AllowedRelayParentsTracker.html index c3864d41a5b2..5e48072ff60b 100644 --- a/doc/polkadot_runtime_parachains/shared/struct.AllowedRelayParentsTracker.html +++ b/doc/polkadot_runtime_parachains/shared/struct.AllowedRelayParentsTracker.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
    §

    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 +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 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/enum.Statement.html b/doc/polkadot_statement_table/generic/enum.Statement.html index 5a13e707493e..de35e401f321 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 ()

    §

    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 + 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 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 bbf6abfc7856..8e09452fccb2 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 ()

    §

    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 + 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 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 f4210b4a6448..838add55fe80 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 ()

    §

    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 + 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 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 a0dc3cd55b39..e1b54d302d7a 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 ()

    §

    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 + 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 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 4b92e66a02f8..8a8f4cdc329b 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 eca531ce6187..05bc55303adb 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 5fddd2251f5d..0c7d88ba346f 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/remote_ext_tests_bags_list/static.DEFAULT_VALUE.html b/doc/remote_ext_tests_bags_list/static.DEFAULT_VALUE.html index a9b6f0fd39a9..fd474fa50fec 100644 --- a/doc/remote_ext_tests_bags_list/static.DEFAULT_VALUE.html +++ b/doc/remote_ext_tests_bags_list/static.DEFAULT_VALUE.html @@ -1 +1 @@ -DEFAULT_VALUE in remote_ext_tests_bags_list - Rust
    pub(crate) static DEFAULT_VALUE: Lazy<String>
    \ No newline at end of file +DEFAULT_VALUE in remote_ext_tests_bags_list - Rust
    pub(crate) static DEFAULT_VALUE: Lazy<String>
    \ No newline at end of file diff --git a/doc/settings.html b/doc/settings.html index 88e4788721fb..b2ac7c785cc9 100644 --- a/doc/settings.html +++ b/doc/settings.html @@ -1 +1 @@ -Rustdoc settings

    Rustdoc settings

    Back
    \ No newline at end of file +Rustdoc settings

    Rustdoc settings

    Back
    \ No newline at end of file diff --git a/doc/staking_miner/monitor/constant.COUNT.html b/doc/staking_miner/monitor/constant.COUNT.html index 302b9ee31823..a57e16b77d4b 100644 --- a/doc/staking_miner/monitor/constant.COUNT.html +++ b/doc/staking_miner/monitor/constant.COUNT.html @@ -1 +1 @@ -COUNT in staking_miner::monitor - Rust

    Constant staking_miner::monitor::COUNT

    source ·
    const COUNT: u32 = _; // 2u32
    \ No newline at end of file +COUNT in staking_miner::monitor - Rust

    Constant staking_miner::monitor::COUNT

    source ·
    const COUNT: u32 = _; // 3u32
    \ No newline at end of file diff --git a/doc/xcm_simulator_example/struct.ParaA.html b/doc/xcm_simulator_example/struct.ParaA.html index 407ae1e8a546..cce533f9a870 100644 --- a/doc/xcm_simulator_example/struct.ParaA.html +++ b/doc/xcm_simulator_example/struct.ParaA.html @@ -1,9 +1,9 @@ ParaA in xcm_simulator_example - Rust
    pub struct ParaA;

    Trait Implementations§

    source§

    impl DmpMessageHandler for ParaA

    source§

    fn handle_dmp_messages( iter: impl Iterator<Item = (RelayBlockNumber, Vec<u8>)>, max_weight: Weight -) -> Weight

    Handle some incoming DMP messages (note these are individual XCM messages). Read more
    source§

    impl TestExt for ParaA

    source§

    fn new_ext() -> TestExternalities

    Initialize the test environment.
    source§

    fn reset_ext()

    Resets the state of the test environment.
    source§

    fn execute_without_dispatch<R>(execute: impl FnOnce() -> R) -> R

    Execute code in the context of the test externalities, without automatic +) -> Weight

    Handle some incoming DMP messages (note these are individual XCM messages). Read more
    source§

    impl TestExt for ParaA

    source§

    fn new_ext() -> TestExternalities

    Initialize the test environment.
    source§

    fn reset_ext()

    Resets the state of the test environment.
    source§

    fn execute_without_dispatch<R>(execute: impl FnOnce() -> R) -> R

    Execute code in the context of the test externalities, without automatic message processing. All messages in the message buses can be processed -by calling Self::dispatch_xcm_buses().
    source§

    fn dispatch_xcm_buses()

    Process all messages in the message buses
    source§

    fn execute_with<R>(execute: impl FnOnce() -> R) -> R

    Execute some code in the context of the test externalities, with +by calling Self::dispatch_xcm_buses().
    source§

    fn dispatch_xcm_buses()

    Process all messages in the message buses
    §

    fn execute_with<R>(execute: impl FnOnce() -> R) -> R

    Execute some code in the context of the test externalities, with automatic message processing. Messages are dispatched once the passed closure completes.
    source§

    impl XcmpMessageHandler for ParaA

    source§

    fn handle_xcmp_messages<'a, I: Iterator<Item = (ParaId, RelayBlockNumber, &'a [u8])>>( iter: I, diff --git a/doc/xcm_simulator_example/struct.ParaB.html b/doc/xcm_simulator_example/struct.ParaB.html index 36df66896562..94cd19c7e2a6 100644 --- a/doc/xcm_simulator_example/struct.ParaB.html +++ b/doc/xcm_simulator_example/struct.ParaB.html @@ -1,9 +1,9 @@ ParaB in xcm_simulator_example - Rust
    pub struct ParaB;

    Trait Implementations§

    source§

    impl DmpMessageHandler for ParaB

    source§

    fn handle_dmp_messages( iter: impl Iterator<Item = (RelayBlockNumber, Vec<u8>)>, max_weight: Weight -) -> Weight

    Handle some incoming DMP messages (note these are individual XCM messages). Read more
    source§

    impl TestExt for ParaB

    source§

    fn new_ext() -> TestExternalities

    Initialize the test environment.
    source§

    fn reset_ext()

    Resets the state of the test environment.
    source§

    fn execute_without_dispatch<R>(execute: impl FnOnce() -> R) -> R

    Execute code in the context of the test externalities, without automatic +) -> Weight

    Handle some incoming DMP messages (note these are individual XCM messages). Read more
    source§

    impl TestExt for ParaB

    source§

    fn new_ext() -> TestExternalities

    Initialize the test environment.
    source§

    fn reset_ext()

    Resets the state of the test environment.
    source§

    fn execute_without_dispatch<R>(execute: impl FnOnce() -> R) -> R

    Execute code in the context of the test externalities, without automatic message processing. All messages in the message buses can be processed -by calling Self::dispatch_xcm_buses().
    source§

    fn dispatch_xcm_buses()

    Process all messages in the message buses
    source§

    fn execute_with<R>(execute: impl FnOnce() -> R) -> R

    Execute some code in the context of the test externalities, with +by calling Self::dispatch_xcm_buses().
    source§

    fn dispatch_xcm_buses()

    Process all messages in the message buses
    §

    fn execute_with<R>(execute: impl FnOnce() -> R) -> R

    Execute some code in the context of the test externalities, with automatic message processing. Messages are dispatched once the passed closure completes.
    source§

    impl XcmpMessageHandler for ParaB

    source§

    fn handle_xcmp_messages<'a, I: Iterator<Item = (ParaId, RelayBlockNumber, &'a [u8])>>( iter: I, diff --git a/doc/xcm_simulator_example/struct.Relay.html b/doc/xcm_simulator_example/struct.Relay.html index da8c60773f3e..e257618234d8 100644 --- a/doc/xcm_simulator_example/struct.Relay.html +++ b/doc/xcm_simulator_example/struct.Relay.html @@ -3,9 +3,9 @@ para: Self::Origin, meter: &mut WeightMeter, id: &mut [u8; 32] -) -> Result<bool, ProcessMessageError>

    Process the given message, using no more than the remaining meter weight to do so. Read more
    source§

    impl TestExt for Relay

    source§

    fn new_ext() -> TestExternalities

    Initialize the test environment.
    source§

    fn reset_ext()

    Resets the state of the test environment.
    source§

    fn execute_without_dispatch<R>(execute: impl FnOnce() -> R) -> R

    Execute code in the context of the test externalities, without automatic +) -> Result<bool, ProcessMessageError>
    Process the given message, using no more than the remaining meter weight to do so. Read more
    source§

    impl TestExt for Relay

    source§

    fn new_ext() -> TestExternalities

    Initialize the test environment.
    source§

    fn reset_ext()

    Resets the state of the test environment.
    source§

    fn execute_without_dispatch<R>(execute: impl FnOnce() -> R) -> R

    Execute code in the context of the test externalities, without automatic message processing. All messages in the message buses can be processed -by calling Self::dispatch_xcm_buses().
    source§

    fn dispatch_xcm_buses()

    Process all messages in the message buses
    source§

    fn execute_with<R>(execute: impl FnOnce() -> R) -> R

    Execute some code in the context of the test externalities, with +by calling Self::dispatch_xcm_buses().
    source§

    fn dispatch_xcm_buses()

    Process all messages in the message buses
    §

    fn execute_with<R>(execute: impl FnOnce() -> R) -> R

    Execute some code in the context of the test externalities, with automatic message processing. Messages are dispatched once the passed closure completes.

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Relay

    §

    impl Send for Relay

    §

    impl Sync for Relay

    §

    impl Unpin for Relay

    §

    impl UnwindSafe for Relay

    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