From c1beb4b74578caaff8f5fb3c330bfd08388edd02 Mon Sep 17 00:00:00 2001 From: Alex Myers Date: Thu, 7 Dec 2023 06:44:05 +1030 Subject: [PATCH] db: add private channel inbound fields This will be used for generating route hints rather than private gossip --- wallet/db.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wallet/db.c b/wallet/db.c index 33e322aaf..3215f86cd 100644 --- a/wallet/db.c +++ b/wallet/db.c @@ -1011,6 +1011,11 @@ static struct migration dbmigrations[] = { {SQL("CREATE INDEX forwards_updated_idx ON forwards (updated_index)"), NULL}, {NULL, migrate_initialize_forwards_wait_indexes}, {SQL("ALTER TABLE channel_funding_inflights ADD force_sign_first INTEGER DEFAULT 0"), NULL}, + {SQL("ALTER TABLE channels ADD remote_feerate_base INTEGER DEFAULT NULL;"), NULL}, + {SQL("ALTER TABLE channels ADD remote_feerate_ppm INTEGER DEFAULT NULL;"), NULL}, + {SQL("ALTER TABLE channels ADD remote_cltv_expiry_delta INTEGER DEFAULT NULL;"), NULL}, + {SQL("ALTER TABLE channels ADD remote_htlc_maximum_msat BIGINT DEFAULT NULL;"), NULL}, + {SQL("ALTER TABLE channels ADD remote_htlc_minimum_msat BIGINT DEFAULT NULL;"), NULL}, }; /**