The "onion:" server-side listeners currently do the following:
if you specified a control-port in the onion-string, connect to that tor
call get_global_tor() and use the launched tor
As ephemeral services become available, it is possible to connect to system (or TBB) Tors to add onion services. This means: pass the private-key material in the string and:
if get_global_tor() ever got called, use that tor
try 9051 as a control-port, and add the onion if that worked
try 9151 as a control-port and add the onion if that worked
call get_global_tor ourselves and launch a new tor
The "onion:" server-side listeners currently do the following:
As ephemeral services become available, it is possible to connect to system (or TBB) Tors to add onion services. This means: pass the private-key material in the string and: