core-lightning/common/test
Rusty Russell ae71a87c40 ccan: update to latest htable fixes, and update gossmap to meet new assertions.
Updating ccan to stricter htable revealed we were trying to put
(void *)1 in the htable, which is forbidden:

```
topology: ccan/ccan/htable/htable.c:382: htable_add_: Assertion `entry_is_valid((uintptr_t)p)' failed.
topology: FATAL SIGNAL 6 (version 1358d7f)
0x55f30c689c34 send_backtrace
	common/daemon.c:33
0x55f30c689ce0 crashdump
	common/daemon.c:46
0x7f5d150fe51f ???
	./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0x7f5d15152828 __pthread_kill_implementation
	./nptl/pthread_kill.c:44
0x7f5d15152828 __pthread_kill_internal
	./nptl/pthread_kill.c:80
0x7f5d15152828 __GI___pthread_kill
	./nptl/pthread_kill.c:91
0x7f5d150fe475 __GI_raise
	../sysdeps/posix/raise.c:26
0x7f5d150e47b6 __GI_abort
	./stdlib/abort.c:79
0x7f5d150e46da __assert_fail_base
	./assert/assert.c:92
0x7f5d150f5e25 __GI___assert_fail
	./assert/assert.c:101
0x55f30c6adbe4 htable_add_
	ccan/ccan/htable/htable.c:382
0x55f30c65f303 chanidx_htable_add
	common/gossmap.c:35
0x55f30c6605ed new_channel
	common/gossmap.c:337
0x55f30c6609cf add_channel
	common/gossmap.c:425
0x55f30c661101 map_catchup
	common/gossmap.c:607
0x55f30c66221e gossmap_refresh
	common/gossmap.c:927
0x55f30c66e3e9 get_gossmap
	plugins/topology.c:27
0x55f30c66f939 listpeers_done
	plugins/topology.c:369
0x55f30c671f46 handle_rpc_reply
	plugins/libplugin.c:558
0x55f30c672a19 rpc_read_response_one
	plugins/libplugin.c:726
0x55f30c672b4f rpc_conn_read_response
	plugins/libplugin.c:746
0x55f30c6ae35e next_plan
	ccan/ccan/io/io.c:59
0x55f30c6aef93 do_plan
	ccan/ccan/io/io.c:407
0x55f30c6aefd5 io_ready
	ccan/ccan/io/io.c:417
0x55f30c6b1371 io_loop
	ccan/ccan/io/poll.c:453
0x55f30c67587c plugin_main
	plugins/libplugin.c:1559
0x55f30c6708eb main
	plugins/topology.c:701
0x7f5d150e5fcf __libc_start_call_main
	../sysdeps/nptl/libc_start_call_main.h:58
0x7f5d150e607c __libc_start_main_impl
	../csu/libc-start.c:409
0x55f30c65d894 ???
	???:0
0xffffffffffffffff ???
	???:0
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-07-10 20:48:53 -05:00
..
Makefile ccan: update to latest htable fixes, and update gossmap to meet new assertions. 2022-07-10 20:48:53 -05:00
onion-test-v0.json sphinx: Introduce a runtest command to the onion tool 2019-07-30 02:14:49 +00:00
run-amount.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-base64.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-bigsize.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-blindedpath_enctlv.c common: generalize extract_channel_id(). 2021-12-30 09:50:40 +10:30
run-blindedpath_onion.c tools/generate_wire.py: make functions allocate the TLV. 2022-03-25 13:55:44 +10:30
run-bolt11.c bolt11: reorder invoice production to match test vectors. 2022-04-02 09:40:18 +10:30
run-bolt12_decode.c update-mocks: handle missing deprecated_apis. 2022-07-09 09:59:52 +09:30
run-bolt12_merkle-json.c tools/generate_wire.py: make functions allocate the TLV. 2022-03-25 13:55:44 +10:30
run-bolt12_merkle.c update-mocks: handle missing deprecated_apis. 2022-07-09 09:59:52 +09:30
run-bolt12_period.c update-mocks: handle missing deprecated_apis. 2022-07-09 09:59:52 +09:30
run-cryptomsg.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-derive_basepoints.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-features.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-gossmap_canned.c ccan: update to latest htable fixes, and update gossmap to meet new assertions. 2022-07-10 20:48:53 -05:00
run-gossmap_guess_node_id.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-gossmap_local.c gossip_store: add flag for spam gossip, update to v10 2022-07-06 14:31:19 +09:30
run-gossmap-fp16.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-ip_port_parsing.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-json_remove.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-json_scan.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-json.c json: fix up msat amounts in non-_msat fields. 2022-06-21 06:52:35 +09:30
run-key_derive.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-lease_rates.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-param.c common/param: support renaming options using "|<deprecatedname>". 2022-06-21 06:52:35 +09:30
run-psbt_diff.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-route_blinding_override_test.c json: fix up msat amounts in non-_msat fields. 2022-06-21 06:52:35 +09:30
run-route_blinding_test.c json: fix up msat amounts in non-_msat fields. 2022-06-21 06:52:35 +09:30
run-route-specific.c gossmap: handle case where private channel turns into public. 2022-06-27 17:21:35 +09:30
run-route.c psbt: use DER encoded + sighash byte for PSBT_IN_PARTIAL_SIG items 2022-06-09 18:28:35 +02:00
run-softref.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-sphinx-xor_cipher_stream.c lightningd: Restore forwarding of legacy onions. 2022-03-31 19:38:05 +10:30
run-sphinx.c common/tlvstream: put TLV checking back in the generic function. 2022-03-25 13:55:44 +10:30
run-wireaddr.c lightnind: removeDEFAULT_PORT global definition 2022-06-28 06:09:01 +09:30