Replace global (from test_framework/util.py) wait_until()
usages with the ones provided by BitcoinTestFramework
and P2PInterface
classes.
The motivation behind this change is that the util.wait_until()
expects a timeout, timeout_factor and lock and it is not aware of the context of the test framework. BitcoinTestFramework
offers a wait_until()
which has an understandable amount of default timeout
and a shared timeout_factor
. Moreover, on top of these, mininode.wait_until()
also has a shared lock.
closes #19080