Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Stellar-ledger.x
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ struct StellarValue
case STELLAR_VALUE_SIGNED_MS:
struct
{
uint32 closeTimeMs; // millisecond component of closeTime, [0, 999]
TimePointMilliseconds closeTimeMs; // closeTime == closeTimeMs / 1000
LedgerCloseValueSignature lcValueSignature;
} signedMsValue;
case STELLAR_VALUE_EMPTY_TX_SET_MS:
struct
{
uint32 closeTimeMs; // millisecond component of closeTime, [0, 999]
TimePointMilliseconds closeTimeMs; // closeTime == closeTimeMs / 1000
Hash txSetHash;
Hash previousLedgerHash;
uint32 previousLedgerVersion;
Expand Down
4 changes: 4 additions & 0 deletions Stellar-types.x
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ typedef hyper int64;

typedef uint64 TimePoint;
typedef uint64 Duration;
#ifdef MS_CLOSE_TIME
// Milliseconds since the Unix epoch. TimePoint is whole seconds.
typedef uint64 TimePointMilliseconds;
#endif // MS_CLOSE_TIME

// An ExtensionPoint is always marshaled as a 32-bit 0 value. At a
// later point, it can be replaced by a different union so as to
Expand Down
Loading