cln/common
daywalker90 c95bc8712e wire_sync: tolerate a non-blocking fd when reading/writing a message
On macOS under load, subdaemons intermittently die:

  connectd: **BROKEN** STATUS_FAIL_HSM_IO: No hsmd ECDH response
  channeld: exits 0 after WIRE_HSMD_GET_PER_COMMITMENT_POINT

Both are a synchronous wire_sync_read() returning NULL on a fresh
connection.  The HSM fd in a subdaemon is one end of a socketpair created
by hsmd (whose io loop sets O_NONBLOCK on the other end) and passed
hsmd -> lightningd -> subdaemon via SCM_RIGHTS.  On macOS the O_NONBLOCK
flag follows the shared open file description across that chain, so the
subdaemon's fd can be non-blocking, and read()/write() return EAGAIN
before hsmd's (fast) reply has landed.  Linux keeps the descriptions
independent, which is why this never reproduces there.

The previous attempts to force the fd blocking from the subdaemon
(io_fd_block in ecdh_hsmd_setup) cannot win, because hsmd owns the other
end of the same open file description and keeps it non-blocking.

Fix at the shared choke point instead: make wire_sync_read() and
wire_sync_write() tolerant of O_NONBLOCK by polling on EAGAIN and
resuming, preserving any partial read.  "Sync" then really means "read or
write a complete message", regardless of the fd's blocking state.  This
covers connectd's ecdh(), channeld's hsm_req(), and every other subdaemon
that does synchronous HSM I/O (openingd, closingd, onchaind).

Also drop the now-unneeded io_fd_block() toggling from ecdh_hsmd_setup(),
and include errno in the HSM I/O failure messages so a recurrence is
diagnosable from the daemon log.

