pub struct Parameters {Show 33 fields
pub deposit_per_item: u64,
pub deposit_per_byte: u64,
pub deposit_per_account: u64,
pub validators_per_core: u16,
pub min_turnaround_period: u32,
pub epoch_period: u32,
pub max_accumulate_gas: u64,
pub max_is_authorized_gas: u64,
pub max_refine_gas: u64,
pub block_gas_limit: u64,
pub recent_block_count: u16,
pub max_work_items: u16,
pub max_dependencies: u16,
pub max_tickets_per_extrinsic: u16,
pub max_lookup_anchor_age: u32,
pub ticket_entries_per_validator: u16,
pub auth_window: u16,
pub slot_period: u16,
pub auth_queue_len: u16,
pub rotation_period: u16,
pub max_extrinsics: u16,
pub availability_timeout: u16,
pub val_count: u16,
pub max_is_authorized_code_size: u32,
pub max_input: u32,
pub max_refine_code_size: u32,
pub basic_piece_len: u32,
pub max_imports: u32,
pub erasure_coded_pieces: u32,
pub max_refine_memory: u32,
pub transfer_memo_size: u32,
pub max_exports: u32,
pub ticket_submission_period: u32,
}Expand description
Parameters for version 1
Fields§
§deposit_per_item: u64(B_I) The additional deposit required for storage item in an account.
deposit_per_byte: u64(B_L)The additional deposit required for each byte of each storage item in an account and preimage of an account.
deposit_per_account: u64(B_S) The base deposit required to retain an account.
validators_per_core: u16(C = V/3) The number of validators per core is always 3
min_turnaround_period: u32(D) Minimum period in blocks between going from becoming Available to Zombie, and then again from Zombie to non-existent.
epoch_period: u32(E) The epoch period, defined in number of slots.
max_accumulate_gas: u64(G_A) Maximum gas which may be used to accumulate a single work-report.
(G_I) Maximum gas which may be used to authorize a single work-package.
max_refine_gas: u64(G_R) Maximum gas which may be used to refine a single work-report.
block_gas_limit: u64(G_T) Maximum gas which can be processed in a single block.
recent_block_count: u16(H) The number of blocks which are kept in the recent block cache.
max_work_items: u16(I) Maximum number of Work Items in a Work Package.
max_dependencies: u16(J) Maximum number of dependencies (total of prerequisites and SR lookup entries).
max_tickets_per_extrinsic: u16(K) The maximum number of tickets which may be submitted in a single extrinsic.
max_lookup_anchor_age: u32(L) Maximum age, in blocks, that the lookup anchor may be, taken from the regular anchor.
ticket_entries_per_validator: u16(N) The number of ticket entries per validator
auth_window: u16(O) Number of items in the authorization window.
slot_period: u16(P) the slot period
auth_queue_len: u16(Q) Number of authorizations in a queue allocated to a core.
rotation_period: u16(R) The rotation period, defined in number of slots.
max_extrinsics: u16(T) Maximum number of extrinsics in a Work Package.
availability_timeout: u16(U) The period in timeslots after which reported but unavailable work may be replaced.
val_count: u16(V) Total number of validators.
(W_A) the max size of is-authorized code
max_input: u32(W_B) Maximum size of a Work Package together with all extrinsic data and imported segments.
max_refine_code_size: u32(W_C) The maximum size of Refine/Accumulate code.
basic_piece_len: u32(W_E) Number of octets in a erasure-coded piece.
max_imports: u32(W_M) Maximum number of imports in a Work Package.
erasure_coded_pieces: u32(W_P) The number of erasure-coded pieces in a segment
max_refine_memory: u32(W_R) The maximum amount of RAM which may be used by Refine/Accumulate code.
transfer_memo_size: u32(W_T) the size of the transfer memo
max_exports: u32(W_X) The maximum number of exports in a work package
ticket_submission_period: u32(Y) The ticket submission period
Implementations§
Source§impl Parameters
impl Parameters
Trait Implementations§
Source§impl Clone for Parameters
impl Clone for Parameters
Source§fn clone(&self) -> Parameters
fn clone(&self) -> Parameters
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more