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
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionLedgerCloseMetaV1(LedgerCloseMetaExt ext, LedgerHeaderHistoryEntry ledgerHeader, GeneralizedTransactionSet txSet, TransactionResultMeta[] txProcessing, UpgradeEntryMeta[] upgradesProcessing, SCPHistoryEntry[] scpInfo, Uint64 totalByteSizeOfBucketList, LedgerKey[] evictedTemporaryLedgerKeys, LedgerEntry[] evictedPersistentLedgerEntries) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static LedgerCloseMetaV1decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic LedgerCloseMetaV1fromXdrBase64(String xdr) static LedgerCloseMetaV1fromXdrByteArray(byte[] xdr) getExt()getTxSet()inthashCode()voidsetEvictedPersistentLedgerEntries(LedgerEntry[] evictedPersistentLedgerEntries) voidsetEvictedTemporaryLedgerKeys(LedgerKey[] evictedTemporaryLedgerKeys) voidsetExt(LedgerCloseMetaExt ext) voidsetLedgerHeader(LedgerHeaderHistoryEntry ledgerHeader) voidsetScpInfo(SCPHistoryEntry[] scpInfo) voidsetTotalByteSizeOfBucketList(Uint64 totalByteSizeOfBucketList) voidsetTxProcessing(TransactionResultMeta[] txProcessing) voidvoidsetUpgradesProcessing(UpgradeEntryMeta[] upgradesProcessing) toString()default Stringdefault 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
-