mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-23 14:40:34 +01:00
We define `TimestampSecond` and `TimestampMilli` for second and millisecond precision UNIX-style timestamps. Let me know what you think of the syntaxic sugar, I went for `123456 unixsec` and `123456789 unixms`. Json serialization is as follows for resp. second and millisecond precision. Note that in both case we display the unix format in second precision, but the iso format is more precise: ``` { "iso": "2021-10-04T14:32:41Z", "unix": 1633357961 } { "iso": "2021-10-04T14:32:41.456Z", "unix": 1633357961 } ``` |
||
---|---|---|
.. | ||
release-notes | ||
Architecture.md | ||
Cluster.md | ||
Configure.md | ||
Monitoring.md | ||
PostgreSQL.md | ||
Tor.md |