wownero/tests/core_tests
moneromooo-monero 10da0a0b7c
add a --fakechain argument for tests
The core tests use the blockchain, and reset it to be able
to add test data to it. This does not play nice with the
databases, since those will save that data without an explicit
save call.
We add a fakechain flag that the tests will set, which tells
the core and blockchain code to use a separate database, as
well as skip a few things like checkpoints and fixup, which
only make sense for real data.
2015-12-13 11:38:37 +00:00
..
block_reward.cpp year updated in license 2015-01-02 18:52:46 +02:00
block_reward.h year updated in license 2015-01-02 18:52:46 +02:00
block_validation.cpp More changes for 2-min blocks 2015-11-13 00:37:35 -08:00
block_validation.h year updated in license 2015-01-02 18:52:46 +02:00
chain_split_1.cpp year updated in license 2015-01-02 18:52:46 +02:00
chain_split_1.h year updated in license 2015-01-02 18:52:46 +02:00
chain_switch_1.cpp year updated in license 2015-01-02 18:52:46 +02:00
chain_switch_1.h year updated in license 2015-01-02 18:52:46 +02:00
chaingen.cpp Adjust difficulty target (2 min) and full reward zone (60 kbytes) for block version 2 2015-11-13 00:30:45 -08:00
chaingen.h add a --fakechain argument for tests 2015-12-13 11:38:37 +00:00
chaingen001.cpp year updated in license 2015-01-02 18:52:46 +02:00
chaingen_main.cpp 2014 network limit 1.3 fix log/path/data +utils 2015-02-24 20:12:56 +01:00
chaingen_tests_list.h year updated in license 2015-01-02 18:52:46 +02:00
CMakeLists.txt 2014 network limit 1.3 fix log/path/data +utils 2015-02-24 20:12:56 +01:00
double_spend.cpp year updated in license 2015-01-02 18:52:46 +02:00
double_spend.h year updated in license 2015-01-02 18:52:46 +02:00
double_spend.inl year updated in license 2015-01-02 18:52:46 +02:00
integer_overflow.cpp year updated in license 2015-01-02 18:52:46 +02:00
integer_overflow.h year updated in license 2015-01-02 18:52:46 +02:00
ring_signature_1.cpp year updated in license 2015-01-02 18:52:46 +02:00
ring_signature_1.h year updated in license 2015-01-02 18:52:46 +02:00
transaction_tests.cpp year updated in license 2015-01-02 18:52:46 +02:00
transaction_tests.h year updated in license 2015-01-02 18:52:46 +02:00
tx_validation.cpp year updated in license 2015-01-02 18:52:46 +02:00
tx_validation.h year updated in license 2015-01-02 18:52:46 +02:00