Christian Decker
d651ce6f3b
wally: Migrate main daemon to use wally transactions
...
Signed-off-by: Christian Decker <decker.christian@gmail.com>
2019-04-08 00:00:00 +00:00
Christian Decker
369a85e289
wally: Use output and input setters when signing / grinding feerate
...
Signed-off-by: Christian Decker <decker.christian@gmail.com>
2019-04-08 00:00:00 +00:00
Rusty Russell
948ca470ad
bitcoin: use amount_sat/amount_msat.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-02-21 08:01:37 +00:00
Rusty Russell
b5dcb93e5f
wallet: use amount_msat / amount_sat.
...
We change struct utxo to use amount_sat, and paper over the JSON APIs.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-02-21 03:44:44 +00:00
Rusty Russell
dffe2f516a
signature: wrap almost all signatures in struct bitcoin_signature.
...
This is prep work for when we sign htlc txs with
SIGHASH_SINGLE|SIGHASH_ANYONECANPAY.
We still deal with raw signatures for the htlc txs at the moment, since
we send them like that across the wire, and changing that was simply too
painful (for the moment?).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-12-06 23:11:51 +01:00
Rusty Russell
23540fe956
common: make funding_tx and withdraw_tx share UTXO code.
...
They both do the same thing: convert utxos into tx inputs. Share code.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-12-06 23:11:51 +01:00
Rusty Russell
a046af4416
lightningd/test: move some tests to common/ and channeld/
...
These unit tests stayed under lightningd/ even though the units they test
are elsewhere.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-12-06 23:11:51 +01:00