option cleanup: --dev-override-fee-rates

Make --override-fee-rates a dev option.  We use default-fee-rate in
its place, which (since bitcoind won't give fee estimates in regtest
mode for short chains) gives an effective feerate of 15000/7500/3750.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2018-05-17 14:16:22 +09:30
parent ceb1ce0ef5
commit 0aa22741df
5 changed files with 57 additions and 57 deletions

View File

@@ -263,7 +263,7 @@ class LightningD(TailableProc):
'lightning-dir': lightning_dir,
'addr': '127.0.0.1:{}'.format(port),
'allow-deprecated-apis': 'false',
'override-fee-rates': '15000/7500/1000',
'default-fee-rate': 15000,
'network': 'regtest',
'ignore-fee-limits': 'false',
}