core-lightning/wire
Rusty Russell 2da5244e83 jsonrpc: make error codes an enum.
This allows GDB to print values, but also allows us to use them in
'case' statements.  This wasn't allowed before because they're not
constant terms.

This also made it clear there's a clash between two error codes,
so move one.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Changed: JSON-RPC: Error code from bcli plugin changed from 400 to 500.
2022-09-19 10:18:55 +09:30
..
test doc: update BOLTs to bc86304b4b0af5fd5ce9d24f74e2ebbceb7e2730 2022-09-12 09:34:52 +09:30
.gitignore reorganize .gitignore entries across subdirs. 2021-05-18 09:43:50 +09:30
bolt12_exp_wire.csv offers: import latest variant from draft. 2022-03-25 13:55:44 +10:30
bolt12_wire.csv offers: import latest variant from draft. 2022-03-25 13:55:44 +10:30
channel_type_wire.csv common/channel_type: wrapper for generated 'struct channel_type'. 2021-09-13 15:53:23 +02:00
extracted_bolt12_01_recurrence.patch bolt12: remove deprecated chains fields 2021-12-01 05:44:28 +10:30
extracted_onion_01_offers.patch bolt11: support payment_metadata. 2022-04-02 09:40:18 +10:30
extracted_onion_02_modernonion.patch connectd: restore obs2 onion support. 2022-03-29 10:55:12 +10:30
extracted_onion_03_onionmsg-payload-as-bytearr.patch offers: import latest variant from draft, part 2. 2022-03-25 13:55:44 +10:30
extracted_onion_exp_badonion_blinding.patch wire/Makefile: refactor to allow non-experimental spec patches. 2021-01-13 14:45:36 +01:00
extracted_onion_exp_enctlv.patch bolt11: support payment_metadata. 2022-04-02 09:40:18 +10:30
extracted_peer_03_openchannelv2.patch doc: update BOLTs to bc86304b4b0af5fd5ce9d24f74e2ebbceb7e2730 2022-09-12 09:34:52 +09:30
extracted_peer_04_opt_will_fund.patch wire: fix patch file to match actual peer_wire.csv. 2021-09-02 14:04:32 +09:30
extracted_peer_05_newonion.patch spec: import latest onionmessage spec, based on routeblinding. 2021-12-01 05:44:28 +10:30
extracted_peer_exp_add_htlc-plus-blinding.patch wire/Makefile: refactor to allow non-experimental spec patches. 2021-01-13 14:45:36 +01:00
extracted_peer_exp_quiescence-protocol.patch EXPERIMENTAL: import spec for quiescence. 2021-06-01 12:08:51 -05:00
extracted_peer_exp_upgradable.patch channeld: import updated channel_upgrade spec. 2021-10-08 16:07:21 +02:00
extracted_peer-shutdown-wrong_funding.patch protocol: add TLV for shutdown message, use 100 as "wrong_funding" outpoint. 2021-03-16 13:08:40 +10:30
fromwire.c jsonrpc: make error codes an enum. 2022-09-19 10:18:55 +09:30
Makefile wire: generate printwire_ routines for bolt12 CSV. 2022-03-25 13:55:44 +10:30
onion_defs.h wire: add onion_defs.h to bolt-check, update quote. 2018-09-13 17:38:13 -07:00
onion_wire.csv doc: increase BOLT level to 03468e17563650fb9bfe58b2da4d1e5d28e92009 2022-09-12 09:34:52 +09:30
onion_wire.h Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
peer_wire.c doc: update BOLTs to bc86304b4b0af5fd5ce9d24f74e2ebbceb7e2730 2022-09-12 09:34:52 +09:30
peer_wire.csv doc: update BOLTs to bc86304b4b0af5fd5ce9d24f74e2ebbceb7e2730 2022-09-12 09:34:52 +09:30
peer_wire.h channeld: take over gossip_rcvd_filter.c and is_msg_gossip_broadcast. 2022-06-17 14:14:02 +09:30
tlvstream.c wire/tlvstream: const. 2022-04-02 09:40:18 +10:30
tlvstream.h doc: update c-lightning to Core Lightning almost everywhere. 2022-04-07 06:53:26 +09:30
towire.c jsonrpc: make error codes an enum. 2022-09-19 10:18:55 +09:30
wire_io.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
wire_io.h connectd: do decryption for peers. 2022-01-20 15:24:06 +10:30
wire_sync.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
wire_sync.h wire_sync_write: support take() 2017-06-27 10:25:53 +09:30
wire.h jsonrpc: make error codes an enum. 2022-09-19 10:18:55 +09:30