Package org.stellar.sdk.xdr
Class ConfigSettingContractComputeV0
java.lang.Object
org.stellar.sdk.xdr.ConfigSettingContractComputeV0
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; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionConfigSettingContractComputeV0
(Int64 ledgerMaxInstructions, Int64 txMaxInstructions, Int64 feeRatePerInstructionsIncrement, Uint32 txMemoryLimit) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setFeeRatePerInstructionsIncrement
(Int64 feeRatePerInstructionsIncrement) void
setLedgerMaxInstructions
(Int64 ledgerMaxInstructions) void
setTxMaxInstructions
(Int64 txMaxInstructions) void
setTxMemoryLimit
(Uint32 txMemoryLimit) toString()
default String
default byte[]
-
Constructor Details
-
ConfigSettingContractComputeV0
public ConfigSettingContractComputeV0() -
ConfigSettingContractComputeV0
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getLedgerMaxInstructions
-
getTxMaxInstructions
-
getFeeRatePerInstructionsIncrement
-
getTxMemoryLimit
-
setLedgerMaxInstructions
-
setTxMaxInstructions
-
setFeeRatePerInstructionsIncrement
-
setTxMemoryLimit
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-