public class LedgerCloseMetaV1 extends java.lang.Object implements XdrElement
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 live Soroban state, to support downstream
// systems calculating storage fees correctly.
uint64 totalByteSizeOfLiveSorobanState;
// TTL and data/code keys that have been evicted at this ledger.
LedgerKey evictedKeys<>;
// Maintained for backwards compatibility, should never be populated.
LedgerEntry unused<>;
};
| Modifier and Type | Class and Description |
|---|---|
static class |
LedgerCloseMetaV1.LedgerCloseMetaV1Builder |
| Constructor and Description |
|---|
LedgerCloseMetaV1() |
LedgerCloseMetaV1(LedgerCloseMetaExt ext,
LedgerHeaderHistoryEntry ledgerHeader,
GeneralizedTransactionSet txSet,
TransactionResultMeta[] txProcessing,
UpgradeEntryMeta[] upgradesProcessing,
SCPHistoryEntry[] scpInfo,
Uint64 totalByteSizeOfLiveSorobanState,
LedgerKey[] evictedKeys,
LedgerEntry[] unused) |
toXdrBase64, toXdrByteArraypublic LedgerCloseMetaV1()
public LedgerCloseMetaV1(LedgerCloseMetaExt ext, LedgerHeaderHistoryEntry ledgerHeader, GeneralizedTransactionSet txSet, TransactionResultMeta[] txProcessing, UpgradeEntryMeta[] upgradesProcessing, SCPHistoryEntry[] scpInfo, Uint64 totalByteSizeOfLiveSorobanState, LedgerKey[] evictedKeys, LedgerEntry[] unused)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static LedgerCloseMetaV1 decode(XdrDataInputStream stream, int maxDepth) throws java.io.IOException
java.io.IOExceptionpublic static LedgerCloseMetaV1 decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic static LedgerCloseMetaV1 fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static LedgerCloseMetaV1 fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOExceptionpublic static LedgerCloseMetaV1.LedgerCloseMetaV1Builder builder()
public LedgerCloseMetaV1.LedgerCloseMetaV1Builder toBuilder()
public LedgerCloseMetaExt getExt()
public LedgerHeaderHistoryEntry getLedgerHeader()
public GeneralizedTransactionSet getTxSet()
public TransactionResultMeta[] getTxProcessing()
public UpgradeEntryMeta[] getUpgradesProcessing()
public SCPHistoryEntry[] getScpInfo()
public Uint64 getTotalByteSizeOfLiveSorobanState()
public LedgerKey[] getEvictedKeys()
public LedgerEntry[] getUnused()
public void setExt(LedgerCloseMetaExt ext)
public void setLedgerHeader(LedgerHeaderHistoryEntry ledgerHeader)
public void setTxSet(GeneralizedTransactionSet txSet)
public void setTxProcessing(TransactionResultMeta[] txProcessing)
public void setUpgradesProcessing(UpgradeEntryMeta[] upgradesProcessing)
public void setScpInfo(SCPHistoryEntry[] scpInfo)
public void setTotalByteSizeOfLiveSorobanState(Uint64 totalByteSizeOfLiveSorobanState)
public void setEvictedKeys(LedgerKey[] evictedKeys)
public void setUnused(LedgerEntry[] unused)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object