mirror of
https://github.com/vacp2p/specs.git
synced 2026-01-09 21:17:58 -05:00
circuitv2: specify timestamp units for reservation expiration (#531)
The reservation expiration date is specified in seconds so be explicit about that in the spec in the same way we are explicit about the duration limit units.
This commit is contained in:
@@ -224,7 +224,7 @@ Reservation {
|
||||
}
|
||||
```
|
||||
|
||||
- the `expire` field contains the expiration time as a UTC UNIX time. The reservation becomes invalid after this time and it's the responsibility of the client to refresh.
|
||||
- the `expire` field contains the expiration time as a UTC UNIX time in seconds. The reservation becomes invalid after this time and it's the responsibility of the client to refresh.
|
||||
- the `addrs` field contains all the public relay addrs, including the peer ID of the relay node but not the
|
||||
trailing `p2p-circuit` part; the client can use this list to construct its
|
||||
own `p2p-circuit` relay addrs for advertising by encapsulating
|
||||
|
||||
Reference in New Issue
Block a user