1
0
Fork 0
forked from lthn/blockchain
Commit graph

598 commits

Author SHA1 Message Date
sowle
ce36a65994
Zarcanum PoS: fix for alt blocks validation 2022-11-21 18:43:36 +01:00
sowle
197ef6861f
validate_alt_block_input adapted for post-HF4 inputs (WIP, first attempt) 2022-11-18 20:55:02 +01:00
sowle
5fba04627b
the first working implementation of Zarcanum PoS verification + few bugs fixed in proof gen; zarcanum_pos_block_math test should now succeed 2022-11-18 04:18:41 +01:00
sowle
a1bae08a67
crypto: minor improvements 2022-11-17 00:38:33 +01:00
sowle
a0d3ca0bf3
fix for PoS verification (block hash is used as a message for sig), zarcanum_test_pos_math shoud now pass (2) 2022-11-16 23:49:03 +01:00
sowle
4f02abac02
in get_tx_version() params named more obviously to avoid mistakes 2022-11-09 23:49:45 +01:00
sowle
01c656791a
hardfork activation message slightly changed to be less confusing (take a look @cryptozoidberg) 2022-11-09 16:53:15 +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
f8558a020a
construct_miner_tx now can use externally generated one time tx key 2022-11-08 00:00:24 +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
5ce6c283ea
coretests: build_outputs_indext_for_chain adaptation, chaingen adaptation wip + minor improvements 2022-10-27 04:22:25 +02:00
sowle
e4efbb47f2
coretests: chaingen adaptation for zarcanum, wip 2022-10-26 17:39:10 +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
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
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
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
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
cryptozoidberg
73a8f57f84
test for validatiing n-outputs against hardfork 4 2022-10-16 14:46: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
b94c9f75d3
1) logging: channel(s) enabling made optionally less verbose; 2) various fixes after the merge 2022-10-14 19:08:27 +02:00
cryptozoidberg
52b70ffb24
merge from zarcanum 2022-10-12 23:51:09 +02:00
cryptozoidberg
38b5ef3748
removed debug logs 2022-10-12 23:38:48 +02:00
cryptozoidberg
0b97855eeb
one more constructor overload: and fixed 2022-10-12 23:05:25 +02:00
cryptozoidberg
b3b57ae534
one more constructor overload 2022-10-12 23:01:17 +02:00
cryptozoidberg
affdff7a3d
pre-fix for the problem with asset_id 2022-10-12 22:57:09 +02:00
cryptozoidberg
9f26c35630
added more logs to multiasset test debug 2 2022-10-12 20:03:42 +02:00
sowle
7a1a4b0058
crypto: zarcanum signature generation partially done (work in progress) 2022-10-12 19:17:00 +02:00
cryptozoidberg
64ff2cb641
added more logs to multiasset test debug 2022-10-12 18:55:50 +02:00
sowle
ab268af7b8
get_random_outs_for_amounts adaptation, get_mix_attr_from_tx_out_v implemented 2022-10-12 17:50:02 +02:00
cryptozoidberg
d3b2ca0e3a
more warnings cleanup 2022-10-12 12:10:48 +02:00
cryptozoidberg
cdd7c1e735
warnings suppress 2022-10-11 20:53:36 +02:00
cryptozoidberg
ce7438265d
added default initialization 2022-10-11 20:19:24 +02:00
cryptozoidberg
f1a7c25fa3
fixed warnings on linux 2022-10-11 13:44:59 +02:00
sowle
a0bdc08633
blinding mask calculation fix (cherry pick from multiassets) 2022-10-10 23:59:42 +02:00
cryptozoidberg
19f0f0bbf0
fixed but with sequence points 2022-10-10 20:46:06 +02:00
cryptozoidberg
4d9e6d41a2
fix for linux build 2022-10-07 22:16:42 +02:00
cryptozoidberg
b3daf9aa08
fixed bug in constract_tx regarding inputs mapping 2022-10-07 21:44:43 +02:00
cryptozoidberg
8a54924407
multiple fixes over wallet and math(credits to @sowle) 2022-10-06 22:59:00 +02:00