Skip to content

Invalid local_channel_announcement after a successful splice #6572

Description

@hMsats

Issue and Steps to Reproduce

I promised to retry a splice after my previous issue was fixed. All went fine and 100 ksats were added to my main node, except that my test node (02aecde3b3dde450889755d4dbce538e6b9e9dfa7702d14b5bc5c4379e1b330392) was no longer visible in listnodes of my main node (as was briefly mentioned in my previous issue), although it was visible in listpeerchannels of my main node. I use listnodes to get aliases. Restarted my test node and this time it didn't crash anymore! After the restart of my test node, it was visible in the listnodes of my main node but without the alias and other information:

      {
         "nodeid": "02aecde3b3dde450889755d4dbce538e6b9e9dfa7702d14b5bc5c4379e1b330392"
      },

while others show more info, for example:

      {
         "nodeid": "03b9aacb265dc5ebde04b91b28f7c8bb6ba0af146e5f37426915742daf8f195a09",
         "alias": "DeutscheBank|CLN",
         "color": "0018a8",
         "last_timestamp": 1686594519,
         "features": "88a0802a0a69a2",
         "addresses": [
            {
               "type": "ipv4",
               "address": "90.146.208.162",
               "port": 9735
            },
            {
               "type": "ipv6",
               "address": "fe80::3bc7:c09f:5a3e:f7ab:9735",
               "port": 9735
            },
            {
               "type": "torv3",
               "address": "bafx5t6dmxwm5ocwawt2o6yrdlyksuqt7c6liylopkok4y3rnytqghid.onion",
               "port": 9735
            }
         ]
      },

Note that my main node is perfectly visible in the listnodes of my test node. Restarted my main node but that didn't help, the alias of my test node is still not visible in the listnodes of my main node.

Here is the output of my main node (see UNUSUAL and BROKEN):

