rgb-cln/common
Rusty Russell 91a22dc496 jsonprc: make json_get_params() fail the command, for better error reporting.
We move it into jsonrpc where it belongs, and make it fail the command.
This means it can tell us exactly what was wrong.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-02-02 00:05:00 +01:00
..
test json_add_string_escape: for escaping internally-generated strings. 2018-02-02 00:05:00 +01:00
Makefile common: read_peer_msg helpers for per-peer subds. 2018-02-01 05:57:56 +00:00
bech32.c bech32: move to common/ 2017-11-24 13:22:18 +01:00
bech32.h Fix typos 2017-12-08 13:07:20 +01:00
bip32.c common: move some files out of lightningd/ 2017-08-29 17:54:14 +02:00
bip32.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
bolt11.c Avoid segfault on CLI command "decodepay 1111111" (invalid short bech32 string) 2018-01-15 19:32:00 +00:00
bolt11.h Spelling corrections (#824) 2018-01-29 04:46:54 +00:00
channel_config.c common: move some files out of lightningd/ 2017-08-29 17:54:14 +02:00
channel_config.h Revert "Send/receive cltv_expiry_delta in open/accept channel." 2017-10-11 11:54:50 +02:00
close_tx.c bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 2017-12-21 11:05:38 +00:00
close_tx.h bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 2017-12-21 11:05:38 +00:00
configdir.c clarified --lightning-dir syntax on help 2018-01-26 03:00:29 +00:00
configdir.h options: don't leak memory when people override options. 2017-12-13 22:46:10 +01:00
crypto_state.c crypto_state: move to its own file. 2017-10-20 18:31:32 +02:00
crypto_state.h crypto_state: move to its own file. 2017-10-20 18:31:32 +02:00
crypto_sync.c Add DEVELOPER flag, set by default. 2017-10-26 12:53:09 +02:00
crypto_sync.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
cryptomsg.c Add DEVELOPER flag, set by default. 2017-10-26 12:53:09 +02:00
cryptomsg.h cryptomsg: add helpers to determine if we're partway through msg read/write. 2017-10-25 18:34:35 +02:00
daemon_conn.c Spelling corrections (#824) 2018-01-29 04:46:54 +00:00
daemon_conn.h daemon_conn: helper to release daemon_conn. 2017-12-17 02:44:20 +00:00
derive_basepoints.c derive_basepoints: actually derive a separate HTLC key. 2017-11-16 17:40:57 +01:00
derive_basepoints.h basepoints/secrets: add htlc entry 2017-11-16 17:40:57 +01:00
dev_disconnect.c Spelling corrections (#824) 2018-01-29 04:46:54 +00:00
dev_disconnect.h Add DEVELOPER flag, set by default. 2017-10-26 12:53:09 +02:00
features.c features: Move feature-handling code to a common/features.c source. 2018-01-13 11:29:42 +01:00
features.h features: Move feature-handling code to a common/features.c source. 2018-01-13 11:29:42 +01:00
funding_tx.c common: remove unused assert() headers. 2017-10-26 12:53:09 +02:00
funding_tx.h bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 2017-12-21 11:05:38 +00:00
hash_u5.c common/hash_u5: routines to hash 5 bit values. 2017-11-01 01:09:23 +00:00
hash_u5.h common/hash_u5: routines to hash 5 bit values. 2017-11-01 01:09:23 +00:00
htlc.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
htlc_state.c common: absorb remaining files from daemon/ 2017-08-29 17:54:14 +02:00
htlc_state.h db: Create table for HTLCs 2017-10-09 11:51:13 +10:30
htlc_tx.c bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 2017-12-21 11:05:38 +00:00
htlc_tx.h bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 2017-12-21 11:05:38 +00:00
htlc_wire.c wire: Move bitcoin_tx serialization from htlc_wire to wire 2018-01-08 17:19:25 +01:00
htlc_wire.h wire: Move bitcoin_tx serialization from htlc_wire to wire 2018-01-08 17:19:25 +01:00
initial_channel.c bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 2017-12-21 11:05:38 +00:00
initial_channel.h bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 2017-12-21 11:05:38 +00:00
initial_commit_tx.c bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 2017-12-21 11:05:38 +00:00
initial_commit_tx.h bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 2017-12-21 11:05:38 +00:00
io_debug.c common/io_debug: replacement for ccan/io's poll which does sanity checks. 2017-09-29 10:20:08 +09:30
io_debug.h common/io_debug: replacement for ccan/io's poll which does sanity checks. 2017-09-29 10:20:08 +09:30
json.c jsonprc: make json_get_params() fail the command, for better error reporting. 2018-02-02 00:05:00 +01:00
json.h jsonprc: make json_get_params() fail the command, for better error reporting. 2018-02-02 00:05:00 +01:00
key_derive.c basepoints/secrets: add htlc entry 2017-11-16 17:40:57 +01:00
key_derive.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
keyset.c typo 2017-11-23 23:10:08 +01:00
keyset.h basepoints/secrets: add htlc entry 2017-11-16 17:40:57 +01:00
memleak.c Re-enable builds with DEVELOPER=0 2017-12-20 12:43:10 +01:00
memleak.h Re-enable builds with DEVELOPER=0 2017-12-20 12:43:10 +01:00
msg_queue.c common: move some files out of lightningd/ 2017-08-29 17:54:14 +02:00
msg_queue.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
overflows.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
peer_failed.c peer_failed: use towire_errorfmtv() which doesn't add nul terminator. 2018-01-12 09:43:01 +01:00
peer_failed.h status: use common status codes for all the failures. 2017-09-12 23:00:53 +02:00
permute_tx.c permute_tx: bail on empty permute_{inputs/outputs} arguments 2018-01-15 06:35:02 +00:00
permute_tx.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
ping.c common: move some files out of lightningd/ 2017-08-29 17:54:14 +02:00
ping.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
pseudorand.c common: absorb remaining files from daemon/ 2017-08-29 17:54:14 +02:00
pseudorand.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
read_peer_msg.c common: read_peer_msg helpers for per-peer subds. 2018-02-01 05:57:56 +00:00
read_peer_msg.h common: read_peer_msg helpers for per-peer subds. 2018-02-01 05:57:56 +00:00
sphinx.c Avoid writing uninitialized value data->realm in serialize_hop_data(...) (via create_onionpacket(...)) 2017-12-28 16:09:46 +01:00
sphinx.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
status.c common/status: add status_tracev() for making status wrappers. 2017-10-20 18:31:32 +02:00
status.h gossip: don't use assert around code with side effects. 2017-12-22 15:47:17 +01:00
subdaemon.c subdaemon: make debugging a bit easier. 2018-01-15 19:26:08 +00:00
subdaemon.h subdaemon.c: subdaemon_setup() routine for all daemons. 2018-01-08 18:16:39 +01:00
timeout.c common: absorb remaining files from daemon/ 2017-08-29 17:54:14 +02:00
timeout.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
type_to_string.c type_to_string: support preimage. 2017-09-28 13:07:05 +09:30
type_to_string.h bitcoin: create new wrapper type bitcoin_blkid, log backward endianness. 2017-12-21 11:05:38 +00:00
utils.c tal_tmpctx: keep information around so we can find leaks. 2017-09-29 10:20:08 +09:30
utils.h tal_tmpctx: keep information around so we can find leaks. 2017-09-29 10:20:08 +09:30
utxo.c hsm: Make sure to pass close_info along with the UTXO 2018-01-08 17:19:25 +01:00
utxo.h hsm: Make sure to pass close_info along with the UTXO 2018-01-08 17:19:25 +01:00
version.c common: new directory for any shared objects. 2017-08-29 17:54:14 +02:00
version.h Onboarding: Make log output texts friendlier to new users 2018-01-29 03:22:27 +00:00
wire_error.c is_all_channels: rename to channel_id_is_all 2017-10-22 16:24:10 +02:00
wire_error.h Spelling corrections (#824) 2018-01-29 04:46:54 +00:00
wireaddr.c build: Add needed UNIX standard includes. 2018-01-23 16:10:19 +01:00
wireaddr.h wireaddr: fix ipv6 formatting with ports in fmt_wireaddr 2017-12-21 09:56:20 +00:00
withdraw_tx.c travis: reenable check-source (without BOLT text). 2017-12-21 14:33:27 +01:00
withdraw_tx.h Change withdraw_tx to accept scriptpubkey rather than plain address. 2017-12-13 03:10:04 +00:00