public class LedgerCloseMetaV0 extends java.lang.Object implements XdrElement
struct LedgerCloseMetaV0
{
LedgerHeaderHistoryEntry ledgerHeader;
// NB: txSet is sorted in "Hash order"
TransactionSet 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<>;
};
| Modifier and Type | Class and Description |
|---|---|
static class |
LedgerCloseMetaV0.LedgerCloseMetaV0Builder |
| Constructor and Description |
|---|
LedgerCloseMetaV0() |
LedgerCloseMetaV0(LedgerHeaderHistoryEntry ledgerHeader,
TransactionSet txSet,
TransactionResultMeta[] txProcessing,
UpgradeEntryMeta[] upgradesProcessing,
SCPHistoryEntry[] scpInfo) |
toXdrBase64, toXdrByteArraypublic LedgerCloseMetaV0()
public LedgerCloseMetaV0(LedgerHeaderHistoryEntry ledgerHeader, TransactionSet txSet, TransactionResultMeta[] txProcessing, UpgradeEntryMeta[] upgradesProcessing, SCPHistoryEntry[] scpInfo)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static LedgerCloseMetaV0 decode(XdrDataInputStream stream, int maxDepth) throws java.io.IOException
java.io.IOExceptionpublic static LedgerCloseMetaV0 decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic static LedgerCloseMetaV0 fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static LedgerCloseMetaV0 fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOExceptionpublic static LedgerCloseMetaV0.LedgerCloseMetaV0Builder builder()
public LedgerCloseMetaV0.LedgerCloseMetaV0Builder toBuilder()
public LedgerHeaderHistoryEntry getLedgerHeader()
public TransactionSet getTxSet()
public TransactionResultMeta[] getTxProcessing()
public UpgradeEntryMeta[] getUpgradesProcessing()
public SCPHistoryEntry[] getScpInfo()
public void setLedgerHeader(LedgerHeaderHistoryEntry ledgerHeader)
public void setTxSet(TransactionSet txSet)
public void setTxProcessing(TransactionResultMeta[] txProcessing)
public void setUpgradesProcessing(UpgradeEntryMeta[] upgradesProcessing)
public void setScpInfo(SCPHistoryEntry[] scpInfo)
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