Expand description
Picking the remote a grant, epoch or visibility command talks to, the audience it signs for, and waiting for the server to finish (WP-2.14).
Structs§
- Target
- A Connect remote resolved from a remote name or an
mkit+https://URL.
Enums§
Functions§
- check_
audiences - SPEC-WRITE-GRANTS §3.2: a loopback audience is refused unless the remote
itself is a loopback
mkit+http://development remote. Every local deployment shares a loopback audience, so a statement signed for one would verify at all of them. - drive
- Call
calluntil it isCompletion::Done, waiting the server’sRetry-Afterbetween calls.callsends the same request every time: the caller signs once and re-sends the identical statement bytes (SPEC-WRITE-GRANTS §5.2: the same epoch is a retry), never a fresh nonce. - interruptible_
sleep - Sleep for
durationin short slices so Ctrl-C is prompt. Returns false if the process was asked to shut down. - resolve_
target - Resolve
argas a remote name, or take it as a URL if it starts withmkit+. With noarg, the user’strusted_remote_endpoint.