1
0
Fork 0
forked from lthn/blockchain
Commit graph

264 commits

Author SHA1 Message Date
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
a83dedf2a4
multiple fixes over old block verification tests 2023-04-30 00:43:49 +02:00
sowle
1a698a72b2
a rare case in get_est_height_from_date fixed (credits go to @crypto_zoidberg) 2023-04-28 21:51:28 +02:00
cryptozoidberg
64a043a18f
fixed few bugs related to aliases registration and block versions 2023-04-26 23:59:33 +02:00
cryptozoidberg
aa8d3207a4
minor fixes over TX_FLAG_SIGNATURE_MODE_SEPARATE 2023-04-18 20:07:33 +02:00
cryptozoidberg
ac4a62a5c9
fixed API for explorer 2023-04-17 23:04:30 +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
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