Skip to content

Commit

Permalink
circuitv2: specify timestamp units for reservation expiration (#531)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
achingbrain authored Mar 21, 2023
1 parent d4b5fb0 commit aac4e1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relay/circuit-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aac4e1f

Please sign in to comment.