rgb-cln/wallet
Rusty Russell 006300ab96 lightningd: set "direction" correctly for connect which is already connected.
This means remembering the connection direction.  We also use the address to try
to reconnect, which we shouldn't bother with if they connect to us.

For peers from the database, we currently always save the addr: we shouldn't really
do this if they connected to us, since it's not useful for reconnecting (we don't
show the addr in JSON reply to listpeers unless we're connected, so it's only an
internal issue).  This is left for future work.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-03-26 13:22:33 +10:30
..
test lightningd: set "direction" correctly for connect which is already connected. 2021-03-26 13:22:33 +10:30
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
Makefile Makefile: fix bashism in NO_PYTHON 2020-10-26 21:28:36 -05:00
db.c wallet: out "wrong_funding" information in the db for persistence. 2021-03-16 13:08:40 +10:30
db.h db: add helper for db_col_psbt 2020-10-20 12:50:31 +10:30
db_common.h allow building without sqlite3 2020-08-30 12:44:56 +02:00
db_postgres.c Makefile: make check-includes check all the non-generated files. 2020-10-22 12:14:34 +10:30
db_postgres_sqlgen.c lightningd: set "direction" correctly for connect which is already connected. 2021-03-26 13:22:33 +10:30
db_sqlite3.c Makefile: make check-includes check all the non-generated files. 2020-10-22 12:14:34 +10:30
db_sqlite3_sqlgen.c lightningd: set "direction" correctly for connect which is already connected. 2021-03-26 13:22:33 +10:30
invoices.c invoice: handle bolt12 strings if EXPERIMENTAL_FEATURES. 2020-12-15 12:05:02 +01:00
invoices.h invoice: add an optional local_offer_id. 2020-12-15 12:05:02 +01:00
reservation.c reservations: add weight of fee-output to weight calculation 2021-02-04 13:25:34 -06:00
statements_gettextgen.po lightningd: set "direction" correctly for connect which is already connected. 2021-03-26 13:22:33 +10:30
txfilter.c common: tal_dup_talarr() helper. 2020-02-27 14:16:16 +10:30
txfilter.h pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 2019-04-09 12:37:16 -07:00
wallet.c lightningd: set "direction" correctly for connect which is already connected. 2021-03-26 13:22:33 +10:30
wallet.h inflight: add a 'channel-inflight' concept, in-progress channel stuffs 2021-03-03 12:28:22 +10:30
walletrpc.c channel: skip unsaved channels 2021-03-03 16:19:04 -06:00
walletrpc.h common: pull up `param_psbt` 2020-10-20 12:50:31 +10:30