Closes #1538. Refactors 'onionservicesonly' to 'onlynet=onion', prevents bootstrapping from non-onion nodes when true, and prevents bootstrapping from any node but the trusted peer (when set) #1694

Open
sgj3 wants to merge 2 commits from sgj3/issue1538 into v0.6

2 Commits

Author SHA1 Message Date
George McCandless
3b58e1f251
bootstrap: Respect 'onlynet=onion' and, when a trusted peer is set, connect only to that trusted peer. 2020-12-08 01:19:27 +00:00
George McCandless
7b168b7041
Closes #1538. Changes 'onionservicesonly=true' to 'onlynet=onion'.
Old-style 'onionservicesonly' is deprecated but still accepted.
The configuration option will be upgraded upon the first GUI settings update.
2020-12-08 01:19:27 +00:00