@network-harness/discovery-directory
v0.2.0
Published
Part of the network harness: @network-harness/discovery-directory.
Readme
@network-harness/discovery-directory
A discovery provider backed by an HTTP directory: the simplest mechanism that makes nodes findable.
It is a provider rather than the mechanism, so a node can run it beside others and drop it without anything else changing. The wire protocol lives here, with the client, because the client is the only thing that has to speak it -- the directory service implements this side of it and depends on this package for the schemas and for what each signature covers.
The provider signs with the node key through ctx.identity and never sees it.
Every write carries the key it was signed with, so the directory can check that
a node is claiming an id its own key derives.
