tordam

A library for peer discovery inside the Tor network
git clone https://git.parazyd.org/tordam
Log | Files | Refs | README | LICENSE

commit 43eb442184673b5e515cd0b300647a528365f1b3
parent 981caf61355876ee9b99b19201a3f96fc1298048
Author: parazyd <parazyd@dyne.org>
Date:   Mon, 11 Dec 2017 22:49:01 +0100

Add TODO note about node promotion.

Diffstat:
Mcmd/dam-dir/main.go | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/cmd/dam-dir/main.go b/cmd/dam-dir/main.go @@ -86,6 +86,8 @@ func handlePost(rw http.ResponseWriter, request *http.Request) { len(n.Message) == 0 || len(n.Signature) == 0 { return } + // TODO: When a node wants to promote itself from something it already was, + // what to do? switch n.Nodetype { case "node": log.Println("Client of type:", n.Nodetype)