tordam

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

commit 35119a0520a9674773b63fdc229a1eabe6b3ab82
parent c2eda2650c7f4656d810557b7d536968600a5956
Author: parazyd <parazyd@dyne.org>
Date:   Tue, 20 Feb 2018 12:21:05 +0100

Add TODO note in dam-client.

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

diff --git a/cmd/dam-client/main.go b/cmd/dam-client/main.go @@ -170,6 +170,9 @@ func fetchDirlist(locations []string) ([]string, error) { } } } + + // TODO: fill dirSlice with info from our redis and start making a hydra. + if len(dirSlice) < 1 { log.Fatalln("Couldn't get any directories. Exiting.") } else if len(dirSlice) <= 6 {