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
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionConfigSettingContractBandwidthV0
(Uint32 ledgerMaxTxsSizeBytes, Uint32 txMaxSizeBytes, Int64 feeTxSize1KB) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setFeeTxSize1KB
(Int64 feeTxSize1KB) void
setLedgerMaxTxsSizeBytes
(Uint32 ledgerMaxTxsSizeBytes) void
setTxMaxSizeBytes
(Uint32 txMaxSizeBytes) toString()
default String
default 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
-