core-lightning/lightningd
Rusty Russell 6c1233de44 channel: reserve a bip32 index as soon as channel is opened.
This simplifies things, and means it's always in the database.  Our
previous approach to creating it on the fly had holes when it was
created for onchaind, causing us to use another every time we
restarted.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-03-07 18:55:51 +01:00
..
test txfilter: clean up prototypes. 2018-03-07 18:55:51 +01:00
.gitignore handshaked: remove. 2017-10-20 18:31:32 +02:00
bitcoind.c lightningd: add --bitcoin-cli arg for testing. 2018-02-24 10:37:28 +01:00
bitcoind.h lightningd: add --bitcoin-cli arg for testing. 2018-02-24 10:37:28 +01:00
build_utxos.c wallet: Use newindex primitive to generate change key index 2018-01-08 17:19:25 +01:00
build_utxos.h build_utxos: fix weight calculation, and make more accurate. 2017-12-20 12:56:15 +01:00
chaintopology.c wallet: wrap missing last_processed_block handling in COMPAT_V052. 2018-03-07 18:55:51 +01:00
chaintopology.h topology: Track blockchain changes in the DB 2018-03-06 18:59:27 +01:00
channel_control.c channel: reserve a bip32 index as soon as channel is opened. 2018-03-07 18:55:51 +01:00
channel_control.h lightningd/channel_control: routines to control channeld (move from peer_control.c) 2018-02-20 22:36:21 +01:00
channel_state.h channel_states: fold all the ONCHAIND states into one. 2018-02-23 18:02:00 +01:00
channel.c channel: reserve a bip32 index as soon as channel is opened. 2018-03-07 18:55:51 +01:00
channel.h channel: reserve a bip32 index as soon as channel is opened. 2018-03-07 18:55:51 +01:00
closing_control.c channel: reserve a bip32 index as soon as channel is opened. 2018-03-07 18:55:51 +01:00
closing_control.h lightningd/closing_control: routines to control closingd (move from peer_control.c) 2018-02-20 22:36:21 +01:00
connect_control.c wireaddr: Do hostname resolution in parse_wireaddr. 2018-02-26 03:13:55 +00:00
connect_control.h lightningd/peer_control: reorder, move more functions out. 2018-02-20 22:36:21 +01:00
dev_ping.c dev_ping: don't crash with silly values. 2018-02-22 01:10:09 +00:00
gossip_control.c gossipd: command to disconnect from a gossiping peer 2018-03-07 16:14:01 +01:00
gossip_control.h gossipd: rewrite to do the handshake internally. 2017-10-20 18:31:32 +02:00
gossip_msg.c tools/generate_wire.py: make varlen structs self-allocate. 2018-02-08 19:07:12 +01:00
gossip_msg.h tools/generate_wire.py: make varlen structs self-allocate. 2018-02-08 19:07:12 +01:00
hsm_control.c tools/generate-wire.py: remove length argument from fromwire_ routines. 2018-02-20 22:36:21 +01:00
hsm_control.h lightningd/hsm_control: use a simple fd for HSM. 2017-06-27 10:25:53 +09:30
htlc_end.c Remove unused parameter ptr in corrupt(const void *ptr, ...) 2018-02-22 10:46:30 +01:00
htlc_end.h htlc: keep channel pointer, not peer pointer. 2018-02-14 11:31:58 +01:00
invoice.c Do preimage, hash and consequentially bolt11 generation before we store the invoice in db. 2018-03-01 03:55:48 +00:00
invoice.h invoices: Extensive reorganization of invoice system. 2018-01-16 13:03:54 +01:00
jsonrpc_errors.h payalgo: Create a new failure for paying expired invoice. 2018-02-18 13:51:37 +01:00
jsonrpc.c Add assertions in various places to ensure tal_fmt doesn't receive NULL as argument for strings. 2018-03-06 19:26:21 +01:00
jsonrpc.h jsonrpc: Let Base58 '2..' address work on both regtest and testnet. 2018-02-26 03:09:15 +00:00
lightningd.c lightningd: don't discard const in get_chainparams(). 2018-03-07 18:55:51 +01:00
lightningd.h lightningd: don't discard const in get_chainparams(). 2018-03-07 18:55:51 +01:00
log_status.c tools/generate-wire.py: remove length argument from fromwire_ routines. 2018-02-20 22:36:21 +01:00
log_status.h status: add multiple levels of logging. 2018-02-07 00:46:49 +00:00
log.c Remove unused parameter fieldname in json_add_log(..., const char *fieldname, ...) 2018-02-22 10:46:30 +01:00
log.h Remove unused parameter fieldname in json_add_log(..., const char *fieldname, ...) 2018-02-22 10:46:30 +01:00
Makefile wallet: Move txfilter into wallet 2018-03-06 18:59:27 +01:00
memdump.c Add assertions in various places to ensure tal_fmt doesn't receive NULL as argument for strings. 2018-03-06 19:26:21 +01:00
netaddress.c Mark intentionally unused parameters as such (with "UNUSED") 2018-02-22 01:09:12 +00:00
netaddress.h wireaddr: add ip[:port] parsing 2017-12-21 09:56:20 +00:00
onchain_control.c channel: reserve a bip32 index as soon as channel is opened. 2018-03-07 18:55:51 +01:00
onchain_control.h txwatch: remove unused callback arg, hide struct definitions. 2018-02-20 22:36:21 +01:00
opening_control.c channel: reserve a bip32 index as soon as channel is opened. 2018-03-07 18:55:51 +01:00
opening_control.h lightningd/opening_control: routines to control openingd (move from peer_control.c) 2018-02-20 22:36:21 +01:00
opt_time.c Fix order of includes 2018-03-06 19:26:21 +01:00
opt_time.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
options.c Instead of passing the line number behind the '\0' of an artificial command-line argument, store it in a global variable. 2018-03-06 19:26:21 +01:00
options.h lightningd: --deprecated-api option to turn off deprecated APIs. 2018-01-19 22:23:45 +00:00
pay.c pay: wrap missing route_channels handling in COMPAT_V052. 2018-03-07 18:55:51 +01:00
pay.h payalgo: New file for pay command. 2018-02-16 13:08:29 +01:00
payalgo.c Add assertions in various places to ensure tal_fmt doesn't receive NULL as argument for strings. 2018-03-06 19:26:21 +01:00
payalgo.h payalgo: New file for pay command. 2018-02-16 13:08:29 +01:00
peer_control.c channel: reserve a bip32 index as soon as channel is opened. 2018-03-07 18:55:51 +01:00
peer_control.h lightning/peer_control.h: Minor cleanup of nonexistent functions. 2018-02-25 20:41:50 +00:00
peer_htlcs.c Add assertions in various places to ensure tal_fmt doesn't receive NULL as argument for strings. 2018-03-06 19:26:21 +01:00
peer_htlcs.h lightningd/peer_control: reorder, move more functions out. 2018-02-20 22:36:21 +01:00
subd.c Add assertions in various places to ensure tal_fmt doesn't receive NULL as argument for strings. 2018-03-06 19:26:21 +01:00
subd.h subd: handle status_peer_billboard messages from subdaemons. 2018-02-23 18:02:00 +01:00
watch.c Remove unused parameter topo in txw_fire(struct chain_topology *topo, ...) 2018-02-22 10:46:30 +01:00
watch.h Remove unused parameter topo in txowatch_fire(struct chain_topology *topo, ...) 2018-02-22 10:46:30 +01:00