public class LedgerCloseMetaV2 extends java.lang.Object implements XdrElement
struct LedgerCloseMetaV2
{
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
TransactionResultMetaV1 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<>;
};
| Modifier and Type | Class and Description |
|---|---|
static class |
LedgerCloseMetaV2.LedgerCloseMetaV2Builder |
| Constructor and Description |
|---|
LedgerCloseMetaV2() |
LedgerCloseMetaV2(LedgerCloseMetaExt ext,
LedgerHeaderHistoryEntry ledgerHeader,
GeneralizedTransactionSet txSet,
TransactionResultMetaV1[] txProcessing,
UpgradeEntryMeta[] upgradesProcessing,
SCPHistoryEntry[] scpInfo,
Uint64 totalByteSizeOfLiveSorobanState,
LedgerKey[] evictedKeys) |
toXdrBase64, toXdrByteArraypublic LedgerCloseMetaV2()
public LedgerCloseMetaV2(LedgerCloseMetaExt ext, LedgerHeaderHistoryEntry ledgerHeader, GeneralizedTransactionSet txSet, TransactionResultMetaV1[] txProcessing, UpgradeEntryMeta[] upgradesProcessing, SCPHistoryEntry[] scpInfo, Uint64 totalByteSizeOfLiveSorobanState, LedgerKey[] evictedKeys)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static LedgerCloseMetaV2 decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic static LedgerCloseMetaV2 fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static LedgerCloseMetaV2 fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOExceptionpublic static LedgerCloseMetaV2.LedgerCloseMetaV2Builder builder()
public LedgerCloseMetaV2.LedgerCloseMetaV2Builder toBuilder()
public LedgerCloseMetaExt getExt()
public LedgerHeaderHistoryEntry getLedgerHeader()
public GeneralizedTransactionSet getTxSet()
public TransactionResultMetaV1[] getTxProcessing()
public UpgradeEntryMeta[] getUpgradesProcessing()
public SCPHistoryEntry[] getScpInfo()
public Uint64 getTotalByteSizeOfLiveSorobanState()
public LedgerKey[] getEvictedKeys()
public void setExt(LedgerCloseMetaExt ext)
public void setLedgerHeader(LedgerHeaderHistoryEntry ledgerHeader)
public void setTxSet(GeneralizedTransactionSet txSet)
public void setTxProcessing(TransactionResultMetaV1[] txProcessing)
public void setUpgradesProcessing(UpgradeEntryMeta[] upgradesProcessing)
public void setScpInfo(SCPHistoryEntry[] scpInfo)
public void setTotalByteSizeOfLiveSorobanState(Uint64 totalByteSizeOfLiveSorobanState)
public void setEvictedKeys(LedgerKey[] evictedKeys)
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