1
0
Fork 0
forked from lthn/blockchain
Commit graph

41 commits

Author SHA1 Message Date
Dmitry Matsiukhov
94c2e65dad
coretests: tx_coinbase_separate_sig_flag test added; (separate flag for PoW miner tx coinbase (#538))
* add tests for pow separate tx flag

* refactoring test, leave only poW validation
2025-07-19 15:49:10 +03:00
Dmitry Matsiukhov
4695229f2a
fix warnings (#546)
* fix warnings

* refactoring
2025-07-18 20:17:02 +03:00
Dmitry Matsiukhov
a08772ea6a
coretests: tx_input_mixins test added (test that will combine spending old coins and new coins in one tx and use mixins as 15)
* try to write test for 2 input with nmix

* one of incorrect version

* add test for input old/new

* refactoring and add comments

* delete garbage

* fix from vector variant to unordered_map

* add comment

* using to typedef
2025-07-15 23:36:53 +03:00
sowle
2bb1113b43
core: HF4 coinage rule is not checked while adding a tx to the pool, letting it being confirmed later 2025-06-09 05:43:39 +02:00
sowle
2a13a63eb7
coretests: tx_pool_validation_and_chain_switch improved 2025-06-09 05:39:57 +02:00
sowle
c6b1a84461
Merge branch 'master' into develop 2025-06-03 01:58:12 +02:00
sowle
7eb6986f4d
txpool fixed: txs with too small max_related_block_height will wait in the pool till the current height is okay + coretests tx_pool_validation_and_chain_switch added 2025-06-03 00:01:11 +02:00
sowle
745932738e
coretests: get_tx_version_and_harfork_id_from_events refactoring 2025-04-07 04:47:55 +03:00
sowle
8dd8a6ac1c
tx hf id: WIP 2024-12-27 07:27:43 +01:00
Stёpa Dolgorukov
18c17e48b1
coretests: implemented test "input_refers_to_incompatible_by_type_output" (#480) 2024-12-09 17:34:28 +01:00
Stёpa Dolgorukov
7b2388290c
unit_tests: Test the function "check_tx_inputs_keyimages_diff" on different type inputs in the "tx_pool_semantic_validation" test (#478) 2024-11-07 16:13:58 +01:00
Stёpa Dolgorukov
fbf0d413a8
Get rid of the compiler warning "not all control paths return a value" (#472) 2024-10-22 14:34:19 +02:00
Stёpa Dolgorukov
b836742f66
coretests: improve of the test "tx_pool_semantic_validation" (#465)
* Coretests: implement the test "tx_pool_semantic_validation"

* Play the test "tx_pool_semantic_validation" on the HF 3

* Delete an extra space after the ":"

* Remove an extra adding of objects to the transaction

* Create the input objects of the specified type in the "unsupported input type" case

* Modify the function bodies "inputs_sum", "outputs_sum" to be short

* Remove adding output to the transaction in the cases "inputs amount overflow", "two entries of the same type in extra"

* Get rid of use the object "image" of the type key_image in the case "equal key images in inputs"
2024-10-15 02:30:05 +02:00
sowle
27e310bb84
gcc compilation fixes 2024-09-30 05:06:17 +02:00
Stёpa Dolgorukov
c1264169cc
Coretests: implement "tx_pool_semantic_validation" test (#462) 2024-09-28 03:17:36 +02:00
sowle
168281f862
coretests: tx_version_against_hardfork test added (not working yet due to few issues left intentionally) 2024-08-01 01:39:13 +02:00
sowle
f538fc3a76
coretests: gen_crypted_attachments and fixed-hash tests 2024-03-14 22:04:38 +01:00
cryptozoidberg
be5766f266
fixes against recent changes over tx_source_entry::output_entry 2022-07-13 17:17:04 +02:00
cryptozoidberg
e94e5c0a97
multiple fixes over sig refactoring 2022-06-25 00:06:26 +02:00
cryptozoidberg
4f80c7c334
signature refactoring with [] 2022-06-19 19:47:43 +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
7070cecaf2
tx strcture and signature varian refactoring(compilation is still broken) 2022-05-23 21:03:13 +02:00
cryptozoidberg
ce4b04014b
compilation of core tests fixed 2022-05-12 18:22:53 +02:00
cryptozoidberg
186e1fdcf9
multiple fixes over core_tests(transition to tx_version 2) 2022-05-11 23:52:33 +02:00
cryptozoidberg
1cf6d337d3
introducing tx_version(in progress, everything is broken so far) 2022-05-10 23:49:20 +02:00
sowle
2271ce03b1
coretests: gen_crypted_attachments, gen_tx_extra_double_entry, gen_wallet_decrypted_attachments fixed 2021-03-12 07:14:28 +03:00
sowle
ff445036cc
coretests: code cleanup 2021-03-12 07:13:30 +03:00
sowle
e3dfa2ca67
coretests: many tests fixed due to more strict rule for extra_alias_entry and HF2 2021-03-11 19:43:39 +03:00
cryptozoidberg
3b3dbd6fa2
fixed core tests 2020-09-01 18:48:10 +02:00
sowle
179b41cabb
fixed multi-line comment warnings 2020-08-20 17:05:03 +03:00
sowle
f532e4637e
coretests fixed 2020-04-23 15:41:40 +03:00
cryptozoidberg
cf07085e68
fixed two coretests 2019-11-20 23:03:27 +01:00
sowle
87a294e58b
coretests: tx_key_image_pool_conflict improved to cover more cases, comments added 2019-10-17 14:04:13 +03:00
sowle
e9bc068bfb
coretests: tx_key_image_pool_conflict test added 2019-10-16 16:34:34 +03:00
cryptozoidberg
a5c02c7d8c
improvements over wallet balance caclulations algo 2019-09-27 17:16:18 +02:00
crypro.zoidberg
7fc1eb4d8a multiple fixes on coretests 2019-04-25 23:37:43 +02:00
crypro.zoidberg
cc850cf3c3 Inital integration of progpow 2019-03-25 01:30:20 +01:00
crypro.zoidberg
a61ed92e9e changed seeding, implemented altchain pow validating, coretests changed for new pow 2019-01-13 00:12:30 +03:00
crypro.zoidberg
f23e97c10c Moved sources to public repo 2018-12-27 18:50:45 +03:00