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
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
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
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
088ea83808
miner improvements on PoS block validation
2022-10-16 03:13:03 +02:00
cryptozoidberg
52b70ffb24
merge from zarcanum
2022-10-12 23:51:09 +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
8e0cf0f142
fixed storage bug over assets container
2022-10-04 23:13:02 +02:00
cryptozoidberg
37f96db8d5
Merge branch 'zarcanum' into multiassets
2022-10-04 22:01:16 +02:00
sowle
5ff48cc1ff
blockchain_storage::check_tx_input() adapted for ZC inputs + get_key_offsets_from_txin_v() + improvements
2022-10-04 21:20:40 +02:00
sowle
6aca885ced
scan_outputkeys_for_indexes adapted for ZC inputs and outputs, specific is_output_allowed_for_input() implemented
2022-10-04 21:17:49 +02:00
cryptozoidberg
432e1c2d2b
merge from zarcanum
2022-10-04 16:32:41 +02:00
cryptozoidberg
51d8c85540
added core test for multiasset(never tried yet)
2022-10-03 22:03:54 +02:00
sowle
0af77077b5
purge_altblock_keyimages_from_big_heap() and purge_transaction_keyimages_from_blockchain() adapted for generic inputs types
2022-10-03 21:39:34 +02:00
sowle
7ce49e4e82
tx_pool: correct handling of key images regardless of input type + get_key_image_from_txin_v refactoring
2022-10-03 20:34:09 +02:00
sowle
01a458b5bc
purge_altblock_keyimages_from_big_heap() adapted for ZC inputs
2022-10-02 00:39:01 +02:00
sowle
7d33323a97
1) generate_ZC_sig fixed;
...
2) tx balance proof now generates only for txs with no ZC inputs;
3) check_inputs_types_suppored fixed;
4) check_outs_valid fixed;
5) check_inputs_overflow fixed;
2022-10-01 21:10:22 +02:00
cryptozoidberg
5ab9a2b974
fixed compilation issues regarding asset_descriptors
2022-09-30 21:23:06 +02:00
cryptozoidberg
c61149f480
added put/pop asset info to core
2022-09-29 23:44:00 +02:00
sowle
b669401332
1) balance proof and explicit fee for post-HF4 txs; 2) multiple range proofs verification fixed; 3) zarcanum_outs_range_proof -> zc_outs_range_proof
2022-09-28 03:45:10 +02:00
sowle
5d349a963d
1) construct_miner_tx now supports post-HF4 PoW 2) new HF4 core rules: at least 2 outputs for each tx; tx.version > 1
2022-09-27 03:06:10 +02:00
sowle
0bfe224b66
minor fixes
2022-09-23 18:45:59 +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
cryptozoidberg
7384485fe1
minting refactoring: in progress
2022-09-05 20:18:27 +02:00
sowle
9215afb462
wallet rpc: obsolete scan pos RPC has been removed
2022-09-05 12:25:04 +02:00
sowle
605ae739b8
zc balance proof implemented, coinbase tx creation and validation refactored
2022-08-25 04:28:34 +02:00
sowle
b253ee70ab
blockchain_storage::prevalidate_block() refactored
2022-08-23 21:26:26 +03:00
cryptozoidberg
bbe8e14e2b
fixed gen_block_wrong_version_agains_hardfork
2022-08-22 14:49:49 +02:00
cryptozoidberg
1131292908
Multiple fixes of bugs exposed by basic zarcanum coretest
2022-08-13 23:23:16 +02:00
cryptozoidberg
11298992d2
added inputs sorting validation
2022-08-12 01:10:52 +02:00
cryptozoidberg
84b702fa3f
removed validation from add_transaction_input_visitor, due to code is duplicated in validate_tx_for_hardfork_specific_terms
2022-08-09 00:03:02 +02:00
cryptozoidberg
86cca50a15
validate_tx_for_hardfork_specific_terms refactoring
2022-08-08 23:59:09 +02:00
sowle
59f8ae5fe7
txin_zarcanum_inputs -> txin_zc_input refactoring, including CLSAG_GG gen/verify + check_tx_input for txin_zc_input
2022-08-03 14:00:39 +02:00
sowle
bd784f9f50
code review and really minor improvements
2022-08-03 13:53:14 +02:00
sowle
e52e2b21a3
ZC_sig
2022-07-22 05:39:54 +02:00
cryptozoidberg
e7489557a6
more checks in core regarding collect_rangeproofs_data_from_tx()
2022-07-14 21:20:29 +02:00
cryptozoidberg
fccf54b295
added handling of zarcanum_outs_range_proofs in core
2022-07-14 21:10:23 +02:00
cryptozoidberg
fc0851922f
Merge branch 'zarcanum' into zarcanum_wallet
2022-07-06 13:23:15 +02:00
sowle
4028bab31c
add_out_to_get_random_outs() and print_blockchain_out_stats() refactoring
2022-07-04 21:08:53 +02:00
cryptozoidberg
b799aae67f
hidden amounts in wallet: syntax fixes
2022-07-04 15:26:28 +02:00
cryptozoidberg
75e05e2d2e
hidden amounts in wallet: process_new_transaction refactoring
2022-06-28 22:27:36 +02:00
sowle
389118e785
zarcanum sig WIP
2022-06-27 23:09:25 +02:00
cryptozoidberg
e94e5c0a97
multiple fixes over sig refactoring
2022-06-25 00:06:26 +02:00