1
0
Fork 0
forked from lthn/blockchain
Commit graph

59 commits

Author SHA1 Message Date
sowle
917437b31e
typo fixed 2022-11-17 23:01:37 +01:00
sowle
35b3be92eb
chaingen: more verbose error logging in check_tx_verification_context() and block_tx_verification_context() 2022-11-17 22:19:06 +01:00
sowle
fa0f51a7ed
chaingen: add_block/add_block_info adapted, remove_block_info implemented 2022-11-16 22:04:18 +01:00
sowle
a7198b3313
coretests: get_params_for_next_pos_block() + zarcanum_test_pos_math finally makes custom and normal gen-time PoS Zarcanum blocks 2022-11-16 03:34:42 +01:00
sowle
8543bb187f
compilation fix 2022-11-16 03:15:31 +01:00
sowle
94c9c0cebc
chaingen: 1) added support of mixins for build_wallets (via proxy stub); 2) add_block_info adatped for zc inputs + minor improvements 2022-11-16 02:31:22 +01:00
sowle
c542b86200
chaingen: 1) shuffle_source_entries impemented; 2) zarcanum_txs_with_big_decoy_set improved for pre-HF4 part 2022-11-09 16:57:48 +01:00
sowle
266a0556ce
chaingen: 1) check_hardfork_inactive implemented, 2) check_hardfork_* callbacks now calls BCS::is_hardfork_active(), i.e. check against top_block_height+1 instead of top_block_height 2022-11-09 16:55:54 +01:00
sowle
5f8c90bac6
1) absolute_output_offsets_to_relative() is now deprecated, new functions introduced to be used instead: prepare_outputs_entries_for_key_offsets() and absolute_sorted_output_offsets_to_relative_in_place()
2) fixed incorrect key_offsets sorting in construct_tx. Coretest zarcanum_txs_with_big_decoy_set now should pass okay.
2022-11-08 00:17:34 +01:00
sowle
096de774b1
coretests: 1) test_gentime_settings_restorer; 2) zarcanum_pos_block_math -> zarcanum_gen_time_balance + improvements 2022-11-01 00:10:51 +01:00
sowle
20e72f18fc
coretests: 1) ignoring invalid blocks/txs made optional (may be disabled if necessary); 2) hard_fork_2_no_new_structures_before_hf fixed 2022-11-01 00:06:47 +01:00
sowle
45d76ee28a
coretests: blocks and txs that are marked as bad are now skipped by chaingen::find_block_chain 2022-10-31 18:17:34 +01:00
sowle
4ea5e67d44
coretests: 1) tests_random_split_strategy added; 2) test_gentime_settings adapted and improved 2022-10-28 04:17:48 +02:00
sowle
ab58d091f2
chaingen: made events macros more verbose 2022-10-28 01:07:45 +02:00
sowle
fadb925d5b
coretests: multisig_and_unlock_time fixed (more strict check for unlock time in chaingen) + helper macros for chaingen 2022-10-27 23:58:52 +02:00
sowle
f5a0a85fa4
coretests: init_spent_output_indices fix, warnings fix 2022-10-26 20:50:21 +02:00
sowle
d738a34275
warning fix 2022-10-26 17:58:58 +02:00
sowle
5f9aea7a22
1) on_test_generator_created() 2) zarcanum_pos_block_math test added 3) init_output_indices() adapted -- WIP 2022-10-25 23:59:25 +02:00
sowle
24ce9d4b40
blinding_masks_sum now passed via: construct_miner_tx -> create_block_template -> bild_minted_block -> prepare_and_sign_pos_block 2022-10-20 12:46:41 +02:00
sowle
47d18e5deb
wallet2::prepare_and_sign_pos_block() refactored, vector<gen_wallet_info> added 2022-10-14 19:18:24 +02:00
sowle
7d57e8a993
coretests: chaingen PoS refactored, mining outside-of-wallet2 eliminated, code unified 2022-09-23 18:45:22 +02:00
sowle
2aa62f43bb
coretests: getting rid of set_pos_to_low_timestamp; postponed tests not running 2022-09-15 19:41:46 +02:00
sowle
27e695d4f1
wallet: global PoS / pos entries refactoring and code clean-up. 2022-09-05 12:30:08 +02: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
32c852b48c
coretests: improve log messages on events generation 2022-05-26 17:01:28 +02:00
sowle
456588ddc3
hardfork-related structures global refactoring 2022-05-26 16:53:40 +02:00
cryptozoidberg
7070cecaf2
tx strcture and signature varian refactoring(compilation is still broken) 2022-05-23 21:03:13 +02:00
cryptozoidberg
cfb9b463d7
merge with zarcanum 2022-05-14 20:12:44 +02:00
cryptozoidberg
ca760a237a
fixed all coretests 2022-05-13 23:35:56 +02:00
cryptozoidberg
186e1fdcf9
multiple fixes over core_tests(transition to tx_version 2) 2022-05-11 23:52:33 +02:00
sowle
b7f30382e1
more minor fixes 2022-05-11 21:11:33 +02:00
sowle
7df157520d
minor fixes (epee namespace, warnings) 2022-05-11 21:02:06 +02:00
cryptozoidberg
1cf6d337d3
introducing tx_version(in progress, everything is broken so far) 2022-05-10 23:49:20 +02:00
sowle
b6fca25a10 boost placeholders fix 2022-03-20 03:22:46 +03:00
sowle
8375c3da62
core_tests: chaingen::check_mixin_value_for_each_input() 2021-10-19 04:46:20 +03:00
sowle
9bfc9a0490
get rid of coinday_weight 2021-10-08 08:01:59 +03:00
sowle
ebf5486513
1) test_chain_unit_enchanced::check_hardfork_active implemented, 2) core runtime config minor improvement 2021-04-28 07:00:32 +03:00
cryptozoidberg
38aab2c61c
moved htlc from hardfork 2 to hardfork 3 2021-04-22 11:48:33 -05: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
447d11e02d
htlc: fixes here and there2 2021-02-03 18:37:57 +01:00
sowle
e625539758
coretests: construct_tx_with_many_outputs made familiar with ref_by_id 2021-01-08 23:52:46 +03:00
sowle
7cc220c8bd
coretests: count_ref_by_id_and_gindex_refs_for_tx_inputs added 2021-01-08 02:22:29 +03:00
sowle
c1e3b80191
coretests: minor refactoring 2020-05-18 17:20:23 +03:00
sowle
f532e4637e
coretests fixed 2020-04-23 15:41:40 +03:00
sowle
145dd6b024
unit_tests fixed 2020-04-23 14:56:03 +03:00
sowle
9ede2f9802
coretests: implemented mark_unverifiable_tx callback for test_chain_unit_enchanced base class 2020-02-16 21:43:59 +03:00
sowle
c7004d0420
coretests: test_chain_unit_enchanced::remove_stuck_txs added 2019-10-16 16:32:58 +03:00