Package org.stellar.sdk.xdr
Class ConfigSettingContractBandwidthV0
java.lang.Object
org.stellar.sdk.xdr.ConfigSettingContractBandwidthV0
ConfigSettingContractBandwidthV0's original definition in the XDR file is:
struct ConfigSettingContractBandwidthV0
{
// Maximum sum of all transaction sizes in the ledger in bytes
uint32 ledgerMaxTxsSizeBytes;
// Maximum size in bytes for a transaction
uint32 txMaxSizeBytes;
// Fee for 1 KB of transaction size
int64 feeTxSize1KB;
};
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionConfigSettingContractBandwidthV0(Uint32 ledgerMaxTxsSizeBytes, Uint32 txMaxSizeBytes, Int64 feeTxSize1KB) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanfromXdrBase64(String xdr) fromXdrByteArray(byte[] xdr) inthashCode()voidsetFeeTxSize1KB(Int64 feeTxSize1KB) voidsetLedgerMaxTxsSizeBytes(Uint32 ledgerMaxTxsSizeBytes) voidsetTxMaxSizeBytes(Uint32 txMaxSizeBytes) toString()default Stringdefault byte[]
-
Constructor Details
-
ConfigSettingContractBandwidthV0
public ConfigSettingContractBandwidthV0() -
ConfigSettingContractBandwidthV0
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getLedgerMaxTxsSizeBytes
-
getTxMaxSizeBytes
-
getFeeTxSize1KB
-
setLedgerMaxTxsSizeBytes
-
setTxMaxSizeBytes
-
setFeeTxSize1KB
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-