1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-02-23 14:40:34 +01:00
eclair/docs
Pierre-Marie Padiou b4d285f1c4
Proper types for UNIX timestamps (#1990)
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
}
```
2021-10-18 16:13:42 +02:00
..
release-notes Proper types for UNIX timestamps (#1990) 2021-10-18 16:13:42 +02:00
Architecture.md Remove the GUI (#1981) 2021-10-01 14:46:27 +02:00
Cluster.md Add cluster doc, and packaging improvements (#1646) 2020-12-18 11:36:24 +01:00
Configure.md Move path-finding examples to documentation (#1983) 2021-10-04 10:29:27 +02:00
Monitoring.md Fix a few typos (#1684) 2021-02-08 11:20:23 +01:00
PostgreSQL.md Fix a few typos (#1684) 2021-02-08 11:20:23 +01:00
Tor.md Make Tor optional for blockchain watchdogs (#1958) 2021-09-22 09:18:58 +02:00