rgb-cln/wallet
Rusty Russell 175db926c2 chaintopology: expose when we don't actually know feerate.
We use feerate in several places, and each one really should react
differently when it's not available (such as when bitcoind is still
catching up):

1. For general fee-enforcement, we use the broadest possible limits.
2. For closingd, we use it as our opening negotiation point: just use half
   the last tx feerate.
3. For onchaind, we can use the last tx feerate as a guide for our own txs;
   it might be too high, but at least we know it was sufficient to be mined.
4. For withdraw and fund_channel, we can simply refuse.

Fixes: #1836
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-08-24 02:17:51 +00:00
..
test chaintopology: expose when we don't actually know feerate. 2018-08-24 02:17:51 +00:00
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
Makefile wallet: add check-source to makefile. 2018-03-07 18:55:51 +01:00
db.c db: store claimed per_commitment_point from option_data_loss_protect. 2018-08-23 14:46:22 +02:00
db.h db: full location tags for callers, make it implicit. 2018-04-27 16:20:35 +02:00
invoices.c wallet: Add missing description field to the invoices iteration 2018-08-04 23:49:28 +00:00
invoices.h invoices: Make the invoice_details more idiomatic 2018-07-30 03:04:45 +00:00
txfilter.c Remove tal_len, use tal_count() or tal_bytelen(). 2018-07-30 11:31:17 +02:00
txfilter.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00
wallet.c db: store claimed per_commitment_point from option_data_loss_protect. 2018-08-23 14:46:22 +02:00
wallet.h wallet: expose function to confirm a tx. 2018-08-21 00:48:02 +02:00
walletrpc.c chaintopology: expose when we don't actually know feerate. 2018-08-24 02:17:51 +00:00
walletrpc.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00