Skip to content

Jl777#646

Merged
jl777 merged 2 commits intodevfrom
jl777
May 1, 2018
Merged

Jl777#646
jl777 merged 2 commits intodevfrom
jl777

Conversation

@jl777
Copy link
Copy Markdown
Owner

@jl777 jl777 commented May 1, 2018

Fix notary mining latency

@jl777 jl777 merged commit a04c095 into dev May 1, 2018
dimxy pushed a commit to dimxy/komodo that referenced this pull request Nov 21, 2025
…ependent (jl777#646)

* tests, debug: add debug printout for Global Variables

* tests: fix fTxIndex set after exit from GMPArithTests.RewardsTest

DeckerSU/KomodoOcean#95 (comment)

* tests: fix LegacyEventsTests removing temp directory, close komodoevents

Windows specifics: The OS more strictly locks files if they are in use, even if their usage has been completed in the code. We should not leave the komodoevents file descriptor open.

TODO: The **signedmasks** descriptor is also handled during komodod / komodo-test execution and is never closed (!)

* tests: prevent ASSETCHAINS_MAGIC corruption in ParseArgumentsTests

* tests: prevent ASSETCHAINS_CCDISABLES corruption in ParseArgumentsTests

* tests: move deleteIfUsedBefore to testutils.h

* tests: fix TestCoinImport global variables set/unset

* debug: add assetchain output stream operator<<

* tests: disable GLEEC example, as an old GLEEC chain now require -datadir

* tests: fix TestNotary.* tests set, now it's tied to NUM_KMD_SEASONS

* tests: fix global fTxIndex state in TestChain

* tests: fix TestParseNotarisation.FilePaths test

* test: fix consensus params after chainparams_commandline call

* tests: fix TestAlerts.AlertNotify test

* tests: fix TestParseNotarisation.test_prevMoMheight tests

last.MoM could be modified by other tests, so we need a workaround.

* tests: fix TestParseNotarisation tests

IS_KOMODO_NOTARY changes critical for LegacyEvents tests.

* tests: check IS_KOMODO_NOTARY == false condition, for LegacyEventsTests

* tests: fix IsInitialBlockDownload() debug output in LegacyEventsTests

we want to output value, not address ...

* tests: prevent ASSETCHAINS_CC corruption

* tests: prevent ASSETCHAINS_COMMISSION corruption

* tests: add test_block suite comments

* tests: make Mempool tests independent from chainActive state

prevent crash in GetMedianTimePast calculation

* tests: fix TestEvalNotarisation.test_komodo_notarysinit test

* test: fix TestEvalNotarisation.test_komodo_notaries test

* tests: temp fix for TestNotary.KomodoNotaries test

* tests: fix TestEvalNotarisation.test_komodo_notarysinit

static hwmheight can be non-zero after komodo_init(...) after some
other tests ... so we should clear it once again.

* CC: fix CCShowStructure behavior if nullptr is passed

* tests: fix all TestBet.* set (undefined behavior inside komodo_nextheight)

* tests: move GTEST_COUT_COLOR to testutils.h

* tests: add GetNetworkByIdStr function (id_str -> network)

* tests: correct restore old network in Mempool.* and PoW.* tests

* tests: fix GMPArithTests.RewardsTest (should use REGTEST)

* tests: fix TestParseNotarisation.prevMoMheight test

* tests: fix accessing real ~/.komodo directory instead set -datadir

because of path caching ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant