Class ConfigSettingContractComputeV0

java.lang.Object
org.stellar.sdk.xdr.ConfigSettingContractComputeV0
All Implemented Interfaces:
XdrElement

public class ConfigSettingContractComputeV0 extends Object implements XdrElement
ConfigSettingContractComputeV0's original definition in the XDR file is:
 struct ConfigSettingContractComputeV0
 {
     // Maximum instructions per ledger
     int64 ledgerMaxInstructions;
     // Maximum instructions per transaction
     int64 txMaxInstructions;
     // Cost of 10000 instructions
     int64 feeRatePerInstructionsIncrement;

     // Memory limit per transaction. Unlike instructions, there is no fee
     // for memory, just the limit.
     uint32 txMemoryLimit;
 };
 
  • Constructor Details

    • ConfigSettingContractComputeV0

      public ConfigSettingContractComputeV0()
    • ConfigSettingContractComputeV0

      public ConfigSettingContractComputeV0(Int64 ledgerMaxInstructions, Int64 txMaxInstructions, Int64 feeRatePerInstructionsIncrement, Uint32 txMemoryLimit)
      Creates a new ConfigSettingContractComputeV0 instance.
      Parameters:
      ledgerMaxInstructions - the ledgerMaxInstructions field value
      txMaxInstructions - the txMaxInstructions field value
      feeRatePerInstructionsIncrement - the feeRatePerInstructionsIncrement field value
      txMemoryLimit - the txMemoryLimit field value
  • Method Details