mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-12 01:24:23 +01:00
torv2: remove support for advertizing and connecting.
October was the date Torv2 is no longer supported by the Tor Project; it will probably not work at all by next release, so we should remove it now even though it's not quite the 6 months we prefer for deprecation cycles. I still see 110 nodes advertizing Torv2 (vs 10,292 Torv3); we still parse and display it, we just don't advertize or connect to it. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
ecdc15591b
commit
2f247c7bfb
@@ -317,7 +317,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
case ADDR_INTERNAL_WIREADDR:
|
||||
switch (addr.u.wireaddr.type) {
|
||||
case ADDR_TYPE_TOR_V2:
|
||||
case ADDR_TYPE_TOR_V2_REMOVED:
|
||||
case ADDR_TYPE_TOR_V3:
|
||||
opt_usage_exit_fail("Don't support proxy use");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user