core-lightning/wallet
Rusty Russell 73cd009a4c gossipd/lightningd: use wireaddr_internal.
This replacement is a little menial, but it explicitly catches all
the places where we allow a local socket.  The actual implementation of
opening a AF_UNIX socket is almost hidden in the patch.

The detection of "valid address" is now more complex:

	p->addr.itype != ADDR_INTERNAL_WIREADDR || p->addr.u.wireaddr.type != ADDR_TYPE_PADDING

But most places we do this, we should audit: I'm pretty sure we can't
get an invalid address any more from gossipd (they may be in db, but
we should fix that too).

Closes: #1323
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-05-07 22:37:28 +02:00
..
test gossipd/lightningd: use wireaddr_internal. 2018-05-07 22:37:28 +02:00
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
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
Makefile wallet: add check-source to makefile. 2018-03-07 18:55:51 +01: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 gossipd/lightningd: use wireaddr_internal. 2018-05-07 22:37:28 +02: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