LedgerCloseMetaV0Xdr

data class LedgerCloseMetaV0Xdr(val ledgerHeader: LedgerHeaderHistoryEntryXdr, val txSet: TransactionSetXdr, val txProcessing: List<TransactionResultMetaXdr>, val upgradesProcessing: List<UpgradeEntryMetaXdr>, val scpInfo: List<SCPHistoryEntryXdr>)

XDR Source: 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<>;

};

Constructors

Link copied to clipboard
constructor(ledgerHeader: LedgerHeaderHistoryEntryXdr, txSet: TransactionSetXdr, txProcessing: List<TransactionResultMetaXdr>, upgradesProcessing: List<UpgradeEntryMetaXdr>, scpInfo: List<SCPHistoryEntryXdr>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

NB: txSet is sorted in "Hash order"

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)