mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 02:25:40 +01:00
test: wait for fee estimator to catch up before estimating fees
This commit is contained in:
parent
6d5790956f
commit
562664d263
@ -112,6 +112,9 @@ BOOST_AUTO_TEST_CASE(BlockPolicyEstimates)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Wait for fee estimator to catch up
|
||||||
|
SyncWithValidationInterfaceQueue();
|
||||||
|
|
||||||
std::vector<CAmount> origFeeEst;
|
std::vector<CAmount> origFeeEst;
|
||||||
// Highest feerate is 10*baseRate and gets in all blocks,
|
// Highest feerate is 10*baseRate and gets in all blocks,
|
||||||
// second highest feerate is 9*baseRate and gets in 9/10 blocks = 90%,
|
// second highest feerate is 9*baseRate and gets in 9/10 blocks = 90%,
|
||||||
|
Loading…
Reference in New Issue
Block a user