mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user