├── .github └── workflows │ └── publish.yml ├── .gitmodules ├── CODE_OF_CONDUCT.md ├── LICENSE-CC ├── LICENSE-GPL ├── README.md ├── algorithms ├── aggregateKey.tex ├── attemptToFinalizeAtRound.tex ├── bestFinalCandidate.tex ├── bestPrevoteCandidate.tex ├── blockProductionLottery.tex ├── buildBlock.tex ├── decodeMortality.tex ├── derivePrimary.tex ├── encodeMortality.tex ├── epochRandomness.tex ├── finalizable.tex ├── grandpaGhost.tex ├── importAndValidateBlock.tex ├── initiateGrandpa.tex ├── interactWithRuntime.tex ├── invokeBlockAuthoring.tex ├── maintainTransactionPool.tex ├── medianAlgorithm.tex ├── payoutStakersRuntimeFunctionBenchmark.tex ├── playGrandpaRound.tex ├── processCatchupRequest.tex ├── processCatchupResponse.tex ├── queryingStateLightClients.tex ├── requestJudgementRuntimeFunctionBenchmark.tex ├── slotTime.tex ├── transferRuntimeFunctionBenchmark.tex ├── validateTransactionsAndStore.tex ├── verifyAuthorshipRight.tex ├── verifySlotWinner.tex ├── warpSyncLightClients.tex └── withdrawUnbondedRuntimeFunctionBenchmark.tex ├── bibliography.bib ├── docs ├── chap-host-api.md ├── chap-networking.md ├── chap-overview.md ├── chap-runtime-api.md ├── chap-state.md ├── chap-sync.md ├── chapter-anv.md ├── id-consensus.md ├── id-cryptography-encoding.md ├── id-extrinsics.md ├── id-glossary.md ├── id-polkadot-protocol.md ├── id-weights.md ├── part-polkadot-host.md ├── part-polkadot-runtime.md ├── sect-block-production.md ├── sect-finality.md ├── sect-lightclient.md └── sect-metadata.md └── kaitai_structures ├── block.ksy ├── block_body.ksy ├── block_header.ksy ├── digest.ksy ├── metadata.ksy ├── metadata_extrinsic.ksy ├── metadata_pallet.ksy ├── metadata_type.ksy ├── metadata_type_definition.ksy ├── metadata_type_fields.ksy ├── metadata_type_variants.ksy ├── pallet_constant.ksy ├── pallet_storage.ksy ├── scale.ksy └── storage_definition.ksy /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/.gitmodules -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE-CC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/LICENSE-CC -------------------------------------------------------------------------------- /LICENSE-GPL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/LICENSE-GPL -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/README.md -------------------------------------------------------------------------------- /algorithms/aggregateKey.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/aggregateKey.tex -------------------------------------------------------------------------------- /algorithms/attemptToFinalizeAtRound.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/attemptToFinalizeAtRound.tex -------------------------------------------------------------------------------- /algorithms/bestFinalCandidate.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/bestFinalCandidate.tex -------------------------------------------------------------------------------- /algorithms/bestPrevoteCandidate.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/bestPrevoteCandidate.tex -------------------------------------------------------------------------------- /algorithms/blockProductionLottery.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/blockProductionLottery.tex -------------------------------------------------------------------------------- /algorithms/buildBlock.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/buildBlock.tex -------------------------------------------------------------------------------- /algorithms/decodeMortality.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/decodeMortality.tex -------------------------------------------------------------------------------- /algorithms/derivePrimary.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/derivePrimary.tex -------------------------------------------------------------------------------- /algorithms/encodeMortality.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/encodeMortality.tex -------------------------------------------------------------------------------- /algorithms/epochRandomness.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/epochRandomness.tex -------------------------------------------------------------------------------- /algorithms/finalizable.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/finalizable.tex -------------------------------------------------------------------------------- /algorithms/grandpaGhost.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/grandpaGhost.tex -------------------------------------------------------------------------------- /algorithms/importAndValidateBlock.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/importAndValidateBlock.tex -------------------------------------------------------------------------------- /algorithms/initiateGrandpa.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/initiateGrandpa.tex -------------------------------------------------------------------------------- /algorithms/interactWithRuntime.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/interactWithRuntime.tex -------------------------------------------------------------------------------- /algorithms/invokeBlockAuthoring.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/invokeBlockAuthoring.tex -------------------------------------------------------------------------------- /algorithms/maintainTransactionPool.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/maintainTransactionPool.tex -------------------------------------------------------------------------------- /algorithms/medianAlgorithm.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/medianAlgorithm.tex -------------------------------------------------------------------------------- /algorithms/payoutStakersRuntimeFunctionBenchmark.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/payoutStakersRuntimeFunctionBenchmark.tex -------------------------------------------------------------------------------- /algorithms/playGrandpaRound.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/playGrandpaRound.tex -------------------------------------------------------------------------------- /algorithms/processCatchupRequest.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/processCatchupRequest.tex -------------------------------------------------------------------------------- /algorithms/processCatchupResponse.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/processCatchupResponse.tex -------------------------------------------------------------------------------- /algorithms/queryingStateLightClients.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/queryingStateLightClients.tex -------------------------------------------------------------------------------- /algorithms/requestJudgementRuntimeFunctionBenchmark.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/requestJudgementRuntimeFunctionBenchmark.tex -------------------------------------------------------------------------------- /algorithms/slotTime.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/slotTime.tex -------------------------------------------------------------------------------- /algorithms/transferRuntimeFunctionBenchmark.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/transferRuntimeFunctionBenchmark.tex -------------------------------------------------------------------------------- /algorithms/validateTransactionsAndStore.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/validateTransactionsAndStore.tex -------------------------------------------------------------------------------- /algorithms/verifyAuthorshipRight.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/verifyAuthorshipRight.tex -------------------------------------------------------------------------------- /algorithms/verifySlotWinner.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/verifySlotWinner.tex -------------------------------------------------------------------------------- /algorithms/warpSyncLightClients.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/warpSyncLightClients.tex -------------------------------------------------------------------------------- /algorithms/withdrawUnbondedRuntimeFunctionBenchmark.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/algorithms/withdrawUnbondedRuntimeFunctionBenchmark.tex -------------------------------------------------------------------------------- /bibliography.bib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/bibliography.bib -------------------------------------------------------------------------------- /docs/chap-host-api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/docs/chap-host-api.md -------------------------------------------------------------------------------- /docs/chap-networking.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/docs/chap-networking.md -------------------------------------------------------------------------------- /docs/chap-overview.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/docs/chap-overview.md -------------------------------------------------------------------------------- /docs/chap-runtime-api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/docs/chap-runtime-api.md -------------------------------------------------------------------------------- /docs/chap-state.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/docs/chap-state.md -------------------------------------------------------------------------------- /docs/chap-sync.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/docs/chap-sync.md -------------------------------------------------------------------------------- /docs/chapter-anv.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/docs/chapter-anv.md -------------------------------------------------------------------------------- /docs/id-consensus.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/docs/id-consensus.md -------------------------------------------------------------------------------- /docs/id-cryptography-encoding.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/docs/id-cryptography-encoding.md -------------------------------------------------------------------------------- /docs/id-extrinsics.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/docs/id-extrinsics.md -------------------------------------------------------------------------------- /docs/id-glossary.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/docs/id-glossary.md -------------------------------------------------------------------------------- /docs/id-polkadot-protocol.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/docs/id-polkadot-protocol.md -------------------------------------------------------------------------------- /docs/id-weights.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/docs/id-weights.md -------------------------------------------------------------------------------- /docs/part-polkadot-host.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/docs/part-polkadot-host.md -------------------------------------------------------------------------------- /docs/part-polkadot-runtime.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/docs/part-polkadot-runtime.md -------------------------------------------------------------------------------- /docs/sect-block-production.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/docs/sect-block-production.md -------------------------------------------------------------------------------- /docs/sect-finality.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/docs/sect-finality.md -------------------------------------------------------------------------------- /docs/sect-lightclient.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/docs/sect-lightclient.md -------------------------------------------------------------------------------- /docs/sect-metadata.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/docs/sect-metadata.md -------------------------------------------------------------------------------- /kaitai_structures/block.ksy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/kaitai_structures/block.ksy -------------------------------------------------------------------------------- /kaitai_structures/block_body.ksy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/kaitai_structures/block_body.ksy -------------------------------------------------------------------------------- /kaitai_structures/block_header.ksy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/kaitai_structures/block_header.ksy -------------------------------------------------------------------------------- /kaitai_structures/digest.ksy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/kaitai_structures/digest.ksy -------------------------------------------------------------------------------- /kaitai_structures/metadata.ksy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/kaitai_structures/metadata.ksy -------------------------------------------------------------------------------- /kaitai_structures/metadata_extrinsic.ksy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/kaitai_structures/metadata_extrinsic.ksy -------------------------------------------------------------------------------- /kaitai_structures/metadata_pallet.ksy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/kaitai_structures/metadata_pallet.ksy -------------------------------------------------------------------------------- /kaitai_structures/metadata_type.ksy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/kaitai_structures/metadata_type.ksy -------------------------------------------------------------------------------- /kaitai_structures/metadata_type_definition.ksy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/kaitai_structures/metadata_type_definition.ksy -------------------------------------------------------------------------------- /kaitai_structures/metadata_type_fields.ksy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/kaitai_structures/metadata_type_fields.ksy -------------------------------------------------------------------------------- /kaitai_structures/metadata_type_variants.ksy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/kaitai_structures/metadata_type_variants.ksy -------------------------------------------------------------------------------- /kaitai_structures/pallet_constant.ksy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/kaitai_structures/pallet_constant.ksy -------------------------------------------------------------------------------- /kaitai_structures/pallet_storage.ksy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/kaitai_structures/pallet_storage.ksy -------------------------------------------------------------------------------- /kaitai_structures/scale.ksy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/kaitai_structures/scale.ksy -------------------------------------------------------------------------------- /kaitai_structures/storage_definition.ksy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3f/polkadot-spec/HEAD/kaitai_structures/storage_definition.ksy --------------------------------------------------------------------------------