sowle
447b09f400
check_tx_explicit_asset_id_rules(), is_asset_emitting_transaction()
2023-04-07 06:04:00 +02:00
sowle
6915213eb1
verify_asset_surjection_proof() : first PoC implementation
2023-04-04 23:22:11 +02:00
sowle
990f99767d
asset surjection proof: core adaptation & debugging (wip)
2023-04-01 06:49:40 +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
4f1d01fc73
crypto: 5-layers extended CLSAG is introduced for Zarcanum + confidential assets needs (stubs so far, tbd)
2023-03-20 21:21:47 +01:00
sowle
c6294f7cb6
Zarcanum & assets balance proof refactoring: work in progress
2023-03-16 23:59:52 +01:00
sowle
c45f9ee894
fixed passing of blinded_asset_id for each decoy when requested by RPC from daemon + minor improvements for CLSAG_GGX
2023-03-08 21:26:09 +01:00
sowle
5fbb7a7fbb
bcs: range proofs collection, aggragation and balance checking refactored & improved
2023-02-26 21:48:09 +01:00
sowle
f3eb63d25c
ca: global refactoring: tx balance validation, asset operation validation, transaction creation. Also, main tx structure improved with @cryptozoidberg to reflect needs in versatile prunable proofs storage!
2023-02-21 01:51:55 +01:00
sowle
7652a117cd
confidential assets: core & wallet refactoring, various fixes, WIP
2023-02-09 23:35:33 +01:00
sowle
f978be8b90
range proofs: Zano now uses U and G generators for aggregable range proof amount commitments
2023-02-08 18:54:25 +01:00
sowle
67fecc69fe
Merge branch 'multiassets' into cryptoassets
2023-02-04 20:34:03 +01:00
sowle
f2375f0156
confidential assets: work in progress
2023-02-01 21:58:26 +01:00
cryptozoidberg
48f9466b3e
extra verification checks in add_out_to_get_random_outs()
2022-12-20 21:23:53 +01:00
cryptozoidberg
64a90d190a
optimization on get_random_outs
2022-12-20 21:22:11 +01:00
sowle
4579f172d8
blockchain_storage::pop_transaction_from_global_index() adapted for HF4
2022-11-24 04:34:58 +01:00
sowle
28c6a0db9b
error logging verbosity improved in a few places
2022-11-24 04:33:52 +01:00
sowle
3ff4a69945
DIFFICULTY_STARTER was split into DIFFICULTY_POW_STARTER and DIFFICULTY_POS_STARTER (2)
2022-11-23 04:13:39 +01:00
sowle
0b2fef7642
alt block tx validation fixed for htlc
2022-11-21 22:57:05 +01:00
sowle
88e3190aad
bcs: more verbose logging
2022-11-21 21:49:11 +01:00
sowle
a0125f81e9
bcs: prevalidate_miner_transaction moved to be called before heavy PoW/PoS (now for alt blocks as well)
2022-11-21 20:40:14 +01:00
sowle
d06aa7796e
bcs: purge_altblock_keyimages_from_big_heap adapted
2022-11-21 20:38:56 +01:00
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