core-lightning/daemon
Rusty Russell edc30b12ea lightningd: --dev-debugger=<subdaemon>
Or for blackbox tests --gdb1=<subdaemon> / --gdb2=<subdaemon>.

This makes the subdaemon wait as soon as it's execed, so we can attach
the debugger.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-02-24 16:22:56 +10:30
..
jsmn@bd9bd55c3a daemon/jsmn: Add submodule for jsmn. 2016-01-22 06:37:13 +10:30
test lightningd: --dev-debugger=<subdaemon> 2017-02-24 16:22:56 +10:30
.gitignore daemon: first code. 2016-01-22 06:41:47 +10:30
bitcoind.c Remove trailing whitespace from source. 2016-11-11 09:32:04 +10:30
bitcoind.h bitcoind_sendrawtx: hand error code to callback. 2016-11-07 23:00:02 +10:30
broadcast.c broadcast: Implement replacing messages in the broadcast queue 2017-02-03 05:52:11 +10:30
broadcast.h broadcast: Implement replacing messages in the broadcast queue 2017-02-03 05:52:11 +10:30
chaintopology.c refactor: Making timers independent of the lightningd_state 2017-02-21 17:59:34 +01:00
chaintopology.h broadcast_tx: add optional failed callback. 2016-11-07 23:01:02 +10:30
channel.c daemon: disable old BOLT checks. 2017-01-04 14:09:20 +10:30
channel.h htlc: move enum side crom daemon/channel.h to daemon/htlc.h 2017-02-02 14:48:00 +10:30
commit_tx.c permute_tx: reintroduce permute map. 2017-02-07 12:14:22 +10:30
commit_tx.h htlc: move enum side crom daemon/channel.h to daemon/htlc.h 2017-02-02 14:48:00 +10:30
configdir.c config: different defaults for mainnet and testnet. 2016-10-07 14:00:18 +10:30
configdir.h config: different defaults for mainnet and testnet. 2016-10-07 14:00:18 +10:30
cryptopkt.c bitcoin/signature.h: remove struct signature. 2017-01-25 11:03:55 +10:30
cryptopkt.h peer: do logging before crypto is on. 2016-08-31 16:06:31 +09:30
db.c refactor: Moving gossip/routing specific state into its own struct 2017-02-03 05:52:11 +10:30
db.h bitcoin/preimage: struct preimage. 2017-02-02 14:48:00 +10:30
dns.c dns: simplify code by reaping dns child as soon as we have answers. 2016-11-04 11:17:03 +10:30
dns.h daemon: rename 'state' to 'dstate' everywhere. 2016-01-22 06:41:49 +10:30
failure.c Use global secp256k1_ctx instead of passing it around. 2016-12-02 18:12:58 +10:30
failure.h Use global secp256k1_ctx instead of passing it around. 2016-12-02 18:12:58 +10:30
feechange_state.h daemon: handle feechange requests. 2016-08-26 15:31:19 +09:30
feechange.c Remove trailing whitespace from source. 2016-11-11 09:32:04 +10:30
feechange.h Remove trailing whitespace from source. 2016-11-11 09:32:04 +10:30
htlc_state.c daemon/htlc_state: split off from daemon/htlc. 2017-02-02 14:48:00 +10:30
htlc_state.h db.c: database API. 2016-08-18 14:25:13 +09:30
htlc.c daemon/htlc_state: split off from daemon/htlc. 2017-02-02 14:48:00 +10:30
htlc.h htlc: move enum side crom daemon/channel.h to daemon/htlc.h 2017-02-02 14:48:00 +10:30
invoice.c bitcoin/preimage: struct preimage. 2017-02-02 14:48:00 +10:30
invoice.h bitcoin/preimage: struct preimage. 2017-02-02 14:48:00 +10:30
irc_announce.c refactor: Making timers independent of the lightningd_state 2017-02-21 17:59:34 +01:00
irc_announce.h routing: Added IRC announcement glue 2016-09-07 23:49:39 +02:00
json.c daemon/json, test/test_protocol: avoid gcc -O warnings. 2016-12-15 11:49:51 +10:30
json.h Use global secp256k1_ctx instead of passing it around. 2016-12-02 18:12:58 +10:30
jsonrpc.c log: rename struct log_record to struct log_book. 2017-01-10 15:18:26 +10:30
jsonrpc.h jsonrpc: register base on linkage. 2017-01-04 14:08:15 +10:30
lightning-cli.c opt, utils: new arg for wrappers due to low-level tal change. 2016-11-09 18:56:38 +10:30
lightningd.c daemon/options: split option registration and parsing. 2017-02-24 16:22:56 +10:30
lightningd.h cleanup: Removed broadcast_queue from dstate 2017-02-03 13:50:39 +01:00
log.c log: Flushing logs on each new entry 2017-01-23 10:37:34 +01:00
log.h log: rename struct log_record to struct log_book. 2017-01-10 15:18:26 +10:30
Makefile refactor: Move JSONRPC methods to separate compilation unit 2017-02-03 05:52:11 +10:30
names.c names: move into daemon/ 2016-11-09 08:04:27 +10:30
names.h names: move into daemon/ 2016-11-09 08:04:27 +10:30
netaddr.c utils: add tal_hex() helper. 2017-01-10 15:19:25 +10:30
netaddr.h peer: keep addresses separately from peers. 2016-08-18 14:25:14 +09:30
opt_time.c Remove trailing whitespace from source. 2016-11-11 09:32:04 +10:30
opt_time.h daemon: test restarting. 2016-08-18 14:25:14 +09:30
options.c daemon/options: split option registration and parsing. 2017-02-24 16:22:56 +10:30
options.h daemon/options: split option registration and parsing. 2017-02-24 16:22:56 +10:30
output_to_htlc.c struct bitcoin_tx: remove explicit lengths, use tal_len()/tal_count() 2017-01-25 11:03:55 +10:30
output_to_htlc.h struct bitcoin_tx: remove explicit lengths, use tal_len()/tal_count() 2017-01-25 11:03:55 +10:30
p2p_announce.c refactor: Making timers independent of the lightningd_state 2017-02-21 17:59:34 +01:00
p2p_announce.h refactor: Move the gossip handlers to routing 2017-02-03 05:52:11 +10:30
packets.c bitcoin/preimage: struct preimage. 2017-02-02 14:48:00 +10:30
packets.h bitcoin/preimage: struct preimage. 2017-02-02 14:48:00 +10:30
pay.c doc: Fixed two small mistakes in the getroute documentation 2017-02-22 21:46:07 +10:30
pay.h bitcoin/preimage: struct preimage. 2017-02-02 14:48:00 +10:30
peer.c bugfix: Assert was killing daemon 2017-02-22 16:47:48 +10:30
peer.h gossip: Moving to intmap-based broadcast for the legacy daemon 2017-02-03 05:52:11 +10:30
pseudorand.c Remove trailing whitespace from source. 2016-11-11 09:32:04 +10:30
pseudorand.h daemon: use siphash for hashes. 2016-07-01 12:00:17 +09:30
routing.c routing: Actually return the port when parsing node_announcements 2017-02-18 13:09:08 +01:00
routing.h refactor: Move the gossip handlers to routing 2017-02-03 05:52:11 +10:30
routingrpc.c refactor: Move JSONRPC methods to separate compilation unit 2017-02-03 05:52:11 +10:30
secrets.c struct bitcoin_tx: remove explicit lengths, use tal_len()/tal_count() 2017-01-25 11:03:55 +10:30
secrets.h bitcoin/signature.h: remove struct signature. 2017-01-25 11:03:55 +10:30
sphinx.c sphinx: Committing the onion packet to the payment-hash 2017-01-16 11:14:30 +10:30
sphinx.h sphinx: Committing the onion packet to the payment-hash 2017-01-16 11:14:30 +10:30
state_types.h Remove trailing whitespace from source. 2016-11-11 09:32:04 +10:30
state.h daemon: disable old BOLT checks. 2017-01-04 14:09:20 +10:30
timeout.c refactor: Making timers independent of the lightningd_state 2017-02-21 17:59:34 +01:00
timeout.h refactor: Making timers independent of the lightningd_state 2017-02-21 17:59:34 +01:00
wallet.c struct bitcoin_tx: remove explicit lengths, use tal_len()/tal_count() 2017-01-25 11:03:55 +10:30
wallet.h wallet: use pubkey as API, not pointer. 2016-11-09 08:04:28 +10:30
watch.c Remove trailing whitespace from source. 2016-11-11 09:32:04 +10:30
watch.h Remove trailing whitespace from source. 2016-11-11 09:32:04 +10:30