2023-08-16T04:06:48.504Z INFO    plugin-clnrest.py: Killing plugin: disabled itself: No module named 'flask'
2023-08-16T04:06:52.889Z INFO    plugin-bcli: bitcoin-cli initialized and connected to bitcoind.
2023-08-16T04:06:59.619Z INFO    lightningd: --------------------------------------------------
2023-08-16T04:06:59.619Z INFO    lightningd: Server started with public key 02888244029c5909593038ab19f269947c720de3423e491791b46c7c92f76279b6, alias bitcoinserver.nl (color #028882) and lightningd v23.08rc2-17-gc67f1f9
2023-08-16T04:13:05.466Z INFO    03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f-channeld-chan#49387: Peer connection lost
2023-08-16T04:13:05.466Z INFO    03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f-chan#49387: Peer transient failure in CHANNELD_NORMAL: channeld: Owning subdaemon channeld died (62208)
2023-08-16T04:15:26.564Z INFO    lightningd: Resolved invoice '2bujgd6tk0vde32qdntkasa0oi' with amount 667000msat in 1 htlcs
2023-08-16T04:20:23.781Z INFO    03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f-channeld-chan#49387: Peer connection lost
2023-08-16T04:20:23.781Z INFO    03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f-chan#49387: Peer transient failure in CHANNELD_NORMAL: channeld: Owning subdaemon channeld died (62208)
2023-08-16T04:21:39.962Z UNUSUAL 02aecde3b3dde450889755d4dbce538e6b9e9dfa7702d14b5bc5c4379e1b330392-channeld-chan#49388: STFU complete: we are quiescent
2023-08-16T04:21:39.962Z UNUSUAL 02aecde3b3dde450889755d4dbce538e6b9e9dfa7702d14b5bc5c4379e1b330392-channeld-chan#49388: STFU complete: setting stfu_wait_single_msg = true
2023-08-16T04:21:41.214Z INFO    02aecde3b3dde450889755d4dbce538e6b9e9dfa7702d14b5bc5c4379e1b330392-channeld-chan#49388: Splice signing tx: 0200000002441755b5fefed3068b77d387f14c6488781fdce936ad58da4e44c3f9c6a04ba70100000000fdffffffde64e00f50613b9db44f65848ba391cad78eac87c3f9f37c8cead2c7367ed7de00000000000000000002a39801000000000022512049325308db47447f07080d4685b0f9cc3857a587bb8da4764b963d6d6a327fb8801a0600000000002200205f77d335059966a0d3069135995e6f76597c6f1bdc8ced3eafbdb97059ba4f7444420c00
2023-08-16T04:21:41.244Z INFO    02aecde3b3dde450889755d4dbce538e6b9e9dfa7702d14b5bc5c4379e1b330392-chan#49388: State changed from CHANNELD_NORMAL to CHANNELD_AWAITING_SPLICE
2023-08-16T04:24:01.045Z INFO    02db3bce6ad28505ec56254e3c27b912f3d3723d7573e3b4174368b80ebf8f2ba8-channeld-chan#49298: Peer connection lost
2023-08-16T04:24:01.069Z INFO    02db3bce6ad28505ec56254e3c27b912f3d3723d7573e3b4174368b80ebf8f2ba8-chan#49298: Peer transient failure in CHANNELD_NORMAL: channeld: Owning subdaemon channeld died (62208)
2023-08-16T04:24:01.069Z INFO    02db3bce6ad28505ec56254e3c27b912f3d3723d7573e3b4174368b80ebf8f2ba8-channeld-chan#49310: Peer connection lost
2023-08-16T04:24:01.069Z INFO    02db3bce6ad28505ec56254e3c27b912f3d3723d7573e3b4174368b80ebf8f2ba8-chan#49310: Peer transient failure in CHANNELD_NORMAL: channeld: Owning subdaemon channeld died (62208)
2023-08-16T04:30:56.093Z INFO    03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f-channeld-chan#49387: Peer connection lost
2023-08-16T04:30:56.094Z INFO    03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f-chan#49387: Peer transient failure in CHANNELD_NORMAL: channeld: Owning subdaemon channeld died (62208)
2023-08-16T04:31:47.685Z INFO    03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f-channeld-chan#49387: Peer connection lost
2023-08-16T04:31:47.686Z INFO    03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f-chan#49387: Peer transient failure in CHANNELD_NORMAL: channeld: Owning subdaemon channeld died (62208)
2023-08-16T04:39:36.761Z INFO    03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f-channeld-chan#49387: Peer connection lost
2023-08-16T04:39:36.781Z INFO    03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f-chan#49387: Peer transient failure in CHANNELD_NORMAL: channeld: Owning subdaemon channeld died (62208)
2023-08-16T04:43:05.316Z INFO    02aecde3b3dde450889755d4dbce538e6b9e9dfa7702d14b5bc5c4379e1b330392-chan#49388: State changed from CHANNELD_AWAITING_SPLICE to CHANNELD_NORMAL
2023-08-16T04:43:50.280Z **BROKEN** 02aecde3b3dde450889755d4dbce538e6b9e9dfa7702d14b5bc5c4379e1b330392-gossipd: invalid local_channel_announcement 0bbe02aecde3b3dde450889755d4dbce538e6b9e9dfa7702d14b5bc5c4379e1b33039201b00100650e273449796e8d3b5295a63f22b87bd460eb57f1e4d678ce0f1aee61eaec7c46aaa2389c36cee4f7b9cc9bb2ead4a063ffcfc1054f285a8919e1dc657bd101142d60f21483cbf56f102e28d251bac956e67f41d386e59183766888a7c2322875ed42cb88a871764f92c0af2458e21bfe2cdb2b6a977ec227e525a53ace5a8f3c83a06cae9a58356ead11e4eda126305eb466d671dc9804385f89e244599c703a8ae86c392a4e458e0a0cbb9b06cc37f2750437fd1db14e76fc05823ecf393043c7b6f60423074209208bb65286fe20a74d42246e81c0c65a8f53b092ac5c884d15a2de96692fbc97c515d14c9f3a8919d19ff233c68ed5bcd1b19e16332f6300006fe28c0ab6f1b372c1a6a246ae63f74f931e8365e15a089c68d61900000000000c4246000087000102888244029c5909593038ab19f269947c720de3423e491791b46c7c92f76279b602aecde3b3dde450889755d4dbce538e6b9e9dfa7702d14b5bc5c4379e1b330392036c80f806562299e8feb61210d094a7e19bfbbb7c78c3fd428241a91945e07d660380b33e2775a40fc4d8123a559e1ea8e17d9ad0edd729f8ac6cf49808db1943a6 (000100000000000000000000000000000000000000000000000000000000000000000460426164206e6f64655f7369676e61747572655f3120333034343032323036353065323733343439373936653864336235323935613633663232623837626434363065623537663165346436373863653066316165653631656165633763303232303436616161323338396333366365653466376239636339626232656164346130363366666366633130353466323835613839313965316463363537626431303120686173682063363932376262646536333132623836303736343833613764663665303065643563316332666164653431306434306632323733353965653163353935613965206f6e206368616e6e656c5f616e6e6f756e63656d656e7420303130303635306532373334343937393665386433623532393561363366323262383762643436306562353766316534643637386365306631616565363165616563376334366161613233383963333663656534663762396363396262326561643461303633666663666331303534663238356138393139653164633635376264313031313432643630663231343833636266353666313032653238643235316261633935366536376634316433383665353931383337363638383861376332333232383735656434326362383861383731373634663932633061663234353865323162666532636462326236613937376563323237653532356135336163653561386633633833613036636165396135383335366561643131653465646131323633303565623436366436373164633938303433383566383965323434353939633730336138616538366333393261346534353865306130636262396230366363333766323735303433376664316462313465373666633035383233656366333933303433633762366636303432333037343230393230386262363532383666653230613734643432323436653831633063363561386635336230393261633563383834643135613264653936363932666263393763353135643134633966336138393139643139666632333363363865643562636431623139653136333332663633303030303666653238633061623666316233373263316136613234366165363366373466393331653833363565313561303839633638643631393030303030303030303030633432343630303030383730303031303238383832343430323963353930393539333033386162313966323639393437633732306465333432336534393137393162343663376339326637363237396236303261656364653362336464653435303838393735356434646263653533386536623965396466613737303264313462356263356334333739653162333330333932303336633830663830363536323239396538666562363132313064303934613765313962666262623763373863336664343238323431613931393435653037643636303338306233336532373735613430666334643831323361353539653165613865313764396164306564643732396638616336636634393830386462313934336136)
2023-08-16T04:49:06.665Z INFO    022f3bfa1de8491bad95ea018b17d47efbfe713cd2da59ad5fc380198612b8954a-channeld-chan#49131: Peer connection lost
2023-08-16T04:49:06.690Z INFO    022f3bfa1de8491bad95ea018b17d47efbfe713cd2da59ad5fc380198612b8954a-chan#49131: Peer transient failure in CHANNELD_NORMAL: channeld: Owning subdaemon channeld died (62208)
2023-08-16T04:50:49.639Z INFO    lightningd: Resolved invoice '7hvf8u2p8p3vmrl1g184jkki3p' with amount 667000msat in 1 htlcs

EDIT:

1: stopped my test node, removed the test node gossip_store and restarted the test node -> alias still not visible at my main node

2: stopped my test node, deleted payments and invoices from the test node lightningd.sqlite3 -> alias almost immediately visible again at my main node (sqlite3 -header -line lightningd.sqlite3 'DELETE FROM payments'; sqlite3 -header -line lightningd.sqlite3 'DELETE FROM invoices')

getinfo output

Both nodes are: "version": "v23.08rc2-17-gc67f1f9",

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions