rgb-cln/wallet/test
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
..
.gitignore wallet: move tests into test/ dir like other unit tests. 2017-12-13 22:46:10 +01:00
Makefile Makefile: normalize all the Makefiles 2020-08-31 21:33:26 -05:00
run-db.c db: Add migration for the local basepoints and the funding pubkey 2021-03-09 14:58:29 +10:30
run-wallet.c lightningd: set "direction" correctly for connect which is already connected. 2021-03-26 13:22:33 +10:30
test_utils.c config: don't ignore the --commit-fee option. 2020-05-20 06:09:24 +09:30
test_utils.h fix: a pr2444 introduced valgrind complaint 2019-03-14 16:51:18 +01:00