Package org.stellar.sdk.xdr
Class LedgerCloseMetaV0
java.lang.Object
org.stellar.sdk.xdr.LedgerCloseMetaV0
LedgerCloseMetaV0's original definition in the XDR file is:
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<>; };
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionLedgerCloseMetaV0
(LedgerHeaderHistoryEntry ledgerHeader, TransactionSet txSet, TransactionResultMeta[] txProcessing, UpgradeEntryMeta[] upgradesProcessing, SCPHistoryEntry[] scpInfo) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static LedgerCloseMetaV0
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static LedgerCloseMetaV0
fromXdrBase64
(String xdr) static LedgerCloseMetaV0
fromXdrByteArray
(byte[] xdr) getTxSet()
int
hashCode()
void
setLedgerHeader
(LedgerHeaderHistoryEntry ledgerHeader) void
setScpInfo
(SCPHistoryEntry[] scpInfo) void
setTxProcessing
(TransactionResultMeta[] txProcessing) void
setTxSet
(TransactionSet txSet) void
setUpgradesProcessing
(UpgradeEntryMeta[] upgradesProcessing) toString()
default String
default byte[]
-
Constructor Details
-
LedgerCloseMetaV0
public LedgerCloseMetaV0() -
LedgerCloseMetaV0
public LedgerCloseMetaV0(LedgerHeaderHistoryEntry ledgerHeader, TransactionSet txSet, TransactionResultMeta[] txProcessing, UpgradeEntryMeta[] upgradesProcessing, SCPHistoryEntry[] scpInfo)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getLedgerHeader
-
getTxSet
-
getTxProcessing
-
getUpgradesProcessing
-
getScpInfo
-
setLedgerHeader
-
setTxSet
-
setTxProcessing
-
setUpgradesProcessing
-
setScpInfo
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-