core-lightning/common
Rusty Russell 7d3d763b96 channeld: BOLT update, no longer allow creation of old (experimental-only!) non-zero-fee anchor channels.
These were removed from the spec.

We still support existing ones, though we were the only implementation
which ever did, and only in experimental mode, so we should be able to
upgrade them and avoid a forced close, with a bit of engineering...

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-06-19 15:54:24 +09:30
..
test channeld: BOLT update, no longer allow creation of old (experimental-only!) non-zero-fee anchor channels. 2024-06-19 15:54:24 +09:30
addr.c addr: avoid a redundant allocation for unknown script types 2024-03-18 12:24:49 +10:30
addr.h script: consistently take the script length in identification functions 2024-03-18 12:24:49 +10:30
amount.c common: remove type_to_string files altogther. 2024-03-20 13:51:48 +10:30
amount.h global: expose all fmt_X functions for direct use, make uniform. 2024-03-20 13:51:48 +10:30
autodata.c
autodata.h
base32.c
base32.h
base64.c
base64.h
bech32_util.c common: Fix off-by-one in from_bech32_charset 2024-05-18 10:02:43 +02:00
bech32_util.h
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
bigsize.c
bigsize.h
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 common: update BOLTs to bring LaTeX formatting into onion spec. 2024-06-19 15:54:24 +09:30
blindedpath.h common/blindedpath: expose API at a lower level. 2022-11-09 15:08:03 +01:00
blindedpay.c global: fix up quotes which are now in the master branch. 2024-05-09 16:14:23 -05:00
blindedpay.h common: update to latest route-blinding spec. 2023-01-30 13:24:29 +10:30
blinding.c
blinding.h
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_json.c bitcoin/short_channel_id: pass by copy everywhere. 2024-03-20 13:51:48 +10:30
bolt11_json.h
bolt11.c bitcoin/short_channel_id: pass by copy everywhere. 2024-03-20 13:51:48 +10:30
bolt11.h common/bolt11: remove #if DEVELOPER. 2023-09-21 20:08:24 +09:30
bolt12_merkle.c common: remove type_to_string files altogther. 2024-03-20 13:51:48 +10:30
bolt12_merkle.h hsmd: don't use point32 for bolt12, but use pubkeys (though still always 02) 2022-10-26 11:29:06 +10:30
bolt12.c common/bolt12: roll all necessary checks into offer_decode. 2023-09-21 13:31:03 +09:30
bolt12.h common/bolt12: roll all necessary checks into offer_decode. 2023-09-21 13:31:03 +09:30
channel_config.c
channel_config.h BOLTs: catch up with minor clarifications. 2024-05-09 16:14:23 -05:00
channel_id.c global: remove tags from BOLT quotes now dual-funding is in master 2024-05-09 16:14:23 -05:00
channel_id.h global: expose all fmt_X functions for direct use, make uniform. 2024-03-20 13:51:48 +10:30
channel_type.c channeld: BOLT update, no longer allow creation of old (experimental-only!) non-zero-fee anchor channels. 2024-06-19 15:54:24 +09:30
channel_type.h channeld: BOLT update, no longer allow creation of old (experimental-only!) non-zero-fee anchor channels. 2024-06-19 15:54:24 +09:30
close_tx.c script: consistently take the script length in identification functions 2024-03-18 12:24:49 +10:30
close_tx.h hsmd: Add wallet index metadata to existing messages 2022-03-10 10:22:29 +10:30
closing_fee.h
codex32.c codex32: use "cl" instead of "ms" as our HRP. 2023-08-02 16:12:32 +09:30
codex32.h codex32: use "cl" instead of "ms" as our HRP. 2023-08-02 16:12:32 +09:30
coin_mvt.c common: remove type_to_string files altogther. 2024-03-20 13:51:48 +10:30
coin_mvt.h bkpr: for zerconfs, we still wanna know you're opening a channel 2022-07-28 12:08:18 +09:30
configdir.c lightningd: add --developer runtime option. 2023-09-21 20:08:24 +09:30
configdir.h lightningd: add --developer runtime option. 2023-09-21 20:08:24 +09:30
configvar.c common: remove #if DEVELOPER. 2023-09-21 20:08:24 +09:30
configvar.h setconfig: more thorough check for internal config options. 2024-05-06 20:51:19 -05:00
crypto_state.h
cryptomsg.c doc: update to BOLT 7f53a3e46ed59f19463447d5fa63b3e484c708a5 "BOLT 8: make it clear that there are *two* chaining keys." 2023-09-20 13:56:46 +09:30
cryptomsg.h common: make hdr parameter const 2023-06-23 13:12:42 +09:30
daemon_conn.c common/daemon_conn: add function to read an fd. 2022-07-18 20:50:04 -05:00
daemon_conn.h common/daemon_conn: add function to read an fd. 2022-07-18 20:50:04 -05:00
daemon.c pyln-testing: use DEBUG_LIGHTNINGD to start gdb on lightningd during test. 2024-03-20 11:18:36 +10:30
daemon.h pyln-testing: use DEBUG_LIGHTNINGD to start gdb on lightningd during test. 2024-03-20 11:18:36 +10:30
decode_array.c bitcoin/short_channel_id: pass by copy everywhere. 2024-03-20 13:51:48 +10:30
decode_array.h
deprecation.c Makefile: add CLN_NEXT_VERSION, functions encoding deprecation schedule. 2024-01-26 10:30:22 +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: remove #if DEVELOPER. 2023-09-21 20:08:24 +09:30
derive_basepoints.h common: remove #if DEVELOPER. 2023-09-21 20:08:24 +09:30
descriptor_checksum.c
descriptor_checksum.h
dev_disconnect.c dualfund: add test to make sure that tx-sigs sent before commitment 2023-11-02 19:32:05 +10:30
dev_disconnect.h dualfund: add test to make sure that tx-sigs sent before commitment 2023-11-02 19:32:05 +10:30
dijkstra.c common, pay: actually test Dijkstra and route finding. 2024-03-07 14:09:14 +01:00
dijkstra.h common: fix dijkstra scoring. 2024-03-07 14:09:14 +01:00
ecdh_hsmd.c
ecdh_hsmd.h
ecdh.h
errcode.h jsonrpc: make error codes an enum. 2022-09-19 10:18:55 +09:30
features.c channeld: BOLT update, no longer allow creation of old (experimental-only!) non-zero-fee anchor channels. 2024-06-19 15:54:24 +09:30
features.h channeld: BOLT update, no longer allow creation of old (experimental-only!) non-zero-fee anchor channels. 2024-06-19 15:54:24 +09:30
fee_states.c channeld: Adjust the feerate security margin profile 2024-05-13 14:06:45 -05:00
fee_states.h channeld: Adjust the feerate security margin profile 2024-05-13 14:06:45 -05:00
fp16.c
fp16.h
gossip_constants.h global: fix up quotes which are now in the master branch. 2024-05-09 16:14:23 -05:00
gossip_store.c common/gossip_store: move subdaemon-only routines to connectd. 2023-01-30 15:15:41 -06:00
gossip_store.h common: add gossmap_chan_is_dying() helper to check flags. 2024-02-12 11:43:33 +01:00
gossmap.c common: make gossmap ignore redundant channel_announcements. 2024-05-23 20:23:36 +02:00
gossmap.h gossipd: make extra-sure we don't put in redundant channel_announcement messages. 2024-05-23 20:23:36 +02:00
gossmods_listpeerchannels.c remove is_local variable from listpeerchannels cb 2024-04-03 10:07:13 +10:30
gossmods_listpeerchannels.h remove is_local variable from listpeerchannels cb 2024-04-03 10:07:13 +10:30
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
hmac.h
hsm_capable.c channeld: add hsm_capabilities and add hsm_is_capable to common 2024-01-29 12:02:37 +10:30
hsm_capable.h channeld: add hsm_capabilities and add hsm_is_capable to common 2024-01-29 12:02:37 +10:30
hsm_encryption.c lightningd: expand exit codes for various failures. 2022-07-20 19:28:33 +09:30
hsm_encryption.h
hsm_version.h hsmd: HSM_VERSION 6: get_per_commitment_point never returns secret 2024-05-14 10:39:12 -05:00
htlc_state.c
htlc_state.h
htlc_trim.c global: thread zero fee option everywhere. 2023-06-29 11:28:47 -04:00
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 channeld: BOLT update, no longer allow creation of old (experimental-only!) non-zero-fee anchor channels. 2024-06-19 15:54:24 +09:30
htlc_wire.c channeld: don't calculate blinding shared secret, let lightningd do it. 2022-10-26 11:29:06 +10:30
htlc_wire.h channeld: don't calculate blinding shared secret, let lightningd do it. 2022-10-26 11:29:06 +10:30
htlc.h
initial_channel.c channeld: BOLT update, no longer allow creation of old (experimental-only!) non-zero-fee anchor channels. 2024-06-19 15:54:24 +09: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: remove type_to_string files altogther. 2024-03-20 13:51:48 +10:30
initial_commit_tx.h global: thread zero fee option everywhere. 2023-06-29 11:28:47 -04:00
interactivetx.c global: remove tags from BOLT quotes now dual-funding is in master 2024-05-09 16:14:23 -05:00
interactivetx.h interactive_tx: Add tx_abort support 2024-02-11 10:46:23 +01:00
invoice_path_id.c createinvoice: make a minimal blinded "path" in bolt12 invoice if none presented. 2022-11-09 15:08:03 +01:00
invoice_path_id.h createinvoice: make a minimal blinded "path" in bolt12 invoice if none presented. 2022-11-09 15:08:03 +01:00
iso4217.c
iso4217.h bolt12: update comments to match latest spec. 2022-11-09 15:08:03 +01:00
json_blinded_path.c bolt12: allow first_node_id in blinded path to be a scid. 2024-05-12 19:11:43 -05:00
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 common: move json_add_channel_type from lightningd/ 2024-01-29 13:40:34 +10:30
json_channel_type.h common: move json_add_channel_type from lightningd/ 2024-01-29 13:40:34 +10:30
json_command.h param: generalize check handling a little. 2024-05-06 20:51:19 -05:00
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 common/json_filter: routine to turn "filter" JSON into a filter. 2022-11-09 20:25:58 +10:30
json_param.c param: generalize check handling a little. 2024-05-06 20:51:19 -05:00
json_param.h common: allow JSON-RPC parameters to specify deprecation versions. 2024-01-26 10:30:22 +10:30
json_parse_simple.c signed types: add handlers for signed types 2023-07-13 19:34:47 +09:30
json_parse_simple.h signed types: add handlers for signed types 2023-07-13 19:34:47 +09:30
json_parse.c common: move json_to_blinded_path into its own file. 2024-05-12 19:11:43 -05:00
json_parse.h common: move json_to_blinded_path into its own file. 2024-05-12 19:11:43 -05:00
json_stream.c bitcoin/short_channel_id: pass by copy everywhere. 2024-03-20 13:51:48 +10:30
json_stream.h bitcoin/short_channel_id: pass by copy everywhere. 2024-03-20 13:51:48 +10:30
jsonrpc_errors.h lightningd: Add tx_abort routine to lightningd 2024-02-11 10:46:23 +01:00
key_derive.c common: No longer support new channels without option_static_remotekey. 2024-06-19 15:54:24 +09:30
key_derive.h lightningd: move bip32_pubkey here from common/, add hsm check. 2023-03-22 13:50:32 +10:30
keyset.c common: No longer support new channels without option_static_remotekey. 2024-06-19 15:54:24 +09:30
keyset.h
lease_rates.c
lease_rates.h
Makefile core: notify plugins when a log line is emitted. 2024-05-17 13:03:12 -05:00
memleak.c common/memleak: show tal_steal operations on memleak. 2023-10-03 10:05:55 +02:00
memleak.h common/memleak: implement callback arg for dump_memleak. 2023-10-03 10:05:55 +02:00
msg_queue.c
msg_queue.h
node_id.c common: remove type_to_string files altogther. 2024-03-20 13:51:48 +10:30
node_id.h global: expose all fmt_X functions for direct use, make uniform. 2024-03-20 13:51:48 +10:30
onion_decode.c common/onion_decode: update to latest BOLT spec, reject encrypted_recipient_data with both scid and node. 2024-06-19 15:54:24 +09:30
onion_decode.h common/onion: split into decode and encode routines. 2022-11-09 15:08:03 +01:00
onion_encode.c doc: update to BOLT cded2df1fd0095c947af02a52e28b16c66bdfc5c "Fix undeclared reference in onion-routing" 2023-09-20 13:56:46 +09:30
onion_encode.h Makefile: update bolts to 60cfb5972ad4bec4c49ee0f9e729fb3352fcdc6a. 2023-04-07 21:22:56 +09:30
onion_message_parse.c global: fix up quotes which are now in the master branch. 2024-05-09 16:14:23 -05:00
onion_message_parse.h common/onion_message_parse: generic routine for parsing onion messages. 2022-10-26 11:29:06 +10:30
onionreply.c
onionreply.h
overflows.h
peer_billboard.c
peer_billboard.h common: peer_billboard() helper for updating the billboard. 2018-02-23 18:02:00 +01:00
peer_failed.c common: add peer_failed_warn_nodisconnect routine for non-disconnecting warnings 2023-10-23 15:48:50 +10:30
peer_failed.h common: add peer_failed_warn_nodisconnect routine for non-disconnecting warnings 2023-10-23 15:48:50 +10:30
peer_io.c
peer_io.h
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
penalty_base.h
per_peer_state.c
per_peer_state.h
permute_tx.c Update libwally to 0.8.8, support PSBTv2 2023-03-23 16:10:55 +10:30
permute_tx.h
ping.c common: remove #if DEVELOPER. 2023-09-21 20:08:24 +09:30
ping.h
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 tags from BOLT quotes now dual-funding is in master 2024-05-09 16:14:23 -05:00
psbt_internal.h channeld: Code to implement splicing 2023-07-31 21:00:22 +09:30
psbt_keypath.c Support p2tr deposit addresses 2023-07-11 11:41:15 +09:30
psbt_keypath.h Support p2tr deposit addresses 2023-07-11 11:41:15 +09:30
psbt_open.c script: consistently take the script length in identification functions 2024-03-18 12:24:49 +10:30
psbt_open.h Update libwally to 0.8.8, support PSBTv2 2023-03-23 16:10:55 +10:30
pseudorand.c common: add tal_arr_randomize() to shuffle an array. 2023-08-12 09:24:06 +09:30
pseudorand.h common: add tal_arr_randomize() to shuffle an array. 2023-08-12 09:24:06 +09:30
random_select.c
random_select.h
read_peer_msg.c 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
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 common: fix dijkstra scoring. 2024-03-07 14:09:14 +01:00
route.h common: fix dijkstra scoring. 2024-03-07 14:09:14 +01:00
scb_wire.csv staticbackup: don't use wireaddr_internal. 2023-06-01 09:28:39 +09: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 wally: rename functions that clash with wally v1.0.0 2024-01-16 15:47:03 +01:00
setup.h
shutdown_scriptpubkey.c script: consistently take the script length in identification functions 2024-03-18 12:24:49 +10:30
shutdown_scriptpubkey.h lightningd: only allow closing to native segwit 2022-12-13 08:28:12 +10:30
sphinx.c common: translate legacy onion payloads. 2024-05-29 12:40:01 -05:00
sphinx.h common: re-add legacy v0 hop generation to Sphinx for testing. 2024-05-29 12:40:01 -05:00
status_levels.c logging: add TRACE between DEBUG and IO 2024-05-08 21:05:49 -05:00
status_levels.h logging: add TRACE between DEBUG and IO 2024-05-08 21:05:49 -05:00
status_wire.c
status_wire.csv
status_wire.h
status.c common/memleak: implement callback arg for dump_memleak. 2023-10-03 10:05:55 +02:00
status.h logging: add TRACE between DEBUG and IO 2024-05-08 21:05:49 -05:00
subdaemon.c common/daemon.c: remove #ifdef DEVELOPER in favor of runtime flag. 2023-09-21 20:08:24 +09:30
subdaemon.h common/daemon.c: remove #ifdef DEVELOPER in favor of runtime flag. 2023-09-21 20:08:24 +09:30
timeout.c
timeout.h
trace.c drive-by: fix valgrind complaint about uninitialized memory 2024-05-08 21:05:49 -05:00
trace.h misc: Improve generated traces from common/trace.c 2023-12-23 15:19:31 +01:00
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 tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
utils.h common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
utxo.c global: thread zero fee option everywhere. 2023-06-29 11:28:47 -04:00
utxo.h global: thread zero fee option everywhere. 2023-06-29 11:28:47 -04:00
version.c lightningd: use OPT_EXITS for options which exit. 2023-06-03 10:50:29 +09:30
version.h lightningd: use OPT_EXITS for options which exit. 2023-06-03 10:50:29 +09:30
wallet.c
wallet.h wallet: remove unused TX_ANNOTATION type in transaction_annotations table. 2023-01-30 15:15:41 -06:00
wire_error.c common: remove type_to_string files altogther. 2024-03-20 13:51:48 +10:30
wire_error.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
wireaddr.c common: remove type_to_string files altogther. 2024-03-20 13:51:48 +10:30
wireaddr.h global: fix up quotes which are now in the master branch. 2024-05-09 16:14:23 -05:00