core-lightning/common
Rusty Russell 3c6eec87e3 Add DEVELOPER flag, set by default.
This is a bit messier than I'd like, but we want to clearly remove all
dev code (not just have it uncalled), so we remove fields and functions
altogether rather than stub them out.  This means we put #ifdefs in callers
in some places, but at least it's explicit.

We still run tests, but only a subset, and we run with NO_VALGRIND under
Travis to avoid increasing test times too much.

See-also: #176
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-10-26 12:53:09 +02:00
..
test tests: detect and close leaks in unit tests. 2017-09-29 10:20:08 +09:30
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
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 close_tx: make version 1, not version 2. 2017-10-18 13:00:29 +02:00
close_tx.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
configdir.c common: absorb remaining files from daemon/ 2017-08-29 17:54:14 +02:00
configdir.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02: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 common: move some files out of lightningd/ 2017-08-29 17:54:14 +02:00
daemon_conn.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
debug.c Add DEVELOPER flag, set by default. 2017-10-26 12:53:09 +02:00
debug.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
derive_basepoints.c common: new directory for any shared objects. 2017-08-29 17:54:14 +02:00
derive_basepoints.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
dev_disconnect.c Add DEVELOPER flag, set by default. 2017-10-26 12:53:09 +02:00
dev_disconnect.h Add DEVELOPER flag, set by default. 2017-10-26 12:53:09 +02:00
funding_tx.c common: move some files out of lightningd/ 2017-08-29 17:54:14 +02:00
funding_tx.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02: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 script: make "sig_and_empty" more generic, make htlc tx witness fns clearer. 2017-09-28 13:07:05 +09:30
htlc_tx.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
htlc_wire.c common: move some files out of lightningd/ 2017-08-29 17:54:14 +02:00
htlc_wire.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
initial_channel.c common: move some files out of lightningd/ 2017-08-29 17:54:14 +02:00
initial_channel.h Update BOLT references with typo fixes. 2017-10-10 20:17:37 +02:00
initial_commit_tx.c common: move some files out of lightningd/ 2017-08-29 17:54:14 +02:00
initial_commit_tx.h Makefiles: simplify dependencies. 2017-08-29 17:54:14 +02: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 common: absorb remaining files from daemon/ 2017-08-29 17:54:14 +02:00
json.h external: new subdirectory for all external libraries and submodules. 2017-08-29 17:54:14 +02:00
key_derive.c common: move some files out of lightningd/ 2017-08-29 17:54:14 +02:00
key_derive.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
keyset.c common: move some files out of lightningd/ 2017-08-29 17:54:14 +02:00
keyset.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
Makefile common/wire_error: helpers to create/parse WIRE_ERROR messages. 2017-10-20 18:31:32 +02: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 status: use common status codes for all the failures. 2017-09-12 23:00:53 +02:00
peer_failed.h status: use common status codes for all the failures. 2017-09-12 23:00:53 +02:00
permute_tx.c common: new directory for any shared objects. 2017-08-29 17:54:14 +02: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
sphinx.c sphinx: Remove annoying warning when MACs do not match 2017-09-08 17:02:04 +09:30
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 common/status: add status_tracev() for making status wrappers. 2017-10-20 18:31:32 +02: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 type_to_string: support ripemd160. 2017-09-28 13:07:05 +09:30
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 common: move some files out of lightningd/ 2017-08-29 17:54:14 +02:00
utxo.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
version.c common: new directory for any shared objects. 2017-08-29 17:54:14 +02:00
version.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
wire_error.c is_all_channels: rename to channel_id_is_all 2017-10-22 16:24:10 +02:00
wire_error.h is_all_channels: rename to channel_id_is_all 2017-10-22 16:24:10 +02:00
withdraw_tx.c common: move some files out of lightningd/ 2017-08-29 17:54:14 +02:00
withdraw_tx.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00