Class FixedPricingMode
Inheritance
FixedPricingMode
Assembly: Casper.Network.SDK.dll
Syntax
public class FixedPricingMode : IPricingMode
Properties
|
Edit this page
View Source
AdditionalComputationFactor
User-specified additional computation factor (minimum 0). If "0" is provided,
no additional logic is applied to the computation limit. Each value above "0"
tells the node that it needs to treat the transaction as if it uses more gas
than it's serialized size indicates. Each "1" will increase the "wasm lane"
size bucket for this transaction by 1. So if the size of the transaction
indicates bucket "0" and "additional_computation_factor = 2", the transaction
will be treated as a "2".
Declaration
[JsonPropertyName("additional_computation_factor")]
public byte AdditionalComputationFactor { get; init; }
Property Value
|
Edit this page
View Source
GasPriceTolerance
User-specified gas_price tolerance (minimum 1). This is interpreted to mean "do not include this
transaction in a block if the current gas price is greater than this number".
Declaration
[JsonPropertyName("gas_price_tolerance")]
public byte GasPriceTolerance { get; init; }
Property Value
Methods
|
Edit this page
View Source
ToBytes()
Declaration
Returns
Implements