Commit graph

27 commits

Author SHA1 Message Date
Dmitry Matsiukhov
ffa94febc6
coretests: block_choice_rule_bigger_fee test added (#530)
* add bigger fee block choice test

* fix block_validation

* remove c1, add check_top_block callback

* added more checks

* update test case

* delete: cmake fix for linux

* part of fixs

* add new check

* delete unused declareted

* add comments

* fix comment

* fix comments
2025-06-23 20:54:52 +02:00
sowle
ca9a8f95de
Merge branch 'develop' into txhfid 2025-02-03 18:29:45 +01:00
Stёpa Dolgorukov
dd64c805d7
coretests: Update "block_with_correct_prev_id_on_wrong_height" test (#499)
* Core tests: implement the test "block_with_correct_prev_id_on_wrong_height"

* Core tests: update "block_with_correct_prev_id_on_wrong_height" test
2025-01-29 11:24:18 +01:00
Stёpa Dolgorukov
1087be7b0a
coretests: implement the tests "block_reward_in_main_chain_basic", "block_reward_in_alt_chain_basic" (#493)
* Core tests: implement tests "block_reward_in_main_chain_basic", "block_reward_in_alt_chain_basic"

* Use an automatic variable type deduction

* Call "assert_reward" callback before the callback "assert_balance"

* Update comments for the test "block_reward_in_alt_chain_basic"
2025-01-21 01:12:44 +01:00
sowle
8dd8a6ac1c
tx hf id: WIP 2024-12-27 07:27:43 +01:00
Stёpa Dolgorukov
9e3ece1818
coretests: implemented the test "block_with_correct_prev_id_on_wrong_height" (#479) 2024-12-09 17:32:41 +01:00
cryptozoidberg
e066257278
ionic_swaps: replaced Alice and Bob terms to Initiator and Finalizer 2023-10-11 12:28:05 +02:00
sowle
1ec3bac95d
coretests: adapted few tests to fit redesigned test environment (hardforks) 2023-06-05 18:19:39 +02:00
cryptozoidberg
62d173424a
changed approach to turn core_tests against hardforks 2023-05-01 00:03:24 +02:00
cryptozoidberg
a83dedf2a4
multiple fixes over old block verification tests 2023-04-30 00:43:49 +02:00
sowle
4f703fe8f8
DIFFICULTY_STARTER was split into DIFFICULTY_POW_STARTER and DIFFICULTY_POS_STARTER 2022-11-23 03:05:59 +01:00
cryptozoidberg
bbe8e14e2b
fixed gen_block_wrong_version_agains_hardfork 2022-08-22 14:49:49 +02:00
cryptozoidberg
be5766f266
fixes against recent changes over tx_source_entry::output_entry 2022-07-13 17:17:04 +02:00
sowle
f24b1350ab
Merge branch 'zarcanum_tx' into zarcanum
# Conflicts solved in:
#	src/currency_core/blockchain_storage.cpp
#	src/currency_core/blockchain_storage.h
#	src/currency_core/core_runtime_config.h
2022-05-26 17:59:15 +02:00
sowle
456588ddc3
hardfork-related structures global refactoring 2022-05-26 16:53:40 +02:00
cryptozoidberg
217a54c8b1
fixed all core tests 2022-05-25 22:31:23 +02:00
cryptozoidberg
389209ff02
tx stracture changes: in progress 3 + signatures converting to varian signature: in progress 2022-05-20 21:32:27 +02:00
cryptozoidberg
17d1245db1
serializations forks as magic 2022-05-17 17:32:53 +02:00
cryptozoidberg
240b5808b9
trasaction binary versions transaction implementation 2022-05-16 23:32:28 +02:00
cryptozoidberg
1cf6d337d3
introducing tx_version(in progress, everything is broken so far) 2022-05-10 23:49:20 +02:00
cryptozoidberg
ac5b6b6030
fixed few bugs in block version pre-validation(possible hardfork) 2021-04-23 22:37:37 -05:00
cryptozoidberg
b2a7423ab4
htlc in work: scanning for outputs and validation agains internal errors 2021-01-06 00:10:54 +01:00
sowle
f532e4637e
coretests fixed 2020-04-23 15:41:40 +03:00
cryptozoidberg
676ad16fca
fixed most of the coretests 2019-07-26 18:53:42 +02:00
cryptozoidberg
c9f93364ad
changed difficulty adjustment 2019-07-19 18:39:00 +02:00
sowle
976ed481d0 coretests adapted for serializable_pair 2019-05-01 16:01:10 +02:00
crypro.zoidberg
f23e97c10c Moved sources to public repo 2018-12-27 18:50:45 +03:00