Package org.stellar.sdk.xdr
Class ConfigSettingContractComputeV0
java.lang.Object
org.stellar.sdk.xdr.ConfigSettingContractComputeV0
- All Implemented Interfaces:
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;
};
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionConfigSettingContractComputeV0(Int64 ledgerMaxInstructions, Int64 txMaxInstructions, Int64 feeRatePerInstructionsIncrement, Uint32 txMemoryLimit) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanfromXdrBase64(String xdr) fromXdrByteArray(byte[] xdr) inthashCode()voidsetFeeRatePerInstructionsIncrement(Int64 feeRatePerInstructionsIncrement) voidsetLedgerMaxInstructions(Int64 ledgerMaxInstructions) voidsetTxMaxInstructions(Int64 txMaxInstructions) voidsetTxMemoryLimit(Uint32 txMemoryLimit) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
ConfigSettingContractComputeV0
public ConfigSettingContractComputeV0() -
ConfigSettingContractComputeV0
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- 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
-