Skip to content

Commit 1e9bc54

Browse files
committed
Document the use of milliseconds in proto spec
1 parent 60bd6bd commit 1e9bc54

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

coop-proto/cardano.proto

+4
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,15 @@ message TxOutRef {
2828

2929
message ExtendedLedgerTime {
3030
enum Extended {
31+
// Negative infinity: elapses immediately
3132
NEG_INF = 0;
33+
// Finite time: elapses at `finite_ledger_time`
3234
FINITE = 1;
35+
// Positive infinity: never elapses.
3336
POS_INF = 2;
3437
}
3538
Extended extended = 1;
39+
// Unix timestamp in milliseconds (ms)
3640
uint64 finite_ledger_time = 2;
3741
}
3842

0 commit comments

Comments
 (0)