1
0
Fork 0
forked from lthn/blockchain
Commit graph

107 commits

Author SHA1 Message Date
sowle
146bf51021
chaingen: balance_via_wallet() now supports asset id, replace_coinbase_in_genesis_block() fixed 2023-10-18 21:08:16 +02:00
sowle
a6036e2a13
wallet & PoS: don't try to mine a PoS block if the current sequence factor is too high 2023-08-09 01:38:00 +02:00
sowle
c1e0bc79a2
chaingen: replace_coinbase_in_genesis_block() 2023-08-06 01:51:31 +02:00
sowle
8a8477656d
chaingen: fixed few bugs in construct_tx_with_many_outputs() and put_alias_via_tx_to_list() 2023-08-06 01:28:18 +02:00
sowle
9e61ccfedc
coretests: construct_pow_block_with_alias_info_in_coinbase and construct_block_gentime_with_coinbase_cb adapted for hf4 2023-08-04 02:47:52 +02:00
sowle
b0bbca04d6
coretests: fixed a bug with ZC outs handling in fill_tx_sources() 2023-08-02 22:56:57 +02:00
cryptozoidberg
bf908f43a6
Merge branch 'cryptoassets' into recent_history 2023-06-20 21:59:53 +02:00
cryptozoidberg
2860d030a3
fixes of different situations related to contracts and unconfirmed state 2023-06-16 20:19:49 +02:00
cryptozoidberg
b744dfb79b
all tests compilation fixed(still a lot of broken tests) 2023-06-13 23:06:55 +02:00
sowle
e80e4a60cc
1) refactored block template creation and construct_miner_tx to incorporate block reward, essential for Zarcanum PoS; 2) fixed a bug in Zarcanum PoS generation; zarcanum_block_with_txs test now passes successfully 2023-06-09 01:19:37 +02:00
sowle
ce67a1bd1c
coretests: fixed several bugs in chaingen (init_test_wallet now sets hardforks correctly, fill_sources_and_destinations has been adjected to correctly set destinations in case of random split policy) 2023-06-06 22:37:32 +02:00
sowle
f164335e4e
coretests: zarcanum_in_alt_chain fixed by temporary disabling altchain checks for ZC inputs (+few improvements) 2023-05-22 04:27:40 +02:00
cryptozoidberg
17188ab8fb
properly configured pos_altblocks_validation 2023-05-20 00:53:53 +02:00
cryptozoidberg
b6fecfadff
tx json struct made optional 2023-05-19 19:23:31 +02:00
cryptozoidberg
11939bc4b6
fixed multisig_and_checkpoints 2023-05-19 19:21:02 +02:00
cryptozoidberg
32fca807c3
Merge branch 'cryptoassets' into multiassets 2023-05-02 16:18:18 +02:00
cryptozoidberg
17134351bb
Multiple fixes over core tests related to zarcanum/multiassets 2023-05-02 16:16:58 +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
86e9667773
Merge branch 'multiassets' into cryptoassets 2023-04-27 19:19:19 +02:00
cryptozoidberg
64a043a18f
fixed few bugs related to aliases registration and block versions 2023-04-26 23:59:33 +02:00
sowle
438dd74166
coretests: fixed construct_tx_to_key for boundary condition handling for tx_version at the next block height 2023-04-26 22:49:31 +02:00
sowle
c69ef90249
check_native_coins_amount_burnt_in_outs() instead of get_amount_for_zero_pubkeys() which is now deprecated, some coretests adapted and have been debugged 2023-04-14 04:51:33 +02:00
sowle
a9ac0a24eb
1) outputs_generation_context is now part of finalize_tx_params; 2) outputs_generation_context -> tx_generation_context 2023-04-12 20:13:54 +02:00
sowle
f1815da106
coretests: hardfork 3 set to be default for tests + defaults initialization 2023-04-12 04:55:17 +02:00
sowle
ddd7c21db7
coretests: hardforks are initialized with the defaults for test_generator 2023-04-11 22:41:08 +02:00
sowle
cce4aaaaa3
Zarcanum adaptation for confidential assets: balance and range proofs generation/verification has been debugged (WIP) 2023-03-21 02:34:29 +01:00
sowle
72dab7bb1e
Zarcanum & assets balance proof refactoring: WIP 2023-03-17 23:29:26 +01:00
sowle
a813484a4f
confidential assets: global refactoring WIP (now everything is in compilable state, including tests) 2023-02-13 21:42:31 +01:00
sowle
28c6a0db9b
error logging verbosity improved in a few places 2022-11-24 04:33:52 +01:00
sowle
4f703fe8f8
DIFFICULTY_STARTER was split into DIFFICULTY_POW_STARTER and DIFFICULTY_POS_STARTER 2022-11-23 03:05:59 +01:00
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
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