rgb-cln/lightningd
trueptolemy 6deed77d88 bitcoind: confirm chain with bitcoin-cli at the beginning
At the beginning of the lightningd, we use "echo" command to check if bitcoin-cli is running.
Now we raplace "echo" with "getblockchaininfo" for this check, and also check whether the "chain" field in response is same as the blockchain that  lightningd is on.
"getblockchaininfo" is also valid for litecoin-cli.
2019-07-04 16:13:09 +02:00
..
test wallet: Don't delete channels from DB, mark them closed. 2019-06-30 16:41:30 +09:30
.gitignore handshaked: remove. 2017-10-20 18:31:32 +02:00
Makefile common: pull out scriptPubkey address method 2019-06-12 02:22:43 +00:00
bitcoind.c bitcoind: confirm chain with bitcoin-cli at the beginning 2019-07-04 16:13:09 +02:00
bitcoind.h lightningd: allow more than one bitcoind request at once, run multiple queues. 2018-09-19 13:21:21 +02:00
chaintopology.c lightningd/chaintopology: free block map and watches on exit. 2019-06-30 16:41:30 +09:30
chaintopology.h openingd/json_fund_channel: 2019-01-29 04:50:01 +00:00
channel.c pytest: fail tests if we get any LOG_BROKEN level messages, unless flagged. 2019-07-02 03:26:10 +00:00
channel.h wallet: Rip out the txtypes type in favor of enum wallet_tx_type 2019-06-08 02:58:27 +00:00
channel_control.c lightningd/channel_control logline fixup 2019-06-07 10:34:34 +02:00
channel_control.h common/per_per_state: generalize lightningd/peer_comm Part 1 2019-06-04 01:29:39 +00:00
channel_state.h wallet: Add a final `CLOSED` state to channels 2019-06-30 16:41:30 +09:30
closing_control.c channel: Along with the last_tx also remember its type 2019-06-08 02:58:27 +00:00
closing_control.h common/per_per_state: generalize lightningd/peer_comm Part 1 2019-06-04 01:29:39 +00:00
connect_control.c lightningd: free timers on shutdown. 2019-06-30 16:41:30 +09:30
connect_control.h Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
gossip_control.c lightningd: have json_stream_success start the "result" object. 2019-06-12 02:00:15 +00:00
gossip_control.h connectd: wean off gossip_wire message types, use our own. 2018-07-25 02:13:52 +00:00
gossip_msg.c listchannels: add `htlc_minimum_msat` and `htlc_maximum_msat` fields. 2019-06-11 23:19:11 +00:00
gossip_msg.h listchannels: add `htlc_minimum_msat` and `htlc_maximum_msat` fields. 2019-06-11 23:19:11 +00:00
hsm_control.c Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
hsm_control.h Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
htlc_end.c wallet: Add `received_time` to `htlc_in` for forwarding times 2019-04-10 23:48:39 +00:00
htlc_end.h wallet: Add `received_time` to `htlc_in` for forwarding times 2019-04-10 23:48:39 +00:00
invoice.c lightningd: have json_stream_success start the "result" object. 2019-06-12 02:00:15 +00:00
invoice.h lightningd: move local invoice resolution into invoice.c function. 2019-04-12 03:32:48 +00:00
io_loop_with_timers.c lightningd: free timers on shutdown. 2019-06-30 16:41:30 +09:30
io_loop_with_timers.h lightningd/io_loop_with_timers.c: Move mainloop to its own source file, have chaintopology use it. 2019-05-31 17:57:10 +02:00
json.c json: correct error message for param parser 2019-06-12 02:22:43 +00:00
json.h ccan: import ccan/json_out and ccan/json_escape. 2019-06-12 02:00:15 +00:00
json_stream.c lightningd: restore ' ' before '}' for older pylightning. 2019-06-17 21:46:25 +02:00
json_stream.h lightningd: restore ' ' before '}' for older pylightning. 2019-06-17 21:46:25 +02:00
jsonrpc.c lightningd: free strmap of commands on shutdown. 2019-06-30 16:41:30 +09:30
jsonrpc.h lightningd: tighten interal json_stream API. 2019-06-12 02:00:15 +00:00
lightningd.c lightningd: free htlc maps on exit. 2019-06-30 16:41:30 +09:30
lightningd.h lightningd: free timers on shutdown. 2019-06-30 16:41:30 +09:30
log.c lightningd/log: prefix log messages with level. 2019-07-02 03:26:10 +00:00
log.h log: add 'warning' notification when log 2019-06-07 01:23:51 +00:00
log_status.c log: add 'warning' notification when log 2019-06-07 01:23:51 +00:00
log_status.h status: add multiple levels of logging. 2018-02-07 00:46:49 +00:00
memdump.c lightningd: free timers on shutdown. 2019-06-30 16:41:30 +09:30
memdump.h lightningd: add code to search strmaps for memleak detection. 2019-02-07 20:33:50 +00:00
notification.c plugin: Add new notification type: warning 2019-06-07 01:23:51 +00:00
notification.h plugin: Add new notification type: warning 2019-06-07 01:23:51 +00:00
onchain_control.c lightningd: fix occasional missing txid detection. 2019-06-28 03:31:43 +00:00
onchain_control.h onchaind: Replay stored channeltxs to restore onchaind state 2018-04-25 14:33:38 +02:00
opening_control.c openingd_control: fix merge error with json_stream_success. 2019-06-12 06:21:53 +00:00
opening_control.h common/per_per_state: generalize lightningd/peer_comm Part 1 2019-06-04 01:29:39 +00:00
options.c lightningd: have json_stream_success start the "result" object. 2019-06-12 02:00:15 +00:00
options.h opts: Split early from non-early args so plugins can register theirs 2018-11-13 00:44:50 +01:00
pay.c lightningd: free timers on shutdown. 2019-06-30 16:41:30 +09:30
pay.h lightningd: move pay internals back into pay.c 2019-01-23 22:08:08 +01:00
peer_control.c pytest: fail tests if we get any LOG_BROKEN level messages, unless flagged. 2019-07-02 03:26:10 +00:00
peer_control.h common/per_per_state: generalize lightningd/peer_comm Part 1 2019-06-04 01:29:39 +00:00
peer_htlcs.c lightningd: free timers on shutdown. 2019-06-30 16:41:30 +09:30
peer_htlcs.h lightningd: fix occasional missing txid detection. 2019-06-28 03:31:43 +00:00
ping.c lightningd: have json_stream_success start the "result" object. 2019-06-12 02:00:15 +00:00
ping.h ping: complete JSON RPC ping commands even if one ping gets no response. 2018-09-14 22:11:23 +02:00
plugin.c lightningd/plugin: use ld's timer loop. 2019-06-30 16:41:30 +09:30
plugin.h plugins: do I/O logging. 2019-05-31 18:36:38 +02:00
plugin_hook.c plugin: fix printing of bad plugin responses. 2019-05-31 18:36:38 +02:00
plugin_hook.h lightningd: remove deserialize step for plugin hooks. 2019-04-23 15:26:42 +02:00
subd.c common/per_per_state: generalize lightningd/peer_comm Part 1 2019-06-04 01:29:39 +00:00
subd.h common/per_per_state: generalize lightningd/peer_comm Part 1 2019-06-04 01:29:39 +00:00
watch.c lightningd: fix occasional missing txid detection. 2019-06-28 03:31:43 +00:00
watch.h lightningd: fix occasional missing txid detection. 2019-06-28 03:31:43 +00:00