options: remove default-fee-rate now we don't use it.

And no more filtering out messages, as we should no longer spam the
logs with them (the 'Connected json input' one was removed some time
ago).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2018-08-24 11:48:51 +09:30
parent a3115279fd
commit 9d517ddc1d
7 changed files with 5 additions and 28 deletions

View File

@@ -299,7 +299,6 @@ class LightningD(TailableProc):
'lightning-dir': lightning_dir,
'addr': '127.0.0.1:{}'.format(port),
'allow-deprecated-apis': 'false',
'default-fee-rate': 15000,
'network': 'regtest',
'ignore-fee-limits': 'false',
}
@@ -320,16 +319,6 @@ class LightningD(TailableProc):
self.opts['dev-bitcoind-poll'] = 1
self.prefix = 'lightningd-%d' % (node_id)
filters = [
"Unable to estimate",
"No fee estimate",
"Connected json input",
"Forcing fee rate, ignoring estimate",
]
filter_re = re.compile(r'({})'.format("|".join(filters)))
self.log_filter = lambda line: filter_re.search(line) is not None
def cleanup(self):
# To force blackhole to exit, disconnect file must be truncated!
if self.disconnect_file: