rgb-cln/common
Rusty Russell 6b11cc8b8c common: disallow NULL channel_id to peer_failed_err.
No more sending "all-channel" errors; in particular, gossipd now only
sends warnings (which make us hang up), not errors, and peer_connected
rejections are warnings (and disconnect), not errors.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Changed: Plugins: `peer_connected` rejections now send a warning, not an error, to the peer.
2021-02-04 12:02:52 +10:30
..
test gossmap: change local API. 2021-02-04 12:02:36 +10:30
Makefile common: extract fp16 routines into their own file. 2021-02-04 12:02:36 +10:30
addr.c
addr.h
amount.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
amount.h common/amount: make fmt_amount_sat / fmt_amount_msat etc take copy. 2021-01-09 12:45:31 +01:00
base32.c
base32.h
base64.c common: remove b64_decode 2020-10-21 19:34:39 +02:00
base64.h common: remove b64_decode 2020-10-21 19:34:39 +02:00
bech32.c
bech32.h
bech32_util.c common/bech32_util: simple routines for checksumless bech32 charset usage. 2020-12-09 16:40:13 +10:30
bech32_util.h common/bech32_util: simple routines for checksumless bech32 charset usage. 2020-12-09 16:40:13 +10: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 billboard: add in billboard updates from dualopend 2021-01-10 13:44:04 +01:00
billboard.h billboard: break out common method for billboard updates 2021-01-10 13:44:04 +01:00
bip32.c
bip32.h
blindedpath.c common/blindedpath: fix type of enctlv. 2020-12-15 12:05:02 +01:00
blindedpath.h offers: make it a runtime option. 2021-01-13 14:45:36 +01:00
blinding.c
blinding.h
bolt11.c common/bolt11_json: extract bolt11->json code. 2021-01-09 14:34:35 +10:30
bolt11.h bolt11: expose routine to parse bolt11 string except signature. 2020-12-15 12:05:02 +01:00
bolt11_json.c common/bolt11_json: extract bolt11->json code. 2021-01-09 14:34:35 +10:30
bolt11_json.h common/bolt11_json: extract bolt11->json code. 2021-01-09 14:34:35 +10:30
bolt12.c decode: new generic API to decode bolt11 and bolt12. 2021-01-09 14:34:35 +10:30
bolt12.h common/bolt12: include correct bolt12 wiregen header. 2021-01-13 14:45:36 +01:00
bolt12_merkle.c hsmd: code to sign bolt12 messages with a tweaked key. 2020-12-23 14:24:39 +01:00
bolt12_merkle.h common/bolt12: include correct bolt12 wiregen header. 2021-01-13 14:45:36 +01:00
channel_config.c
channel_config.h
channel_id.c temp_channel_id: move to common 2021-01-10 13:44:04 +01:00
channel_id.h temp_channel_id: move to common 2021-01-10 13:44:04 +01:00
close_tx.c
close_tx.h
closing_fee.h
coin_mvt.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
coin_mvt.h channel_id: save to database, dont derive from funding_txid 2020-09-09 19:54:20 +09:30
configdir.c common: change default network to mainnet for all 2020-12-16 11:48:25 +01:00
configdir.h
crypto_state.c
crypto_state.h
crypto_sync.c
crypto_sync.h
cryptomsg.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
cryptomsg.h
daemon.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
daemon.h
daemon_conn.c
daemon_conn.h
decode_array.c Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
decode_array.h
derive_basepoints.c
derive_basepoints.h
descriptor_checksum.c common: add a descriptor checksum computation module 2020-11-10 10:34:13 -06:00
descriptor_checksum.h common: add a descriptor checksum computation module 2020-11-10 10:34:13 -06:00
dev_disconnect.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
dev_disconnect.h
dijkstra.c common: cleanups suggested by Christian Decker's review. 2020-10-21 08:58:34 +10:30
dijkstra.h dijkstra: fix heap ordering. 2020-10-21 08:58:34 +10:30
ecdh.h
ecdh_hsmd.c hsmd: convert to new wire generation style. 2020-08-25 12:53:13 +09:30
ecdh_hsmd.h
errcode.h
features.c lightningd: control onion messages by `experimental-onion-messages` option. 2021-01-13 14:45:36 +01:00
features.h lightningd: control onion messages by `experimental-onion-messages` option. 2021-01-13 14:45:36 +01:00
fee_states.c
fee_states.h
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 libplugin-pay: incorporate gossip store. 2020-10-21 08:58:34 +10:30
gossip_rcvd_filter.c Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
gossip_rcvd_filter.h
gossip_store.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
gossip_store.h gossip_store: make private channels more similar to channel_announcement 2020-10-21 08:58:34 +10:30
gossmap.c gossmap: change local API. 2021-02-04 12:02:36 +10:30
gossmap.h gossmap: change local API. 2021-02-04 12:02:36 +10:30
hash_u5.c
hash_u5.h
hmac.c common/sphinx: don't make copy to compute packet hmac. 2020-12-11 15:51:24 +01:00
hmac.h common/sphinx: don't make copy to compute packet hmac. 2020-12-11 15:51:24 +01:00
hsm_encryption.c hsmd: regroup hsm_secret decryption logic 2021-01-06 13:50:01 +01:00
hsm_encryption.h hsmd: regroup hsm_secret decryption logic 2021-01-06 13:50:01 +01:00
htlc.h htlc.h: move NUM_SIDES to define, not enum member 2020-11-23 12:21:33 -06:00
htlc_state.c Makefile: unify generated files definition. 2020-10-22 12:14:34 +10:30
htlc_state.h
htlc_trim.c channeld, openingd: take into account option_anchor_outputs for fees. 2020-08-14 11:51:14 +09:30
htlc_trim.h channeld, openingd: take into account option_anchor_outputs for fees. 2020-08-14 11:51:14 +09:30
htlc_tx.c doc: update BOLT now option_anchor_outputs is merged. 2020-08-24 20:55:47 +09:30
htlc_tx.h doc: update BOLT now option_anchor_outputs is merged. 2020-08-24 20:55:47 +09:30
htlc_wire.c common/sphinx: make TOTAL_PACKET_SIZE a macro. 2020-12-11 15:51:24 +01:00
htlc_wire.h common/sphinx: make TOTAL_PACKET_SIZE a macro. 2020-12-11 15:51:24 +01:00
initial_channel.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
initial_channel.h channel_id: save to database, dont derive from funding_txid 2020-09-09 19:54:20 +09:30
initial_commit_tx.c doc: update BOLT now option_anchor_outputs is merged. 2020-08-24 20:55:47 +09:30
initial_commit_tx.h openingd: pull out check_configs into a common place 2020-09-09 19:54:20 +09:30
io_lock.c
io_lock.h
iso4217.c common/iso4217: make find_iso4217 a little more usable. 2020-12-15 12:05:02 +01:00
iso4217.h common/iso4217: make find_iso4217 a little more usable. 2020-12-15 12:05:02 +01:00
json.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
json.h common/json: make json_scan return an error string. 2021-01-07 19:32:47 +01:00
json_command.h json_command: command_fail_badparam helper. 2020-09-02 09:46:37 +09:30
json_helpers.c decode: new generic API to decode bolt11 and bolt12. 2021-01-09 14:34:35 +10:30
json_helpers.h decode: new generic API to decode bolt11 and bolt12. 2021-01-09 14:34:35 +10:30
json_stream.c common/json_stream: add generic double-cr helper. 2020-10-23 13:53:16 +10:30
json_stream.h common/json_stream: add generic double-cr helper. 2020-10-23 13:53:16 +10:30
json_tok.c common/json_tok: minor cleanup to bitcoin_outpoint array parsing. 2020-12-09 06:56:21 +10:30
json_tok.h json: Add two param functions to parse string arrs and outpoint arrs 2020-12-09 06:56:21 +10:30
jsonrpc_errors.h plugins/fetchinvoice: handle sendinvoice timeout, error or payment. 2021-01-09 14:34:35 +10:30
key_derive.c doc: update BOLT now option_anchor_outputs is merged. 2020-08-24 20:55:47 +09:30
key_derive.h
keyset.c doc: update BOLT now option_anchor_outputs is merged. 2020-08-24 20:55:47 +09:30
keyset.h
memleak.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
memleak.h common/memleak: simplify and document API. 2020-09-23 13:52:49 +09:30
msg_queue.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
msg_queue.h
node_id.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
node_id.h bitcoin/pubkey: add pubkey32 primitive for xonly pubkey types. 2020-12-09 16:40:13 +10:30
onion.c Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
onion.h
onionreply.c
onionreply.h
overflows.h
param.c add a note to "unknown parameter" error about -k autodetect failure. 2020-12-21 12:17:43 +00:00
param.h
peer_billboard.c common: convert to new wire generation style. 2020-08-25 12:53:13 +09:30
peer_billboard.h
peer_failed.c common: disallow NULL channel_id to peer_failed_err. 2021-02-04 12:02:52 +10:30
peer_failed.h common: remove peer_failed in favor of peer_failed_warn/peer_failed_err 2021-02-04 12:02:52 +10:30
peer_status_wire.csv common: treat all "all-channels" errors as if they were warnings. 2021-02-04 12:02:52 +10:30
peer_status_wiregen.c common: treat all "all-channels" errors as if they were warnings. 2021-02-04 12:02:52 +10:30
peer_status_wiregen.h common: treat all "all-channels" errors as if they were warnings. 2021-02-04 12:02:52 +10:30
penalty_base.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
penalty_base.h
per_peer_state.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
per_peer_state.h
permute_tx.c
permute_tx.h
ping.c Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
ping.h
private_channel_announcement.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
private_channel_announcement.h gossip_store: make private channels more similar to channel_announcement 2020-10-21 08:58:34 +10:30
psbt_internal.c df: incorporate a few spec changes -- serial_id is now 64-bits 2020-10-27 19:52:05 -05:00
psbt_internal.h df: finalize redeemscript at the same time as witness stack 2020-10-26 13:04:42 +10:30
psbt_open.c mfc-psbt: mark all of our inputs as "ours", then only sign those 2020-11-23 12:41:05 -06:00
psbt_open.h mfc-psbt: mark all of our inputs as "ours", then only sign those 2020-11-23 12:41:05 -06:00
pseudorand.c
pseudorand.h
random_select.c common/random_select: central place for reservoir sampling. 2020-08-28 10:56:50 +09:30
random_select.h Apply @cdecker typo suggestions from code review 2020-08-28 10:56:50 +09:30
read_peer_msg.c common: disallow NULL channel_id to peer_failed_err. 2021-02-04 12:02:52 +10:30
read_peer_msg.h common: treat all "all-channels" errors as if they were warnings. 2021-02-04 12:02:52 +10:30
route.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
route.h route: return NULL if destination is unreachable. 2020-10-21 08:58:34 +10:30
setup.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
setup.h
socket_close.c
socket_close.h
sphinx.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
sphinx.h common/sphinx: make onionpacket.routinginfo a dynamic member. 2020-12-11 15:51:24 +01:00
status.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
status.h
status_levels.c common: add routines for log level names. 2020-10-23 13:53:16 +10:30
status_levels.h common: add routines for log level names. 2020-10-23 13:53:16 +10:30
status_wire.c
status_wire.csv
status_wire.h
status_wiregen.c tools/generate-wire.py: include digits in #ifndef idempotent header. 2021-01-13 14:45:36 +01:00
status_wiregen.h tools/generate-wire.py: include digits in #ifndef idempotent header. 2021-01-13 14:45:36 +01:00
subdaemon.c
subdaemon.h
timeout.c
timeout.h
tx_roles.h tx_roles: pull up roles, rename 2020-10-20 12:50:31 +10:30
type_to_string.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
type_to_string.h bitcoin/pubkey: add pubkey32 primitive for xonly pubkey types. 2020-12-09 16:40:13 +10:30
utils.c common/utils: simple utf8 helpers. 2020-12-02 10:38:04 +10:30
utils.h offers: make it a runtime option. 2021-01-13 14:45:36 +01:00
utxo.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
utxo.h fundpsbt/utxopsbt: new `min_witness_weight` param 2020-12-02 14:19:08 +10:30
version.c Makefile: unify generated files definition. 2020-10-22 12:14:34 +10:30
version.h
wallet.c
wallet.h
wire_error.c common: disallow NULL channel_id to peer_failed_err. 2021-02-04 12:02:52 +10:30
wire_error.h common: disallow NULL channel_id to peer_failed_err. 2021-02-04 12:02:52 +10:30
wireaddr.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
wireaddr.h