pub struct ProtocolParameters {Show 33 fields
pub min_fee_coefficient: u64,
pub min_fee_constant: AdaValue,
pub min_fee_reference_scripts: Option<MinFeeReferenceScripts>,
pub max_block_body_size: BlockSize,
pub max_block_header_size: BlockSize,
pub max_transaction_size: BlockSize,
pub stake_credential_deposit: AdaValue,
pub stake_pool_deposit: AdaValue,
pub stake_pool_retirement_epoch_bound: u64,
pub desired_number_of_stake_pools: u64,
pub stake_pool_pledge_influence: Ratio,
pub monetary_expansion: Ratio,
pub treasury_expansion: Ratio,
pub version: ProtocolVersion,
pub min_stake_pool_cost: AdaValue,
pub extra_entropy: Option<Nonce>,
pub min_utxo_deposit_coefficient: Option<u64>,
pub min_utxo_deposit_constant: Option<AdaValue>,
pub plutus_cost_models: Option<CostModels>,
pub script_execution_prices: Option<ScriptExecutionPrices>,
pub max_execution_units_per_transaction: Option<ExUnits>,
pub max_execution_units_per_block: Option<ExUnits>,
pub max_collateral_inputs: Option<u64>,
pub collateral_percentage: Option<u64>,
pub max_value_size: Option<BlockSize>,
pub delegate_representative_deposit: Option<AdaValue>,
pub delegate_representative_max_idle_time: Option<u64>,
pub governance_action_deposit: Option<AdaValue>,
pub governance_action_lifetime: Option<u64>,
pub constitutional_committee_min_size: Option<u64>,
pub constitutional_committee_max_term_length: Option<u64>,
pub stake_pool_voting_thresholds: Option<StakePoolVotingThresholds>,
pub delegate_representative_voting_thresholds: Option<DelegateRepresentativeVotingThresholds>,
}Expand description
Protocol parameters for Cardano.
Fields§
§min_fee_coefficient: u64Minimum fee coefficient (per byte).
min_fee_constant: AdaValueMinimum fee constant.
min_fee_reference_scripts: Option<MinFeeReferenceScripts>Minimum fee for reference scripts.
max_block_body_size: BlockSizeMaximum block body size in bytes.
max_block_header_size: BlockSizeMaximum block header size in bytes.
max_transaction_size: BlockSizeMaximum transaction size in bytes.
stake_credential_deposit: AdaValueStake key deposit.
stake_pool_deposit: AdaValuePool registration deposit.
stake_pool_retirement_epoch_bound: u64Pool retirement epoch bound.
desired_number_of_stake_pools: u64Desired number of stake pools.
stake_pool_pledge_influence: RatioStake pool pledge influence (a0).
monetary_expansion: RatioMonetary expansion (rho).
treasury_expansion: RatioTreasury expansion (tau).
version: ProtocolVersionProtocol version.
min_stake_pool_cost: AdaValueMinimum stake pool cost.
extra_entropy: Option<Nonce>Extra entropy (deprecated, always neutral).
min_utxo_deposit_coefficient: Option<u64>Minimum UTXO deposit coefficient (lovelace per byte).
min_utxo_deposit_constant: Option<AdaValue>Minimum UTXO deposit constant.
plutus_cost_models: Option<CostModels>Plutus cost models.
script_execution_prices: Option<ScriptExecutionPrices>Script execution prices.
max_execution_units_per_transaction: Option<ExUnits>Maximum execution units per transaction.
max_execution_units_per_block: Option<ExUnits>Maximum execution units per block.
max_collateral_inputs: Option<u64>Maximum collateral inputs.
collateral_percentage: Option<u64>Collateral percentage.
max_value_size: Option<BlockSize>Maximum value size in bytes.
delegate_representative_deposit: Option<AdaValue>DRep deposit (Conway).
delegate_representative_max_idle_time: Option<u64>DRep max idle time (Conway).
governance_action_deposit: Option<AdaValue>Governance action deposit (Conway).
governance_action_lifetime: Option<u64>Governance action lifetime (Conway).
constitutional_committee_min_size: Option<u64>Constitutional committee min size (Conway).
constitutional_committee_max_term_length: Option<u64>Constitutional committee max term length (Conway).
stake_pool_voting_thresholds: Option<StakePoolVotingThresholds>Stake pool voting thresholds (Conway).
delegate_representative_voting_thresholds: Option<DelegateRepresentativeVotingThresholds>DRep voting thresholds (Conway).