StellarValueXdr

data class StellarValueXdr(val txSetHash: HashXdr, val closeTime: TimePointXdr, val upgrades: List<UpgradeTypeXdr>, val ext: StellarValueExtXdr)

XDR Source: struct StellarValue { Hash txSetHash; // transaction set to apply to previous ledger TimePoint closeTime; // network close time

// upgrades to apply to the previous ledger (usually empty)
// this is a vector of encoded 'LedgerUpgrade' so that nodes can drop
// unknown steps during consensus if needed.
// see notes below on 'LedgerUpgrade' for more detail
// max size is dictated by number of upgrade types (+ room for future)
UpgradeType upgrades<6>;

// reserved for future use
union switch (StellarValueType v)
{
case STELLAR_VALUE_BASIC:
    void;
case STELLAR_VALUE_SIGNED:
    LedgerCloseValueSignature lcValueSignature;
}
ext;

};

Constructors

Link copied to clipboard
constructor(txSetHash: HashXdr, closeTime: TimePointXdr, upgrades: List<UpgradeTypeXdr>, ext: StellarValueExtXdr)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

network close time

Link copied to clipboard
Link copied to clipboard

transaction set to apply to previous ledger

Link copied to clipboard

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)