test version

This commit is contained in:
2024-08-01 03:18:45 +01:00
commit e21cecd178
28 changed files with 1263 additions and 0 deletions

8
util/get_consensus.py Normal file
View File

@@ -0,0 +1,8 @@
from stem.control import Controller
with Controller.from_port(port = 9051) as controller:
controller.authenticate("password")
print("List of relays found on the network:")
for desc in controller.get_network_statuses():
print("%s (%s) at %s" % (desc.nickname, desc.fingerprint, desc.address))