cln/doc
Rusty Russell 703d737dd5 xpay: don't crash on circular routehints.
We earlier fixed the cases of gossipd inserting a same-node channel,
but didn't prevent it for local modifications:

```
cln-askrene: common/gossmap.c:52: nodeidx_htable_add: Assertion `!nodeidx_htable_getmatch_(ht, k, h, v, &i)' failed.
cln-askrene: FATAL SIGNAL 6 (version v26.06rc2-5-gd389c3f-modded)
0x5c50e80dd5cb send_backtrace
        common/daemon.c:38
0x5c50e80dd685 crashdump
        common/daemon.c:83
0x70a5b1e4532f ???
        ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0x70a5b1e9eb2c __pthread_kill_implementation
        ./nptl/pthread_kill.c:44
0x70a5b1e9eb2c __pthread_kill_internal
        ./nptl/pthread_kill.c:78
0x70a5b1e9eb2c __GI___pthread_kill
        ./nptl/pthread_kill.c:89
0x70a5b1e4527d __GI_raise
        ../sysdeps/posix/raise.c:26
0x70a5b1e288fe __GI_abort
        ./stdlib/abort.c:79
0x70a5b1e2881a __assert_fail_base
        ./assert/assert.c:96
0x70a5b1e3b516 __assert_fail
        ./assert/assert.c:105
0x5c50e80dfb44 nodeidx_htable_add
        common/gossmap.c:52
0x5c50e80e1066 add_channel
        common/gossmap.c:515
0x5c50e80e327c gossmap_apply_localmods
        common/gossmap.c:1239
0x5c50e80bed55 do_getroutes
        plugins/askrene/askrene.c:620
0x5c50e80bf919 listpeerchannels_done
```

Reported-by: Won Hoi Kim and Ahmad Elmoursi
Changelog-Fixed: Plugins: xpay no longer crashes on circular bolt11 routehints.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2026-06-01 11:40:01 +02:00
..
beginners-guide lightningd: remove decodepay. 2026-01-20 19:32:42 +10:30
contribute-to-core-lightning doc: update post-release instructions. 2026-04-30 20:09:31 +09:30
developers-guide schemas: remove old deprecations, add missing deprecations/added fields 2026-05-20 18:40:47 +09:30
getting-started CI: remove focal and add resolute Ubuntu builds 2026-05-28 08:31:55 +02:00
miscellaneous move old misc file to another folder 2023-07-16 12:59:40 +09:30
node-operators-guide global: use lightning-hsmtool not hsmtool. 2025-11-28 09:16:53 +10:30
schemas xpay: don't crash on circular routehints. 2026-06-01 11:40:01 +02:00
.gitignore doc: document the sql command. 2023-01-30 15:15:41 -06:00
CHANGELOG.md docs: Add configuration for the sphinx documentation generator 2019-02-18 02:42:29 +00:00
COVERAGE.md Add comprehensive coverage infrastructure with clang source-based coverage 2025-12-08 16:37:02 +01:00
index.rst xpay: add sendamount command 2026-05-11 20:29:39 +09:30
LICENSE.md docs: Add LICENSE to the About section 2023-03-25 15:40:35 +10:30
lightning-cli.1.md doc: Update json and markdowns to make them .mdx compatible 2026-01-20 15:22:31 +10:30
lightning-downgrade.8.md doc: Update json and markdowns to make them .mdx compatible 2026-01-20 15:22:31 +10:30
lightning-hsmtool.8.md doc: Update json and markdowns to make them .mdx compatible 2026-01-20 15:22:31 +10:30
lightning-reckless.1.md doc: Update json and markdowns to make them .mdx compatible 2026-01-20 15:22:31 +10:30
lightningd-config.5.md bwatch: gate chain polling behind --experimental-bwatch 2026-05-11 15:51:05 +09:30
lightningd-rpc.7.md doc: Update json and markdowns to make them .mdx compatible 2026-01-20 15:22:31 +10:30
lightningd.8.md doc: Update json and markdowns to make them .mdx compatible 2026-01-20 15:22:31 +10:30
Makefile xpay: add sendamount command 2026-05-11 20:29:39 +09:30
reckless.7.md docs: Updated schema for mdx compatibility 2025-12-18 10:27:15 +10:30
rpc-schema-draft.json doc: fix all JSON schemas to enforce no additional properties. 2024-10-30 15:39:12 +10:30
undoc-flags.list tools/check-manpage.sh: update undoc to a simple list. 2023-08-18 20:29:34 +09:30