mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
lightning/bitcoind: adapt and batch fees estimations
This adapts our fee estimations requests to the Bitcoin backend to the new semantic, and batch the requests. This makes our request for fees much simpler, and leaves some more flexibility for a plugin to do something smart (it could still lie before but now it's explicit, at least.) as we don't explicitly request estimation for a specific mode and a target. Changelog-Changed: We now batch the requests for fee estimation to our Bitcoin backend. Changelog-Changed: We now get more fine-grained fee estimation from our Bitcoin backend.
This commit is contained in:
@@ -1681,7 +1681,7 @@ def test_bitcoind_fail_first(node_factory, bitcoind, executor):
|
||||
wait_for(lambda: l1.daemon.is_in_log(
|
||||
r'getblockhash [a-z0-9]* exited with status 1'))
|
||||
wait_for(lambda: l1.daemon.is_in_log(
|
||||
r'Unable to estimate CONSERVATIVE/2 fee'))
|
||||
r'Unable to estimate opening fees'))
|
||||
|
||||
# Now unset the mock, so calls go through again
|
||||
l1.daemon.rpcproxy.mock_rpc('getblockhash', None)
|
||||
|
||||
Reference in New Issue
Block a user