[tor-dev] descriptor sync finished event after disabling UseMicrodescritors

nusenu nusenu-lists at riseup.net
Fri May 7 12:11:14 UTC 2021


Hi,

what is the best way to find out when descriptor fetching is completed 
after temporarily disabling microdescriptors on a running tor client daemon?
The temporary disabling of microdescriptors is done using this line in a python script using stem:

controller.set_conf('UseMicrodescriptors', '0')

Is there a better way than to try and re-try after 10 seconds in a loop via controller.get_server_descriptors() ?

I also noticed that fetching takes significantly longer when microdescriptors are disabled temporarily when compared to 
adding 
UseMicrodescriptors 0 
to the torrc file persistently and restarting the tor client.

Can I tell tor to "fetch now" directly after
controller.set_conf('UseMicrodescriptors', '0')
via an additional control command?

kind regards,
nusenu

-- 
https://nusenu.github.io


More information about the tor-dev mailing list