Package org.stellar.sdk.xdr
Class LedgerCloseMetaV1
java.lang.Object
org.stellar.sdk.xdr.LedgerCloseMetaV1
LedgerCloseMetaV1's original definition in the XDR file is:
struct LedgerCloseMetaV1 { LedgerCloseMetaExt ext; LedgerHeaderHistoryEntry ledgerHeader; GeneralizedTransactionSet txSet; // NB: transactions are sorted in apply order here // fees for all transactions are processed first // followed by applying transactions TransactionResultMeta txProcessing<>; // upgrades are applied last UpgradeEntryMeta upgradesProcessing<>; // other misc information attached to the ledger close SCPHistoryEntry scpInfo<>; // Size in bytes of BucketList, to support downstream // systems calculating storage fees correctly. uint64 totalByteSizeOfBucketList; // Temp keys that are being evicted at this ledger. LedgerKey evictedTemporaryLedgerKeys<>; // Archived restorable ledger entries that are being // evicted at this ledger. LedgerEntry evictedPersistentLedgerEntries<>; };
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionLedgerCloseMetaV1
(LedgerCloseMetaExt ext, LedgerHeaderHistoryEntry ledgerHeader, GeneralizedTransactionSet txSet, TransactionResultMeta[] txProcessing, UpgradeEntryMeta[] upgradesProcessing, SCPHistoryEntry[] scpInfo, Uint64 totalByteSizeOfBucketList, LedgerKey[] evictedTemporaryLedgerKeys, LedgerEntry[] evictedPersistentLedgerEntries) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static LedgerCloseMetaV1
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static LedgerCloseMetaV1
fromXdrBase64
(String xdr) static LedgerCloseMetaV1
fromXdrByteArray
(byte[] xdr) getExt()
getTxSet()
int
hashCode()
void
setEvictedPersistentLedgerEntries
(LedgerEntry[] evictedPersistentLedgerEntries) void
setEvictedTemporaryLedgerKeys
(LedgerKey[] evictedTemporaryLedgerKeys) void
setExt
(LedgerCloseMetaExt ext) void
setLedgerHeader
(LedgerHeaderHistoryEntry ledgerHeader) void
setScpInfo
(SCPHistoryEntry[] scpInfo) void
setTotalByteSizeOfBucketList
(Uint64 totalByteSizeOfBucketList) void
setTxProcessing
(TransactionResultMeta[] txProcessing) void
void
setUpgradesProcessing
(UpgradeEntryMeta[] upgradesProcessing) toString()
default String
default byte[]
-
Constructor Details
-
LedgerCloseMetaV1
public LedgerCloseMetaV1() -
LedgerCloseMetaV1
public LedgerCloseMetaV1(LedgerCloseMetaExt ext, LedgerHeaderHistoryEntry ledgerHeader, GeneralizedTransactionSet txSet, TransactionResultMeta[] txProcessing, UpgradeEntryMeta[] upgradesProcessing, SCPHistoryEntry[] scpInfo, Uint64 totalByteSizeOfBucketList, LedgerKey[] evictedTemporaryLedgerKeys, LedgerEntry[] evictedPersistentLedgerEntries)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getExt
-
getLedgerHeader
-
getTxSet
-
getTxProcessing
-
getUpgradesProcessing
-
getScpInfo
-
getTotalByteSizeOfBucketList
-
getEvictedTemporaryLedgerKeys
-
getEvictedPersistentLedgerEntries
-
setExt
-
setLedgerHeader
-
setTxSet
-
setTxProcessing
-
setUpgradesProcessing
-
setScpInfo
-
setTotalByteSizeOfBucketList
-
setEvictedTemporaryLedgerKeys
-
setEvictedPersistentLedgerEntries
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-