1
0
Fork 0
forked from lthn/blockchain
Commit graph

2847 commits

Author SHA1 Message Date
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
bedf0285b0
blocks validation: prevalidate_miner_transaction() moved to go before heavy proof of work / proof of stake checks (@cryptozoidberg, please, take a look) 2022-11-04 21:17:27 +01:00
sowle
1a22991617
fix construct_miner_tx 2022-11-03 23:08:22 +01:00
sowle
3835051fcb
construct_miner_tx() and prepare_and_sign_pos_block() made consistent in terms of PoS input 2022-11-03 21:01:49 +01:00
sowle
fe0042df6a
chaingen: pos_block_builder: WIP 2022-11-03 01:25:44 +01:00
sowle
ca4c9d4bad
set_hardfork_height() changed to set all unset prev hardforks to the same height 2022-11-01 23:37:42 +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
078a7bf8b5
pos mining code is generalized and now can be used outside of wallet2 2022-10-23 23:48:43 +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
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
d4205fdf89
coretests: --log-level command-line option support added 2022-10-19 04:44:18 +02:00
sowle
1677bf5311
crypto tests: bppe_power_128 test added 2022-10-19 04:43:14 +02:00
sowle
fd5ecfc64c
Zarcanum PoS validation: zarcanum_verify_proof, prevalidate_miner_transaction, BPPE changed from H2 to X, etc. 2022-10-19 04:42:36 +02:00
sowle
3aafd31992
Zarcanum PoS blocks validation: WIP + wallet decoys 2022-10-18 04:34:32 +02:00
sowle
bb61396c10
fixed concealing_point calculation consistency over BCS and wallet PoS code 2022-10-18 04:32:40 +02:00
sowle
e704303f3b
crypto: serialization for zarcanum_sig and CLSAG_GGXG_signature_serialized 2022-10-18 04:30:54 +02:00
sowle
ed3b698839
crypto: more checks for generate_CLSAG_GGXG 2022-10-18 04:29:41 +02:00
cryptozoidberg
76e628d63f
disabled zarcanum_test_n_inputs_validation for zarcanum branch 2022-10-16 14:46:18 +02:00
cryptozoidberg
73a8f57f84
test for validatiing n-outputs against hardfork 4 2022-10-16 14:46:18 +02:00
sowle
6810a65661
the first Zarcanum PoS block generated successfully, but yet to be verified by the core 2022-10-16 03:17:18 +02:00
sowle
088ea83808
miner improvements on PoS block validation 2022-10-16 03:13:03 +02:00
sowle
c5206d0f52
zarcanum PoS: another iteration on zarcanum_generate_proof (WIP) 2022-10-14 19:26:52 +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
b94c9f75d3
1) logging: channel(s) enabling made optionally less verbose; 2) various fixes after the merge 2022-10-14 19:08:27 +02:00
sowle
2c88652fbd
Merge branch 'multiassets' into zarcanum 2022-10-13 15:17:02 +02:00
cryptozoidberg
bc95391e93
removed link to local object(really bad day) 2022-10-13 00:07:40 +02:00
cryptozoidberg
52b70ffb24
merge from zarcanum 2022-10-12 23:51:09 +02:00
cryptozoidberg
d4166ffa5d
Fixed DUMBEST bug of this year!(absolute champion) 2022-10-12 23:40:38 +02:00