Changelog-Fixed: connectd: fix intermittent "No hsmd ECDH response" crash on macOS under load (issue #9060).
2026-08-12 12:43:05 +02:00
..
test Add unit tests for str_to_u64 2026-08-04 18:51:43 -03:00
addr.c common: make encode_scriptpubkey_to_addr take explicit len. 2026-03-23 09:22:04 +10:30
addr.h common: make encode_scriptpubkey_to_addr take explicit len. 2026-03-23 09:22:04 +10:30
amount.c amount: Can add sat convenience method 2026-03-21 07:28:30 +10:00
amount.h amount: Can add sat convenience method 2026-03-21 07:28:30 +10:00
autodata.c common: clean up autodata in common_shutdown(). 2021-11-17 10:51:48 +10:30
autodata.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
base32.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
base32.h
base64.c fuzz-tests: Enhance b64_encode() validation with roundtrip decoding 2025-07-08 12:54:56 +09:30
base64.h fuzz-tests: Enhance b64_encode() validation with roundtrip decoding 2025-07-08 12:54:56 +09:30
bech32.c common: rename bech32_encode parameter 2023-05-27 15:06:31 +09:30
bech32.h common: rename bech32_encode parameter 2023-05-27 15:06:31 +09:30
bech32_util.c Revert "Bolt quote updates and improvements" 2026-06-18 13:22:14 +09:30
bech32_util.h bech32: check for invalid/unnecessary trailing bits. 2026-04-30 20:09:31 +09:30
bigsize.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
bigsize.h Remove varint typedef for bigsize 2020-09-23 16:30:36 +09:30
billboard.c build: allow DEVELOPER builds with -Og and gcc 9.4.0 2022-09-19 10:18:55 +09:30
billboard.h channeld/dualopend/lightningd: use channel_ready everywhere. 2022-09-12 09:34:52 +09:30
bip32.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
bip32.h
blindedpath.c global: add the "easy" missing quotes. 2026-04-30 12:17:43 +09:30
blindedpath.h global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
blindedpay.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
blindedpay.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
blinding.c BOLTs: update which renames blinding terminology. 2024-10-16 07:14:32 +10:30
blinding.h BOLTs: update which renames blinding terminology. 2024-10-16 07:14:32 +10:30
blockheight_states.c common: remove type_to_string files altogther. 2024-03-20 13:51:48 +10:30
blockheight_states.h global: expose all fmt_X functions for direct use, make uniform. 2024-03-20 13:51:48 +10:30
bolt11.c Revert "Bolt quote updates and improvements" 2026-06-18 13:22:14 +09:30
bolt11.h common/bolt12: use a const char * for fail reason. 2026-05-11 11:13:55 +09:30
bolt11_json.c common: make encode_scriptpubkey_to_addr take explicit len. 2026-03-23 09:22:04 +10:30
bolt11_json.h common/bolt11_json: extract bolt11->json code. 2021-01-09 14:34:35 +10:30
bolt12.c Revert "Bolt quote updates and improvements" 2026-06-18 13:22:14 +09:30
bolt12.h common/bolt12: use a const char * for fail reason. 2026-05-11 11:13:55 +09:30
bolt12_id.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
bolt12_id.h common/bolt12_id: generate alias tweak. 2024-08-01 12:31:48 +09:30
bolt12_merkle.c bolt12: generate payer_proof JSON test vectors. 2026-05-11 11:13:55 +09:30
bolt12_merkle.h common: expose is_signature_field as is_tlv_signature_field. 2026-05-11 11:13:55 +09:30
bolt12_proof.c common: don't use a dummy zero field for payer proofs. 2026-05-21 11:30:15 +09:30
bolt12_proof.h offers: add createproof API. 2026-05-11 11:13:55 +09:30
channel_config.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
channel_config.h BOLT quotes: split cross-section quotes; prepare for new ... semantics. 2026-04-30 12:17:43 +09:30
channel_id.c global: more missing BOLT quotes. 2026-04-30 12:17:43 +09:30
channel_id.h splice: Add plugin for magic “splice all” command 2024-11-12 06:42:52 +10:30
channel_type.c global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
channel_type.h lightningd: always tell openingd/dualopend what channel type we want. 2025-08-13 14:20:28 +09:30
clock_time.c common/clock_time: wrapper for time_now() so we can override it. 2025-11-13 21:21:29 +10:30
clock_time.h common/clock_time: wrapper for time_now() so we can override it. 2025-11-13 21:21:29 +10:30
close_tx.c common/close_tx: add create_simple_close_tx() for option_simple_close 2026-07-02 13:30:16 -03:00
close_tx.h common/close_tx: add create_simple_close_tx() for option_simple_close 2026-07-02 13:30:16 -03:00
closing_fee.h
codex32.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
codex32.h codex32: use "cl" instead of "ms" as our HRP. 2023-08-02 16:12:32 +09:30
coin_mvt.c global: use clock_time in place of time_now(). 2025-11-13 21:21:29 +10:30
coin_mvt.h global: use clock_time in place of time_now(). 2025-11-13 21:21:29 +10:30
configdir.c Remove litecoin support. 2025-10-26 20:31:45 +10:30
configdir.h common: return location of a ".setconfig" file when we load config. 2025-02-24 19:38:37 +10:30
configvar.c setconfig: fix crash on dynamic multi-value plugin options 2026-05-11 15:49:10 +09:30
configvar.h setconfig: make source for setconfig "setconfig transient". 2025-02-24 19:38:37 +10:30
crypto_state.h per_peer_state: remove struct crypto_state 2022-01-20 15:24:06 +10:30
cryptomsg.c BOLT quotes: split cross-section quotes; prepare for new ... semantics. 2026-04-30 12:17:43 +09:30
cryptomsg.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
daemon.c common/clock_time: wrapper for time_now() so we can override it. 2025-11-13 21:21:29 +10:30
daemon.h pyln-testing: use DEBUG_LIGHTNINGD to start gdb on lightningd during test. 2024-03-20 11:18:36 +10:30
daemon_conn.c common: fix dangling memory allocation in daemon_conn_new_() 2025-09-04 13:29:29 +09:30
daemon_conn.h common/daemon_conn: add function to read an fd. 2022-07-18 20:50:04 -05:00
decode_array.c global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
decode_array.h Makefile: update to BOLTs without zlib. 2022-05-19 09:47:32 +09:30
deprecation.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
deprecation.h Makefile: add CLN_NEXT_VERSION, functions encoding deprecation schedule. 2024-01-26 10:30:22 +10:30
derive_basepoints.c common/utils: macros to help get copy/compare across different types right. 2024-07-23 09:54:47 +09:30
derive_basepoints.h common: remove #if DEVELOPER. 2023-09-21 20:08:24 +09:30
descriptor_checksum.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
descriptor_checksum.h common: add a descriptor checksum computation module 2020-11-10 10:34:13 -06:00
dev_disconnect.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
dev_disconnect.h dev_disconnect: add '<' to close after an incoming msg. 2025-01-27 11:07:04 +10:30
dijkstra.c global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
dijkstra.h common: fix dijkstra scoring. 2024-03-07 14:09:14 +01:00
ecdh.h
ecdh_hsmd.c wire_sync: tolerate a non-blocking fd when reading/writing a message 2026-08-12 12:43:05 +02:00
ecdh_hsmd.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
errcode.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
features.c common: add OPT_SIMPLE_CLOSE feature bit (60/61) 2026-07-02 13:30:16 -03:00
features.h common: add OPT_SIMPLE_CLOSE feature bit (60/61) 2026-07-02 13:30:16 -03:00
fee_states.c common: allow current_feerate under 253 in marginal_feerate(). 2026-04-02 10:39:02 +10:30
fee_states.h channeld: Adjust the feerate security margin profile 2024-05-13 14:06:45 -05:00
fp16.c common: extract fp16 routines into their own file. 2021-02-04 12:02:36 +10:30
fp16.h common: extract fp16 routines into their own file. 2021-02-04 12:02:36 +10:30
gossip_constants.h global: add the "easy" missing quotes. 2026-04-30 12:17:43 +09:30
gossip_store.c common: expose gossip_store "header and type" single-read struct. 2026-02-16 17:23:33 +10:30
gossip_store.h common: expose gossip_store "header and type" single-read struct. 2026-02-16 17:23:33 +10:30
gossip_store_wire.csv common: move gossip_store_wire.csv into common/ from gossipd/ 2026-02-16 17:23:33 +10:30
gossmap.c wire/splice: rename messages and TLV fields per updated BOLTs 2026-06-19 09:38:06 +09:30
gossmap.h xpay: don't crash on circular routehints. 2026-06-01 11:40:01 +02:00
gossmods_listpeerchannels.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
gossmods_listpeerchannels.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
hash_str.h common: hoist hash_str helper into its own header. 2026-08-04 18:51:43 -03:00
hash_u5.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
hash_u5.h
hmac.c common/utils: macros to help get copy/compare across different types right. 2024-07-23 09:54:47 +09:30
hmac.h common/sphinx: don't make copy to compute packet hmac. 2020-12-11 15:51:24 +01:00
hsm_capable.c global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
hsm_capable.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
hsm_secret.c common: expose validate_mnemonic so the option can use it. 2026-01-13 22:36:01 +10:30
hsm_secret.h common: expose validate_mnemonic so the option can use it. 2026-01-13 22:36:01 +10:30
hsm_version.h hsmd: remove unused "sign_local_htlc_tx" function which onchaind used to use. 2026-01-20 19:32:42 +10:30
htlc.h common: add a new WILL_SEND flag to HTLC states. 2026-03-17 13:54:16 +10:30
htlc_state.c common: add a new WILL_SEND flag to HTLC states. 2026-03-17 13:54:16 +10:30
htlc_state.h
htlc_trim.c global: add the "easy" missing quotes. 2026-04-30 12:17:43 +09:30
htlc_trim.h global: thread zero fee option everywhere. 2023-06-29 11:28:47 -04:00
htlc_tx.c global: thread zero fee option everywhere. 2023-06-29 11:28:47 -04:00
htlc_tx.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
htlc_wire.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
htlc_wire.h htlc_wire: fix crash when adding an HTLC 2025-08-27 14:14:31 +09:30
initial_channel.c common: remove take() leak if new_initial_channel() fails. 2025-10-23 06:44:04 +10:30
initial_channel.h global: expose all fmt_X functions for direct use, make uniform. 2024-03-20 13:51:48 +10:30
initial_commit_tx.c common: add amount_msat_deduct / amount_msat_deduct_sub. 2025-11-17 10:56:18 +10:30
initial_commit_tx.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
interactivetx.c wire/splice: rename messages and TLV fields per updated BOLTs 2026-06-19 09:38:06 +09:30
interactivetx.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
iso4217.c common: hoist amount+currency parsing into common code. 2026-08-04 18:51:43 -03:00
iso4217.h common: hoist amount+currency parsing into common code. 2026-08-04 18:51:43 -03:00
json_blinded_path.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
json_blinded_path.h common: move json_to_blinded_path into its own file. 2024-05-12 19:11:43 -05:00
json_channel_type.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
json_channel_type.h common: move json_add_channel_type from lightningd/ 2024-01-29 13:40:34 +10:30
json_command.c lightningd: check command should return as much detail as possible. 2024-06-25 08:47:50 +09:30
json_command.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
json_filter.c common/json_filter: routine to turn "filter" JSON into a filter. 2022-11-09 20:25:58 +10:30
json_filter.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
json_param.c common: extract param_string_array from xpay into common. 2026-05-11 15:51:05 +09:30
json_param.h common: extract param_string_array from xpay into common. 2026-05-11 15:51:05 +09:30
json_parse.c common: add helpers for bitcoin blockids. 2026-05-11 15:51:05 +09:30
json_parse.h common: add helpers for bitcoin blockids. 2026-05-11 15:51:05 +09:30
json_parse_simple.c common: implement str_to_u64, make json_to_u64 use it. 2026-08-04 18:51:43 -03:00
json_parse_simple.h lightningd: internal cleanups since all non-command JSON IDs are strings. 2026-08-04 18:51:43 -03:00
json_stream.c common/json_stream: use json_out_addstrn for better efficiency. 2026-05-11 15:51:05 +09:30
json_stream.h common: add helpers for bitcoin blockids. 2026-05-11 15:51:05 +09:30
jsonrpc_errors.h askrene: give clearer error codes. 2026-08-04 18:51:43 -03:00
jsonrpc_io.c common: increase jsonrpc_io buffer size temporarily to aggrevate perf issues. 2025-11-20 16:30:50 +10:30
jsonrpc_io.h libplugin: use jsonrpc_io logic for sync requests too. 2025-10-24 11:28:57 +10:30
key_derive.c BOLT quotes: split cross-section quotes; prepare for new ... semantics. 2026-04-30 12:17:43 +09:30
key_derive.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
keyset.c common: update bolt to neaten pubkey descriptions. 2025-02-11 20:19:01 -06:00
keyset.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
lease_rates.c global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
lease_rates.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
Makefile common: hoist hash_str helper into its own header. 2026-08-04 18:51:43 -03:00
memleak.c memleak: make notleak() work even before memleak is initalized. 2025-10-24 11:30:17 +10:30
memleak.h common: add new_htable() macro to allocate, initialize and setup memleak coverage for any typed hash table. 2025-10-24 11:30:17 +10:30
mkdatastorekey.c common: add mkdatastorekey helper to make string arrays. 2026-03-23 14:03:17 +10:00
mkdatastorekey.h common: add mkdatastorekey helper to make string arrays. 2026-03-23 14:03:17 +10:00
msg_queue.c common: export helper membuf_tal_realloc. 2025-10-24 11:28:57 +10:30
msg_queue.h msg_queue: don't allow magic MSG_PASS_FD message for peers. 2022-01-20 15:24:06 +10:30
node_id.c common/node_id: runtime assertion override, not separate compile time for fuzzing. 2025-10-23 06:44:04 +10:30
node_id.h common/node_id: runtime assertion override, not separate compile time for fuzzing. 2025-10-23 06:44:04 +10:30
onion_decode.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
onion_decode.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
onion_encode.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
onion_encode.h common: remove unused type field. 2026-02-03 15:35:36 +10:30
onion_message.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
onion_message.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
onion_message_parse.c global: add the "easy" missing quotes. 2026-04-30 12:17:43 +09:30
onion_message_parse.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
onionreply.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
onionreply.h
overflows.h overflows: helpers for integer assignment overflows. 2021-07-20 13:28:38 -04:00
peer_billboard.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
peer_billboard.h
peer_failed.c global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
peer_failed.h Makefile: run fuzzing corpora as normal unit tests in non-fuzzing mode. 2025-10-23 06:44:04 +10:30
peer_io.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
peer_io.h connectd: do nagle by packet type. 2022-01-20 15:24:06 +10:30
peer_status_wire.csv common: add peer_failed_warn_nodisconnect routine for non-disconnecting warnings 2023-10-23 15:48:50 +10:30
penalty_base.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
penalty_base.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
per_peer_state.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
per_peer_state.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
permute_tx.c Update libwally to 0.8.8, support PSBTv2 2023-03-23 16:10:55 +10:30
permute_tx.h common: remove unused functions or make static. 2021-12-06 10:05:39 +10:30
ping.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
ping.h channeld: restore ping command, but only for channeld. 2021-10-10 15:32:57 +02:00
plugin.c core: notify plugins when a log line is emitted. 2024-05-17 13:03:12 -05:00
plugin.h core: notify plugins when a log line is emitted. 2024-05-17 13:03:12 -05:00
psbt_internal.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
psbt_internal.h channeld: Code to implement splicing 2023-07-31 21:00:22 +09:30
psbt_keypath.c common: don't abort() if wally_psbt_output_taproot_keypath_add() fails. 2025-11-19 07:23:39 +10:30
psbt_keypath.h common: don't abort() if wally_psbt_output_taproot_keypath_add() fails. 2025-11-19 07:23:39 +10:30
psbt_open.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
psbt_open.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
pseudorand.c pseudorand: make the results in deterministic mode per-caller. 2025-11-13 21:21:29 +10:30
pseudorand.h pseudorand: make the results in deterministic mode per-caller. 2025-11-13 21:21:29 +10:30
randbytes.c common: seed deterministic RNG from basename of argv0, not full path 2026-07-13 18:15:06 -07:00
randbytes.h common: add randbytes() wrapper to override cryptographic entropy: $CLN_DEV_ENTROPY_SEED 2025-11-13 21:21:29 +10:30
random_select.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
random_select.h Apply @cdecker typo suggestions from code review 2020-08-28 10:56:50 +09:30
read_peer_msg.c common: add tal_free_if_taken() helper for common case. 2026-03-29 14:35:54 +10:30
read_peer_msg.h common: move is_peer_error/is_peer_warning from read_peer_msg.c to wire_error.c 2023-10-23 15:48:50 +10:30
route.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
route.h pay: Switch to msat for total_capacity 2024-10-07 14:05:47 +02:00
scb_wire.csv global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
sciddir_or_pubkey.c common: add sciddir_or_pubkey type. 2024-05-12 19:11:43 -05:00
sciddir_or_pubkey.h common: add sciddir_or_pubkey type. 2024-05-12 19:11:43 -05:00
setup.c common: remove tal_check() call on libwally allocations. 2025-11-03 14:49:33 +10:30
setup.h setup: create a common setup which will handle the wally-context 2020-05-19 13:35:42 +09:30
shutdown_scriptpubkey.c closingd: add lightning_simpleclosed for option_simple_close 2026-07-02 13:30:17 -03:00
shutdown_scriptpubkey.h closingd: add lightning_simpleclosed for option_simple_close 2026-07-02 13:30:17 -03:00
sphinx.c BOLTs: more textual changes. 2026-04-30 20:09:31 +09:30
sphinx.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
splice_script.c splice: Add and improve logging 2026-03-21 07:28:30 +10:00
splice_script.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
status.c global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
status.h common: add (and use) status_unusual_once and status_broken_once helpers. 2026-03-29 14:35:54 +10:30
status_levels.c logging: add TRACE between DEBUG and IO 2024-05-08 21:05:49 -05:00
status_levels.h pyln-testing: catch special CI string so we can have non-BROKEN CI warnings. 2025-09-30 11:37:31 +09:30
status_wire.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
status_wire.csv cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
status_wire.h
subdaemon.c common: don't send trace messages by default, don't ratelimit at all. 2024-12-16 09:48:51 +10:30
subdaemon.h common/daemon.c: remove #ifdef DEVELOPER in favor of runtime flag. 2023-09-21 20:08:24 +09:30
timeout.c common: add routine for absolute timeouts (vs. relative). 2022-01-20 15:24:06 +10:30
timeout.h common: add routine for absolute timeouts (vs. relative). 2022-01-20 15:24:06 +10:30
trace.c common: don't trigger siphash_seed() init from span hashing either. 2026-07-13 18:15:06 -07:00
trace.h trace: don't use randombytes_buf(), use pseudorand. 2025-04-23 13:45:18 +09:30
tx_roles.c tx_roles: allow to be serialized btw processes 2023-02-07 21:03:36 -06:00
tx_roles.h tx_roles: allow to be serialized btw processes 2023-02-07 21:03:36 -06:00
utils.c common: add helper to remove a range of elements 2026-08-04 18:51:43 -03:00
utils.h common: add helper to remove a range of elements 2026-08-04 18:51:43 -03:00
utxo.c utxo: remove UTXO_P2TR_BIP86 enum and consolidate to UTXO_P2TR 2025-10-26 12:37:58 +10:30
utxo.h bitcoin: make input witness weight calculation explicit. 2025-05-06 12:27:53 +09:30
version.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
version.h lightningd: use OPT_EXITS for options which exit. 2023-06-03 10:50:29 +09:30
wallet.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
wallet.h wallet: remove unused TX_ANNOTATION type in transaction_annotations table. 2023-01-30 15:15:41 -06:00
wire_error.c global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
wire_error.h channeld: Fix tx_abort encoding 2024-11-21 14:15:36 +10:30
wireaddr.c common: correctly refuse to accept wireaddr with port == 0. 2026-04-30 12:17:43 +09:30
wireaddr.h common: correctly refuse to accept wireaddr with port == 0. 2026-04-30 12:17:43 +09:30