public class ConfigSettingContractComputeV0 extends java.lang.Object implements XdrElement
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; };
Modifier and Type | Class and Description |
---|---|
static class |
ConfigSettingContractComputeV0.ConfigSettingContractComputeV0Builder |
Constructor and Description |
---|
ConfigSettingContractComputeV0() |
ConfigSettingContractComputeV0(Int64 ledgerMaxInstructions,
Int64 txMaxInstructions,
Int64 feeRatePerInstructionsIncrement,
Uint32 txMemoryLimit) |
Modifier and Type | Method and Description |
---|---|
static ConfigSettingContractComputeV0.ConfigSettingContractComputeV0Builder |
builder() |
static ConfigSettingContractComputeV0 |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static ConfigSettingContractComputeV0 |
fromXdrBase64(java.lang.String xdr) |
static ConfigSettingContractComputeV0 |
fromXdrByteArray(byte[] xdr) |
Int64 |
getFeeRatePerInstructionsIncrement() |
Int64 |
getLedgerMaxInstructions() |
Int64 |
getTxMaxInstructions() |
Uint32 |
getTxMemoryLimit() |
int |
hashCode() |
void |
setFeeRatePerInstructionsIncrement(Int64 feeRatePerInstructionsIncrement) |
void |
setLedgerMaxInstructions(Int64 ledgerMaxInstructions) |
void |
setTxMaxInstructions(Int64 txMaxInstructions) |
void |
setTxMemoryLimit(Uint32 txMemoryLimit) |
ConfigSettingContractComputeV0.ConfigSettingContractComputeV0Builder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static ConfigSettingContractComputeV0 decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static ConfigSettingContractComputeV0 fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static ConfigSettingContractComputeV0 fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static ConfigSettingContractComputeV0.ConfigSettingContractComputeV0Builder builder()
public ConfigSettingContractComputeV0.ConfigSettingContractComputeV0Builder toBuilder()
public Int64 getLedgerMaxInstructions()
public Int64 getTxMaxInstructions()
public Int64 getFeeRatePerInstructionsIncrement()
public Uint32 getTxMemoryLimit()
public void setLedgerMaxInstructions(Int64 ledgerMaxInstructions)
public void setTxMaxInstructions(Int64 txMaxInstructions)
public void setFeeRatePerInstructionsIncrement(Int64 feeRatePerInstructionsIncrement)
public void setTxMemoryLimit(Uint32 txMemoryLimit)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object