1
0
Fork 0
forked from lthn/blockchain
Commit graph

75 commits

Author SHA1 Message Date
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
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
d0862e7be8
chaingen: construct_tx_to_key() gets tx version from block height correctly 2022-11-09 23:52:42 +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
3cb903569c
chaingen: check_mixin_value_for_each_input() minor improvement 2022-11-08 18:25:52 +01:00
sowle
d2469c6473
chaingen: output_index refactoring + fill_output_entries() now can avoid locked outs while looking for decoys 2022-11-08 00:04:31 +01:00
sowle
fe0042df6a
chaingen: pos_block_builder: WIP 2022-11-03 01:25:44 +01:00
sowle
138c7e2ae0
coretests: minor improvements 2022-11-01 00:11: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
5ce6c283ea
coretests: build_outputs_indext_for_chain adaptation, chaingen adaptation wip + minor improvements 2022-10-27 04:22:25 +02:00
sowle
f5a0a85fa4
coretests: init_spent_output_indices fix, warnings fix 2022-10-26 20:50:21 +02:00
sowle
e4efbb47f2
coretests: chaingen adaptation for zarcanum, wip 2022-10-26 17:39:10 +02:00
sowle
5fd2899fd2
coretests: fill_tx_sources fixed 2022-10-26 01:07:52 +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
70df00f7df
coretests: pos_block_builder adaptation 2022-10-22 21:00:14 +02:00
sowle
8077c3e892
gcc fix, changed reference to pointer 2022-10-20 14:16:39 +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
cryptozoidberg
52b70ffb24
merge from zarcanum 2022-10-12 23:51:09 +02:00
sowle
f0bbcb5f40
wallet2::prepare_and_sign_pos_block() and COMMAND_RPC_GETBLOCKTEMPLATE refactored 2022-10-12 18:02:22 +02:00
cryptozoidberg
df596d799d
fixed warnings in core tests 2022-10-12 12:19:51 +02:00
sowle
657b1ceddf
coretests: chaingen code cleanup 2022-10-01 21:18:22 +02:00
sowle
078440a815
zarcanum WIP (use standard derivation to scalar conversion to simplify things) + minor 2022-09-23 22:18:22 +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
c7bc50f968
validate_pos_block refactoring 2022-09-08 22:49:36 +02:00
cryptozoidberg
ec73527df9
compilation is ok, tests in progress 2022-09-06 19:41:20 +02:00
sowle
27e695d4f1
wallet: global PoS / pos entries refactoring and code clean-up. 2022-09-05 12:30:08 +02:00
cryptozoidberg
1131292908
Multiple fixes of bugs exposed by basic zarcanum coretest 2022-08-13 23:23:16 +02:00
cryptozoidberg
1a9c3b4d37
fixed coretests compilation 2022-07-13 20:55:34 +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
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
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
cryptozoidberg
1cf6d337d3
introducing tx_version(in progress, everything is broken so far) 2022-05-10 23:49:20 +02:00
cryptozoidberg
2f0b5a323f
core tests fixes for TOR 2022-04-20 20:58:52 +02: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
c4abdc39df
typo fix 2021-04-28 21:26:23 +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