rgb-cln/wallet
Rusty Russell 5a0bc83b20 Tor: don't do seed queries if we're supposed to always use proxy.
Risks leakage.  We could do lookup via the proxy, but that's a TODO.

There's only one occurance of getaddrinfo (and no gethostbyname), so
we add a flag to the callers.

Note: the use of --always-use-proxy suppresses *all* DNS lookups, even
those from connect commands and the command line.

FIXME: An implicit setting of use_proxy_always is done in gossipd if it
determines that we are announcing nothing but Tor addresses, but that
does *not* suppress 'connect'.

This is fixed in a later patch.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-05-10 02:28:44 +00:00
..
test Initial TOR v2/v3 support. 2018-05-10 02:28:44 +00:00
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
Makefile wallet: add check-source to makefile. 2018-03-07 18:55:51 +01:00
db.c db: full location tags for callers, make it implicit. 2018-04-27 16:20:35 +02:00
db.h db: full location tags for callers, make it implicit. 2018-04-27 16:20:35 +02:00
invoices.c db: track open sqlite3_stmt in DEVELOPER mode. 2018-04-27 16:20:35 +02:00
invoices.h invoice: Check duplicate preimage when explicitly sprcified. 2018-04-26 05:47:09 +00:00
txfilter.c Reduce variable scopes 2018-03-26 01:31:21 +00:00
txfilter.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00
wallet.c Tor: don't do seed queries if we're supposed to always use proxy. 2018-05-10 02:28:44 +00:00
wallet.h invoice: Check duplicate preimage when explicitly sprcified. 2018-04-26 05:47:09 +00:00
walletrpc.c Removed redundancies in withdraw and fundchannel. 2018-05-03 18:20:20 +02:00
walletrpc.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00