mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Merge d4d9daff7a into merged_master (Bitcoin PR bitcoin/bitcoin#25200)
This commit is contained in:
commit
49b32361ba
5 changed files with 7 additions and 6 deletions
|
|
@ -58,7 +58,7 @@ void benchmark::BenchRunner::RunAll(const Args& args)
|
|||
std::smatch baseMatch;
|
||||
|
||||
if (args.sanity_check) {
|
||||
std::cout << "Running with --sanity check option, benchmark results will be useless." << std::endl;
|
||||
std::cout << "Running with --sanity-check option, benchmark results will be useless." << std::endl;
|
||||
}
|
||||
|
||||
std::vector<ankerl::nanobench::Result> benchmarkResults;
|
||||
|
|
|
|||
|
|
@ -182,13 +182,13 @@ void TestAddAddressesToSendBook(interfaces::Node& node)
|
|||
search_line->setText("io");
|
||||
QCOMPARE(table_view->model()->rowCount(), 2);
|
||||
|
||||
// Check wilcard "?".
|
||||
// Check wildcard "?".
|
||||
search_line->setText("io?new");
|
||||
QCOMPARE(table_view->model()->rowCount(), 0);
|
||||
search_line->setText("io???new");
|
||||
QCOMPARE(table_view->model()->rowCount(), 2);
|
||||
|
||||
// Check wilcard "*".
|
||||
// Check wildcard "*".
|
||||
search_line->setText("io*new");
|
||||
QCOMPARE(table_view->model()->rowCount(), 2);
|
||||
search_line->setText("*");
|
||||
|
|
|
|||
|
|
@ -257,7 +257,7 @@ BOOST_AUTO_TEST_CASE(versionbits_test)
|
|||
/** Check that ComputeBlockVersion will set the appropriate bit correctly */
|
||||
static void check_computeblockversion(VersionBitsCache& versionbitscache, const Consensus::Params& params, Consensus::DeploymentPos dep)
|
||||
{
|
||||
// Clear the cache everytime
|
||||
// Clear the cache every time
|
||||
versionbitscache.Clear();
|
||||
|
||||
int64_t bit = params.vDeployments[dep].bit;
|
||||
|
|
|
|||
|
|
@ -86,8 +86,8 @@ void SetMockTime(std::chrono::seconds mock_time_in);
|
|||
std::chrono::seconds GetMockTime();
|
||||
|
||||
/**
|
||||
* Return the current time point cast to the given precicion. Only use this
|
||||
* when an exact precicion is needed, otherwise use T::clock::now() directly.
|
||||
* Return the current time point cast to the given precision. Only use this
|
||||
* when an exact precision is needed, otherwise use T::clock::now() directly.
|
||||
*/
|
||||
template <typename T>
|
||||
T Now()
|
||||
|
|
|
|||
1
test/lint/spelling.ignore-words.txt
Normal file → Executable file
1
test/lint/spelling.ignore-words.txt
Normal file → Executable file
|
|
@ -16,6 +16,7 @@ inflight
|
|||
keypair
|
||||
mor
|
||||
mut
|
||||
nd
|
||||
nin
|
||||
ser
|
||||
siz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue