Skip to content
Snippets Groups Projects
Commit 61a1cfeb authored by Matt Traudt's avatar Matt Traudt
Browse files

Log what exit was picked to help measure a relay

Also the consensus weight of each

GH: closes #142
parent 848abbc5
No related branches found
No related tags found
No related merge requests found
......@@ -148,6 +148,9 @@ def measure_relay(args, conf, destinations, cb, rl, relay):
return None
exit = rng.choice(exits)
# Build the circuit
log.debug('We selected exit %s %s (cw=%d) to help measure %s %s (cw=%d)',
exit.nickname, exit.fingerprint[0:8], exit.bandwidth,
relay.nickname, relay.fingerprint[0:8], relay.bandwidth)
our_nick = conf['scanner']['nickname']
circ_fps = [relay.fingerprint, exit.fingerprint]
circ_id = cb.build_circuit(circ_fps)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment