1
0
Fork 0
forked from lthn/blockchain
Commit graph

538 commits

Author SHA1 Message Date
sowle
ec07a63f1e
chaingen: fix for test_generator::build_wallets() + more verbose error logging when didn't find a kernel 2022-11-21 18:39:39 +01:00
sowle
917437b31e
typo fixed 2022-11-17 23:01:37 +01:00
sowle
57acf4013d
coretests: zarcanum_pos_block_math greatly improved to cover various zarcanum signature issues (now exposes a known bug) 2022-11-17 22:20:33 +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
801f244d46
fix for PoS verification (block hash is used as a message for sig), zarcanum_test_pos_math shoud now pass 2022-11-16 23:04:29 +01:00
sowle
fa0f51a7ed
chaingen: add_block/add_block_info adapted, remove_block_info implemented 2022-11-16 22:04:18 +01:00
sowle
93a1aacaca
coretests: zarcanum_pos_math added to the list, now it exposes a bug with PoS block validation 2022-11-16 21:56:32 +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
5e6103b38b
chaingen: pos_block_builder final touches 2 2022-11-16 01:11:53 +01:00
sowle
ea62c8833b
chaingen: pos_block_builder final touches 2022-11-16 00:28:18 +01:00
sowle
e02d15a170
coretests: pos_block_builder now supports Zarcanum 2022-11-11 19:10:50 +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
89fa48880e
coretests: zarcanum_txs_with_big_decoy_set -> zarcanum_txs_with_big_shuffled_decoy_set_shuffled renamed and improved for post-HF4 (will not pass until a fix in chaingen) 2022-11-09 23:48:18 +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
7d97fec3cf
coretests: gen_no_attchments_in_coinbase: CP hash changed 2022-11-08 02:07:59 +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
0b1a97832c
coretests: zarcanum_pos_block_math (WIP, pos_block_builder adaptation) 2022-11-08 00:11:11 +01:00
sowle
d67dbd986f
chainge: pos_block_builder 2022-11-08 00:07:53 +01:00
sowle
e1bec6cc2f
chaingen: pos_block_builder improved (WIP), moved from construct_homemade_pos_miner_tx() to the standard one 2022-11-08 00:06: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
831719381b
coretests: zarcanum_txs_with_big_decoy_set added (reveals a bug in construct_tx) 2022-11-07 23:57:43 +01:00
sowle
fe0042df6a
chaingen: pos_block_builder: WIP 2022-11-03 01:25:44 +01:00
sowle
047dd31c11
coretests: zarcanum_gen_time_balance added to the list 2022-11-01 00:44:55 +01:00
sowle
138c7e2ae0
coretests: minor improvements 2022-11-01 00:11:51 +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
cdb58b727f
coretests: wallet_test_core_proxy::update_blockchain() skips bad txs (it helps to calculate balance correctly in gen mode) 2022-10-31 18:21:06 +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
5ce6c283ea
coretests: build_outputs_indext_for_chain adaptation, chaingen adaptation wip + minor improvements 2022-10-27 04:22:25 +02:00
sowle
e4bc98209d
minor fixes 2022-10-27 00:50:45 +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
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
4db7ac1668
pos block builder: WIP 2022-10-25 04:16:25 +02:00
sowle
b570ca81ef
pos_block_builder & zarcanum adaptation: WIP 2022-10-24 21:01:45 +02:00
sowle
bb71c52d01
made pos_block_builder default-initializable 2022-10-23 02:50:30 +02:00
sowle
70df00f7df
coretests: pos_block_builder adaptation 2022-10-22 21:00:14 +02:00
sowle
dc8c84028d
1) get_object_blobsize(tx) fixed for post-HF4 txs 2) zarcanum_test removed from postponed! (I expect it to pass well now) 2022-10-21 05:01:10 +02:00
sowle
b0d5a3e3f7
coretests: zarcanum_test improved 2022-10-20 18:39:12 +02:00
sowle
a1d39ad051
minor improvements 2022-10-20 18:28:47 +02:00
sowle
8077c3e892
gcc fix, changed reference to pointer 2022-10-20 14:16:39 +02:00