Rusty Russell
85ff95e829
common: new directory for any shared objects.
...
To avoid everything pulling in HTLCs stuff to the opening daemon, we
split the channel and commit_tx routines into initial_channel and
initial_commit_tx (no HTLC support) and move full HTLC supporting versions
into channeld.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-08-29 17:54:14 +02:00
Christian Decker
5fdb8a58aa
fix: Addressing feedback from PR #192
2017-07-12 13:16:00 +02:00
Christian Decker
843e21826a
opts: Remove --regtest flag and pass chainparams to bitcoind
2017-07-12 11:30:23 +09:30
Christian Decker
cf16b5faea
options: Add option to set the network
2017-07-12 11:30:23 +09:30
Christian Decker
ed9668339d
routing: Add command line option to specify external IP address
...
We don't currently have a good way to determine our external IP
address so let's at least give people an option to manually specify
it.
2017-05-10 12:37:44 +09:30
Rusty Russell
e2c7925e0e
daemon/chaintopology.c: remove last remaining lightningd_state references.
...
We put a topology pointer into struct outgoing_tx and struct block for now.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-03-02 22:51:49 +10:30
Rusty Russell
38cc6c2f21
daemon/chaintopology: move dev_no_broadcast from lightningd_state to here.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-03-02 22:51:49 +10:30
Rusty Russell
e6efcdf5bd
daemon/bitcoind: wean off struct lightningd_state.
...
We want to use this in the new daemon, so use 'struct bitcoind'
everywhere.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-03-02 22:51:49 +10:30
Rusty Russell
a72dd8d9de
daemon/options: split option registration and parsing.
...
This allows us to add extra options before parsing.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-02-24 16:22:56 +10:30
Rusty Russell
c2cc164d6d
daemon: disable old BOLT checks.
...
This is useful for the next patch.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-01-04 14:09:20 +10:30
Rusty Russell
756b2a0530
options: --help and --version are early args.
...
If they use these, we definitely don't want to create the config dir...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-01-04 14:04:15 +10:30
Rusty Russell
93471e06c1
options: return true if we created new directory.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-01-04 14:03:15 +10:30
Rusty Russell
038ef0250a
options: move option and config code into its own file.
...
For the moment, the new lightningd will share all this anyway.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-01-04 13:22:29 +10:30