|
Kagome
Polkadot Runtime Engine in C++17
|
Namespaces | |
| binaryen | |
| wavm | |
Typedefs | |
| using | WasmValue = boost::variant< int32_t, int64_t, float, double > |
| using | Buffer = common::Buffer |
| using | ValidatorId = primitives::parachain::ValidatorId |
| using | DutyRoster = primitives::parachain::DutyRoster |
| using | ParachainId = primitives::parachain::ParaId |
| using | GroupIndex = uint32_t |
| using | CollatorId = common::Blob< 32 > |
| using | Hash = common::Hash256 |
| using | CollatorSignature = common::Hash256 |
| using | ValidationCodeHash = common::Hash256 |
| using | BlockNumber = primitives::BlockNumber |
| using | CandidateHash = common::Hash256 |
| using | HeadData = Buffer |
| using | GroupRotatePeriod = uint32_t |
| using | UpwardMessage = Buffer |
| using | ValidationCode = Buffer |
| using | SessionIndex = uint32_t |
| using | CoreIndex = uint32_t |
| using | GroupDescriptor = std::tuple< BlockNumber, GroupRotatePeriod, BlockNumber > |
| using | ValidatorGroup = std::tuple< std::vector< ValidatorId >, GroupDescriptor > |
| using | CoreState = boost::variant< OccupiedCore, ScheduledCore, Unused< 2 >> |
| using | CandidateEvent = boost::variant< CandidateBacked, CandidateIncluded, CandidateTimedOut > |
| using | ValidatorIndex = uint32_t |
| using | AssignmentId = common::Blob< 32 > |
| using | DownwardMessage = Buffer |
| using | WasmPointer = uint32_t |
| type of wasm memory is 32 bit integer More... | |
| using | WasmSpan = uint64_t |
| combination of pointer and size, where less significant part represents wasm pointer, and most significant represents size More... | |
| using | WasmSize = uint32_t |
| Size type is uint32_t because we are working in 32 bit address space. More... | |
| using | WasmEnum = uint32_t |
| Enum value is uint32_t. More... | |
| using | WasmOffset = uint32_t |
| Offset type is uint32_t because we are working in 32 bit address space. More... | |
| using | WasmI32 = int32_t |
| using | WasmU64 = uint64_t |
Enumerations | |
| enum | RuntimeTransactionError { RuntimeTransactionError::NO_TRANSACTIONS_WERE_STARTED = 1 } |
| RuntimeTransactionError enum provides error codes for storage transactions mechanism. More... | |
| enum | UncompressError : uint8_t { UncompressError::ZSTD_ERROR } |
| enum | OccupiedCoreAssumption { OccupiedCoreAssumption::Included, OccupiedCoreAssumption::TimedOut, OccupiedCoreAssumption::Unused } |
| enum | RuntimeUpgradeTrackerError { RuntimeUpgradeTrackerError::NOT_FOUND = 1 } |
| enum | WasmLogLevel { WasmLogLevel::Error = 0, WasmLogLevel::Warn = 1, WasmLogLevel::Info = 2, WasmLogLevel::Debug = 3, WasmLogLevel::Trace = 4 } |
| type of wasm log levels More... | |
Functions | |
| template<typename T > | |
| static constexpr T | roundUpAlign (T t) |
| outcome::result< void > | uncompressCodeIfNeeded (common::BufferView buf, common::Buffer &res) |
| ::scale::ScaleEncoderStream & | operator<< (::scale::ScaleEncoderStream &s, const ScheduledCore &val) |
| ::scale::ScaleDecoderStream & | operator>> (::scale::ScaleDecoderStream &s, ScheduledCore &val) |
| ::scale::ScaleEncoderStream & | operator<< (::scale::ScaleEncoderStream &s, const CandidateDescriptor &val) |
| ::scale::ScaleDecoderStream & | operator>> (::scale::ScaleDecoderStream &s, CandidateDescriptor &val) |
| ::scale::ScaleEncoderStream & | operator<< (::scale::ScaleEncoderStream &s, const OccupiedCore &val) |
| ::scale::ScaleDecoderStream & | operator>> (::scale::ScaleDecoderStream &s, OccupiedCore &val) |
| ::scale::ScaleEncoderStream & | operator<< (::scale::ScaleEncoderStream &s, const PersistedValidationData &val) |
| ::scale::ScaleDecoderStream & | operator>> (::scale::ScaleDecoderStream &s, PersistedValidationData &val) |
| ::scale::ScaleEncoderStream & | operator<< (::scale::ScaleEncoderStream &s, const OutboundHrmpMessage &val) |
| ::scale::ScaleDecoderStream & | operator>> (::scale::ScaleDecoderStream &s, OutboundHrmpMessage &val) |
| ::scale::ScaleEncoderStream & | operator<< (::scale::ScaleEncoderStream &s, const CandidateCommitments &val) |
| ::scale::ScaleDecoderStream & | operator>> (::scale::ScaleDecoderStream &s, CandidateCommitments &val) |
| ::scale::ScaleEncoderStream & | operator<< (::scale::ScaleEncoderStream &s, const CommittedCandidateReceipt &val) |
| ::scale::ScaleDecoderStream & | operator>> (::scale::ScaleDecoderStream &s, CommittedCandidateReceipt &val) |
| ::scale::ScaleEncoderStream & | operator<< (::scale::ScaleEncoderStream &s, const CandidateReceipt &val) |
| ::scale::ScaleDecoderStream & | operator>> (::scale::ScaleDecoderStream &s, CandidateReceipt &val) |
| ::scale::ScaleEncoderStream & | operator<< (::scale::ScaleEncoderStream &s, const Candidate &val) |
| ::scale::ScaleDecoderStream & | operator>> (::scale::ScaleDecoderStream &s, Candidate &val) |
| ::scale::ScaleEncoderStream & | operator<< (::scale::ScaleEncoderStream &s, const CandidateBacked &val) |
| ::scale::ScaleDecoderStream & | operator>> (::scale::ScaleDecoderStream &s, CandidateBacked &val) |
| ::scale::ScaleEncoderStream & | operator<< (::scale::ScaleEncoderStream &s, const CandidateIncluded &val) |
| ::scale::ScaleDecoderStream & | operator>> (::scale::ScaleDecoderStream &s, CandidateIncluded &val) |
| ::scale::ScaleEncoderStream & | operator<< (::scale::ScaleEncoderStream &s, const SessionInfo &val) |
| ::scale::ScaleDecoderStream & | operator>> (::scale::ScaleDecoderStream &s, SessionInfo &val) |
| ::scale::ScaleEncoderStream & | operator<< (::scale::ScaleEncoderStream &s, const InboundDownwardMessage &val) |
| ::scale::ScaleDecoderStream & | operator>> (::scale::ScaleDecoderStream &s, InboundDownwardMessage &val) |
| ::scale::ScaleEncoderStream & | operator<< (::scale::ScaleEncoderStream &s, const InboundHrmpMessage &val) |
| ::scale::ScaleDecoderStream & | operator>> (::scale::ScaleDecoderStream &s, InboundHrmpMessage &val) |
| static constexpr std::pair< WasmPointer, WasmSize > | splitSpan (WasmSpan span) |
Variables | |
| constexpr uint8_t | kAlignment = sizeof(size_t) |
| constexpr size_t | kDefaultHeapBase |
| constexpr uint8_t | kZstdPrefixSize = 8 |
| constexpr uint8_t | kZstdPrefix [kZstdPrefixSize] |
| constexpr size_t | kCodeBlobBombLimit = 50 * 1024 * 1024 |
| constexpr size_t | kInitialMemorySize |
| constexpr size_t | kMemoryPageSize |
Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
| struct kagome::runtime::CandidateCommitments |
Definition at line 129 of file parachain_host_types.hpp.
| Class Members | ||
|---|---|---|
| HeadData | head_data | The head-data produced as a result of execution. |
| vector< OutboundHrmpMessage > | horizontal_messages | Horizontal messages sent by the parachain. |
| BlockNumber | hrmp_watermark |
The mark which specifies the block number up to which all inbound HRMP messages are processed. |
| optional< ValidationCode > | new_validation_code | New validation code. |
| uint32_t | processed_downward_messages | The number of messages processed from the DMQ. |
| vector< UpwardMessage > | upward_messages | Messages destined to be interpreted by the Relay chain itself. |
| struct kagome::runtime::CandidateDescriptor |
Definition at line 46 of file parachain_host_types.hpp.
| Class Members | ||
|---|---|---|
| CollatorId | collator | The collator's sr25519 public key. |
| Hash | erasure_root | The root of a block's erasure encoding Merkle tree. |
| Hash | para_head | Hash of the para header that is being generated by this candidate. |
| ParachainId | para_id | The ID of the para this is a candidate for. |
| Hash | persisted_validation_data_hash |
The blake2-256 hash of the persisted validation data. This is extra data derived from relay-chain state which may vary based on bitfields included before the candidate. Thus it cannot be derived entirely from the relay-parent. |
| Hash | pov_hash | The blake2-256 hash of the PoV. |
| Hash | relay_parent | The hash of the relay-chain block this is executed in the context of. |
| CollatorSignature | signature |
Signature on blake2-256 of components of this receipt: The parachain index, the relay parent, the validation data hash, and the |
| ValidationCodeHash | validation_code_hash | The blake2-256 hash of the validation code bytes. |
| struct kagome::runtime::CandidateReceipt |
Definition at line 152 of file parachain_host_types.hpp.
| Class Members | ||
|---|---|---|
| Hash | commitments_hash |
The hash of the encoded commitments made as a result of candidate execution. |
| CandidateDescriptor | descriptor | The descriptor of the candidate. |
| struct kagome::runtime::CommittedCandidateReceipt |
Definition at line 145 of file parachain_host_types.hpp.
| Class Members | ||
|---|---|---|
| CandidateCommitments | commitments | The commitments of the candidate receipt. |
| CandidateDescriptor | descriptor | The descriptor of the candidate. |
| struct kagome::runtime::InboundDownwardMessage |
Definition at line 254 of file parachain_host_types.hpp.
| Class Members | ||
|---|---|---|
| DownwardMessage | msg | The actual downward message to processes. |
| BlockNumber | sent_at |
The block number at which these messages were put into the downward message queue. |
| struct kagome::runtime::InboundHrmpMessage |
Definition at line 262 of file parachain_host_types.hpp.
| Class Members | ||
|---|---|---|
| Buffer | data | The message payload. |
| BlockNumber | sent_at |
The block number at which this message was sent. Specifically, it is the block number at which the candidate that sends this message was enacted. |
| struct kagome::runtime::OccupiedCore |
Information about a core which is currently occupied.
Definition at line 73 of file parachain_host_types.hpp.
| Class Members | ||
|---|---|---|
| BitVec | availability |
A bitfield with 1 bit for each validator in the set. |
| CandidateDescriptor | candidate_descriptor | The descriptor of the candidate occupying the core. |
| CandidateHash | candidate_hash | The hash of the candidate occupying the core. |
| GroupIndex | group_responsible | The group assigned to distribute availability pieces of this candidate. |
| optional< ScheduledCore > | next_up_on_available |
If this core is freed by availability, this is the assignment that is next up on this core, if any. None if there is nothing queued for this core. |
| optional< ScheduledCore > | next_up_on_time_out |
If this core is freed by being timed-out, this is the assignment that is next up on this core. None if there is nothing queued for this core or there is no possibility of timing out. |
| BlockNumber | occupied_since | The relay-chain block number this began occupying the core at. |
| BlockNumber | time_out_at | The relay-chain block this will time-out at, if any. |
| struct kagome::runtime::OutboundHrmpMessage |
Definition at line 122 of file parachain_host_types.hpp.
| Class Members | ||
|---|---|---|
| Buffer | data | The message payload. |
| ParachainId | recipient | The para that will get this message in its downward message queue. |
| struct kagome::runtime::PersistedValidationData |
Definition at line 111 of file parachain_host_types.hpp.
| Class Members | ||
|---|---|---|
| uint32_t | max_pov_size | The maximum legal size of a POV block, in bytes. |
| HeadData | parent_head | The parent head-data. |
| BlockNumber | relay_parent_number | The relay-chain block number this is in the context of. |
| Hash | relay_parent_storage_root | The relay-chain block storage root this is in the context of. |
| struct kagome::runtime::PersistentResult |
Definition at line 12 of file persistent_result.hpp.
| Class Members | ||
|---|---|---|
| RootHash | new_storage_root | |
| Result | result | |
| struct kagome::runtime::PersistentResult< void > |
Definition at line 18 of file persistent_result.hpp.
| Class Members | ||
|---|---|---|
| RootHash | new_storage_root | |
| struct kagome::runtime::ScheduledCore |
Information about a core which is currently occupied.
Definition at line 39 of file parachain_host_types.hpp.
| Class Members | ||
|---|---|---|
| optional< CollatorId > | collator | The collator required to author the block, if any. |
| ParachainId | para_id | The ID of a para scheduled. |
| struct kagome::runtime::SessionInfo |
Definition at line 192 of file parachain_host_types.hpp.
| Class Members | ||
|---|---|---|
| vector< ValidatorIndex > | active_validator_indices |
All the validators actively participating in parachain consensus. Indices are into the broader validator set. |
| vector< AssignmentId > | assignment_keys |
The assignment keys for validators. NOTE: There might be more authorities in the current session, than validators participating in parachain consensus. See Therefore: |
| vector< AuthorityDiscoveryId > | discovery_keys |
Validators' authority discovery keys for the session in canonical ordering. NOTE: The first
|
| SessionIndex | dispute_period | The amount of sessions to keep for disputes. |
| uint32_t | n_cores |
The number of availability cores used by the protocol during this session. |
| uint32_t | n_delay_tranches | The number of delay tranches in total. |
| uint32_t | needed_approvals | The number of validators needed to approve a block. |
| uint32_t | no_show_slots |
How many slots (BABE / SASSAFRAS) must pass before an assignment is considered a no-show. |
| Blob< 32 > | random_seed | A secure random seed for the session, gathered from BABE. |
| uint32_t | relay_vrf_modulo_samples |
The number of samples we do of relay_vrf_modulo. |
| vector< vector< ValidatorIndex > > | validator_groups |
Validators in shuffled ordering - these are the validator groups as produced by the |
| vector< ValidatorId > | validators |
Validators in canonical ordering. NOTE: There might be more authorities in the current session, than
|
| uint32_t | zeroth_delay_tranche_width | The zeroth delay tranche width. |
| using kagome::runtime::AssignmentId = typedef common::Blob<32> |
Definition at line 191 of file parachain_host_types.hpp.
| using kagome::runtime::BlockNumber = typedef primitives::BlockNumber |
Definition at line 29 of file parachain_host_types.hpp.
| using kagome::runtime::Buffer = typedef common::Buffer |
Definition at line 20 of file parachain_host_types.hpp.
| using kagome::runtime::CandidateEvent = typedef boost::variant< CandidateBacked, CandidateIncluded, CandidateTimedOut > |
Definition at line 188 of file parachain_host_types.hpp.
| using kagome::runtime::CandidateHash = typedef common::Hash256 |
Definition at line 30 of file parachain_host_types.hpp.
| using kagome::runtime::CollatorId = typedef common::Blob<32> |
Definition at line 25 of file parachain_host_types.hpp.
| using kagome::runtime::CollatorSignature = typedef common::Hash256 |
Definition at line 27 of file parachain_host_types.hpp.
| using kagome::runtime::CoreIndex = typedef uint32_t |
Definition at line 36 of file parachain_host_types.hpp.
| using kagome::runtime::CoreState = typedef boost::variant<OccupiedCore, ScheduledCore, Unused<2>> |
Definition at line 105 of file parachain_host_types.hpp.
| using kagome::runtime::DownwardMessage = typedef Buffer |
Definition at line 253 of file parachain_host_types.hpp.
| using kagome::runtime::DutyRoster = typedef primitives::parachain::DutyRoster |
Definition at line 22 of file parachain_host_types.hpp.
| using kagome::runtime::GroupDescriptor = typedef std::tuple<BlockNumber, GroupRotatePeriod, BlockNumber> |
Definition at line 101 of file parachain_host_types.hpp.
| using kagome::runtime::GroupIndex = typedef uint32_t |
Definition at line 24 of file parachain_host_types.hpp.
| using kagome::runtime::GroupRotatePeriod = typedef uint32_t |
Definition at line 32 of file parachain_host_types.hpp.
| using kagome::runtime::Hash = typedef common::Hash256 |
Definition at line 26 of file parachain_host_types.hpp.
| using kagome::runtime::HeadData = typedef Buffer |
Definition at line 31 of file parachain_host_types.hpp.
| using kagome::runtime::ParachainId = typedef primitives::parachain::ParaId |
Definition at line 23 of file parachain_host_types.hpp.
| using kagome::runtime::SessionIndex = typedef uint32_t |
Definition at line 35 of file parachain_host_types.hpp.
| using kagome::runtime::UpwardMessage = typedef Buffer |
Definition at line 33 of file parachain_host_types.hpp.
| using kagome::runtime::ValidationCode = typedef Buffer |
Definition at line 34 of file parachain_host_types.hpp.
| using kagome::runtime::ValidationCodeHash = typedef common::Hash256 |
Definition at line 28 of file parachain_host_types.hpp.
| using kagome::runtime::ValidatorGroup = typedef std::tuple<std::vector<ValidatorId>, GroupDescriptor> |
Definition at line 102 of file parachain_host_types.hpp.
| using kagome::runtime::ValidatorId = typedef primitives::parachain::ValidatorId |
Definition at line 21 of file parachain_host_types.hpp.
| using kagome::runtime::ValidatorIndex = typedef uint32_t |
Definition at line 190 of file parachain_host_types.hpp.
| using kagome::runtime::WasmEnum = typedef uint32_t |
| using kagome::runtime::WasmI32 = typedef int32_t |
| using kagome::runtime::WasmOffset = typedef uint32_t |
| using kagome::runtime::WasmPointer = typedef uint32_t |
| using kagome::runtime::WasmSize = typedef uint32_t |
| using kagome::runtime::WasmSpan = typedef uint64_t |
| using kagome::runtime::WasmU64 = typedef uint64_t |
| using kagome::runtime::WasmValue = typedef boost::variant<int32_t, int64_t, float, double> |
Definition at line 24 of file module_instance.hpp.
|
strong |
| Enumerator | |
|---|---|
| Included | |
| TimedOut | |
| Unused | |
Definition at line 106 of file parachain_host_types.hpp.
|
strong |
RuntimeTransactionError enum provides error codes for storage transactions mechanism.
| Enumerator | |
|---|---|
| NO_TRANSACTIONS_WERE_STARTED | |
Definition at line 17 of file runtime_transaction_error.hpp.
|
strong |
| Enumerator | |
|---|---|
| NOT_FOUND | |
Definition at line 34 of file runtime_upgrade_tracker.hpp.
|
strong |
| Enumerator | |
|---|---|
| ZSTD_ERROR | |
Definition at line 12 of file uncompress_code_if_needed.hpp.
|
strong |
| scale::ScaleEncoderStream & kagome::runtime::operator<< | ( | ::scale::ScaleEncoderStream & | s, |
| const ScheduledCore & | val | ||
| ) |
Definition at line 10 of file parachain_host_types_serde.cpp.
| scale::ScaleEncoderStream & kagome::runtime::operator<< | ( | ::scale::ScaleEncoderStream & | s, |
| const CandidateDescriptor & | val | ||
| ) |
Definition at line 21 of file parachain_host_types_serde.cpp.
| scale::ScaleEncoderStream & kagome::runtime::operator<< | ( | ::scale::ScaleEncoderStream & | s, |
| const OccupiedCore & | val | ||
| ) |
Definition at line 37 of file parachain_host_types_serde.cpp.
| scale::ScaleEncoderStream & kagome::runtime::operator<< | ( | ::scale::ScaleEncoderStream & | s, |
| const PersistedValidationData & | val | ||
| ) |
Definition at line 53 of file parachain_host_types_serde.cpp.
| scale::ScaleEncoderStream & kagome::runtime::operator<< | ( | ::scale::ScaleEncoderStream & | s, |
| const OutboundHrmpMessage & | val | ||
| ) |
Definition at line 66 of file parachain_host_types_serde.cpp.
| scale::ScaleEncoderStream & kagome::runtime::operator<< | ( | ::scale::ScaleEncoderStream & | s, |
| const CandidateCommitments & | val | ||
| ) |
Definition at line 77 of file parachain_host_types_serde.cpp.
| scale::ScaleEncoderStream & kagome::runtime::operator<< | ( | ::scale::ScaleEncoderStream & | s, |
| const CommittedCandidateReceipt & | val | ||
| ) |
Definition at line 92 of file parachain_host_types_serde.cpp.
| scale::ScaleEncoderStream & kagome::runtime::operator<< | ( | ::scale::ScaleEncoderStream & | s, |
| const CandidateReceipt & | val | ||
| ) |
Definition at line 103 of file parachain_host_types_serde.cpp.
| scale::ScaleEncoderStream & kagome::runtime::operator<< | ( | ::scale::ScaleEncoderStream & | s, |
| const Candidate & | val | ||
| ) |
Definition at line 114 of file parachain_host_types_serde.cpp.
| scale::ScaleEncoderStream & kagome::runtime::operator<< | ( | ::scale::ScaleEncoderStream & | s, |
| const CandidateBacked & | val | ||
| ) |
Definition at line 125 of file parachain_host_types_serde.cpp.
| scale::ScaleEncoderStream & kagome::runtime::operator<< | ( | ::scale::ScaleEncoderStream & | s, |
| const CandidateIncluded & | val | ||
| ) |
Definition at line 136 of file parachain_host_types_serde.cpp.
| scale::ScaleEncoderStream & kagome::runtime::operator<< | ( | ::scale::ScaleEncoderStream & | s, |
| const SessionInfo & | val | ||
| ) |
Definition at line 148 of file parachain_host_types_serde.cpp.
| scale::ScaleEncoderStream & kagome::runtime::operator<< | ( | ::scale::ScaleEncoderStream & | s, |
| const InboundDownwardMessage & | val | ||
| ) |
Definition at line 167 of file parachain_host_types_serde.cpp.
| scale::ScaleEncoderStream & kagome::runtime::operator<< | ( | ::scale::ScaleEncoderStream & | s, |
| const InboundHrmpMessage & | val | ||
| ) |
Definition at line 178 of file parachain_host_types_serde.cpp.
| scale::ScaleDecoderStream & kagome::runtime::operator>> | ( | ::scale::ScaleDecoderStream & | s, |
| ScheduledCore & | val | ||
| ) |
Definition at line 16 of file parachain_host_types_serde.cpp.
| scale::ScaleDecoderStream & kagome::runtime::operator>> | ( | ::scale::ScaleDecoderStream & | s, |
| CandidateDescriptor & | val | ||
| ) |
Definition at line 29 of file parachain_host_types_serde.cpp.
| scale::ScaleDecoderStream & kagome::runtime::operator>> | ( | ::scale::ScaleDecoderStream & | s, |
| OccupiedCore & | val | ||
| ) |
Definition at line 45 of file parachain_host_types_serde.cpp.
| scale::ScaleDecoderStream & kagome::runtime::operator>> | ( | ::scale::ScaleDecoderStream & | s, |
| PersistedValidationData & | val | ||
| ) |
Definition at line 60 of file parachain_host_types_serde.cpp.
| scale::ScaleDecoderStream & kagome::runtime::operator>> | ( | ::scale::ScaleDecoderStream & | s, |
| OutboundHrmpMessage & | val | ||
| ) |
Definition at line 72 of file parachain_host_types_serde.cpp.
| scale::ScaleDecoderStream & kagome::runtime::operator>> | ( | ::scale::ScaleDecoderStream & | s, |
| CandidateCommitments & | val | ||
| ) |
Definition at line 85 of file parachain_host_types_serde.cpp.
| scale::ScaleDecoderStream & kagome::runtime::operator>> | ( | ::scale::ScaleDecoderStream & | s, |
| CommittedCandidateReceipt & | val | ||
| ) |
Definition at line 98 of file parachain_host_types_serde.cpp.
| scale::ScaleDecoderStream & kagome::runtime::operator>> | ( | ::scale::ScaleDecoderStream & | s, |
| CandidateReceipt & | val | ||
| ) |
Definition at line 109 of file parachain_host_types_serde.cpp.
| scale::ScaleDecoderStream & kagome::runtime::operator>> | ( | ::scale::ScaleDecoderStream & | s, |
| Candidate & | val | ||
| ) |
Definition at line 120 of file parachain_host_types_serde.cpp.
| scale::ScaleDecoderStream & kagome::runtime::operator>> | ( | ::scale::ScaleDecoderStream & | s, |
| CandidateBacked & | val | ||
| ) |
Definition at line 131 of file parachain_host_types_serde.cpp.
| scale::ScaleDecoderStream & kagome::runtime::operator>> | ( | ::scale::ScaleDecoderStream & | s, |
| CandidateIncluded & | val | ||
| ) |
Definition at line 143 of file parachain_host_types_serde.cpp.
| scale::ScaleDecoderStream & kagome::runtime::operator>> | ( | ::scale::ScaleDecoderStream & | s, |
| SessionInfo & | val | ||
| ) |
Definition at line 158 of file parachain_host_types_serde.cpp.
| scale::ScaleDecoderStream & kagome::runtime::operator>> | ( | ::scale::ScaleDecoderStream & | s, |
| InboundDownwardMessage & | val | ||
| ) |
Definition at line 173 of file parachain_host_types_serde.cpp.
| scale::ScaleDecoderStream & kagome::runtime::operator>> | ( | ::scale::ScaleDecoderStream & | s, |
| InboundHrmpMessage & | val | ||
| ) |
Definition at line 184 of file parachain_host_types_serde.cpp.
|
static |
Obtain closest multiple of kAlignment that is greater or equal to given number
| T | T type of number |
| t | given number |
Definition at line 37 of file memory_allocator.hpp.
|
static |
| outcome::result< void > kagome::runtime::uncompressCodeIfNeeded | ( | common::BufferView | buf, |
| common::Buffer & | res | ||
| ) |
Definition at line 30 of file uncompress_code_if_needed.cpp.
| constexpr uint8_t kagome::runtime::kAlignment = sizeof(size_t) |
Definition at line 23 of file memory_allocator.hpp.
| constexpr size_t kagome::runtime::kCodeBlobBombLimit = 50 * 1024 * 1024 |
Definition at line 28 of file uncompress_code_if_needed.cpp.
| constexpr size_t kagome::runtime::kDefaultHeapBase |
Definition at line 24 of file memory_allocator.hpp.
|
inline |
Definition at line 20 of file memory.hpp.
|
inline |
Definition at line 26 of file memory.hpp.
| constexpr uint8_t kagome::runtime::kZstdPrefix[kZstdPrefixSize] |
Definition at line 24 of file uncompress_code_if_needed.cpp.
| constexpr uint8_t kagome::runtime::kZstdPrefixSize = 8 |
Definition at line 23 of file uncompress_code_if_needed.cpp.