Casper.Network.SDK
Show / Hide Table of Contents

Class FixedPricingMode

Inheritance
object
FixedPricingMode
Implements
IPricingMode
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Casper.Network.SDK.Types
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
Type Description
byte
| 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
Type Description
byte

Methods

| Edit this page View Source

ToBytes()

Declaration
public byte[] ToBytes()
Returns
Type Description
byte[]

Implements

IPricingMode
  • Edit this page
  • View Source
In this article
Back to top Maintained by MAKE Technology LLC