rgb-cln/wallet
Christian Decker 4b899c766d db: Store the local alias for forwarded incoming payments
Not only can the outgoing edge be a zeroconf channel, it can also be
the incoming channel. So we revert to the usual trick of using the
local alias if the short_channel_id isn't known yet.

We use the LOCAL alias instead of the REMOTE alias even though the
sender likely used the REMOTE alias to refer to the channel. This is
because we control the LOCAL alias, and we keep it stable during the
lifetime of the channel, whereas the REMOTE one could change or not be
there yet.
2022-06-07 13:43:28 +02:00
..
test zeroconf: Add alias_remote and alias_local to channel and DB 2022-06-07 13:43:28 +02:00
.gitignore reorganize .gitignore entries across subdirs. 2021-05-18 09:43:50 +09:30
Makefile db: collapse the db_queries files into the generated ones 2022-03-05 15:03:34 +10:30
db.c zeroconf: Add alias_remote and alias_local to channel and DB 2022-06-07 13:43:28 +02:00
db.h database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
invoices.c delinvoice: allow desconly arg to only remove the description. 2022-03-29 10:04:16 +10:30
invoices.h delinvoice: allow desconly arg to only remove the description. 2022-03-29 10:04:16 +10:30
reservation.c fundpsbt: deprecate reserve=true/false usage. 2022-04-02 09:46:01 +10:30
txfilter.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
txfilter.h common: use bitcoin_outpoint. 2021-10-15 12:09:36 +02:00
wallet.c db: Store the local alias for forwarded incoming payments 2022-06-07 13:43:28 +02:00
wallet.h pay/sendpay: also store description in case bolt11 uses description_hash. 2022-04-04 20:26:04 +09:30
walletrpc.c lightningd: remove various deprecated JSON fields. 2022-05-18 10:15:36 +09:30
walletrpc.h daemons: remove unused functions or make static. 2021-12-06 10:05:39 +10:30