1
0
Fork 0
forked from lthn/blockchain
Commit graph

680 commits

Author SHA1 Message Date
cryptozoidberg
64a043a18f
fixed few bugs related to aliases registration and block versions 2023-04-26 23:59:33 +02:00
cryptozoidberg
9f6436ea08
Final fixes for ionic_swap_basic_test - first time test worked!!!!! 2023-04-25 00:16:13 +02:00
cryptozoidberg
09215f8923
Fixes over TX_FLAG_SIGNATURE_MODE_SEPARATE and ionic swaps 2023-04-21 17:33:56 +02:00
cryptozoidberg
4acb2bae03
multiple fixes over ionic_swap proposal 2023-04-20 22:08:20 +02:00
cryptozoidberg
aa8d3207a4
minor fixes over TX_FLAG_SIGNATURE_MODE_SEPARATE 2023-04-18 20:07:33 +02:00
cryptozoidberg
44e22b611d
Multiple fixes here and there, mostly fixing compilation problems 2023-04-18 16:55:25 +02:00
cryptozoidberg
ac4a62a5c9
fixed API for explorer 2023-04-17 23:04:30 +02:00
cryptozoidberg
4aa58d1202
Merge branch 'cryptoassets' into multiassets 2023-04-17 19:36:49 +02:00
cryptozoidberg
9859361e36
Multiple fixes over ionic_swap 2023-04-17 19:35:55 +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
cryptozoidberg
74ad0023ee
Merge branch 'cryptoassets' into multiassets 2023-04-13 20:08:31 +02:00
cryptozoidberg
e30341163b
Added intermediate information secure transfer between proposal and acceptance 2023-04-13 20:07:43 +02:00
sowle
0ec1b0f011
decode_output_amount_and_asset_id() implemented 2023-04-13 19:54:06 +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
f1815da106
coretests: hardfork 3 set to be default for tests + defaults initialization 2023-04-12 04:55:17 +02:00
sowle
3abf473c8e
fixing gcc errors while trying not to screw up msvc compilation at the same time (wip) 2023-04-08 21:59:18 +02:00
sowle
a7c7c14854
asset surjection proof: has been debugged, test multiassets_basic_test is now passed 2023-04-08 03:21:43 +02:00
sowle
447b09f400
check_tx_explicit_asset_id_rules(), is_asset_emitting_transaction() 2023-04-07 06:04:00 +02:00
sowle
c5ff48b9a5
crypto constants refactored: moved to headers as constexpr's, new constexpr ctors added, some were improved + tests greatly improved (crypto_constants and crypto_scalar_basics) 2023-04-06 02:50:12 +02:00
sowle
6915213eb1
verify_asset_surjection_proof() : first PoC implementation 2023-04-04 23:22:11 +02:00
sowle
8f86674fc1
crypto: constants for generators U, X, 1/8*H updated + crypto_basics test was adatped 2023-04-04 23:18:04 +02:00
sowle
228d73a39c
construct_miner_tx: explicit asset_id for PoS fixed 2023-04-04 14:04:42 +02:00
sowle
990f99767d
asset surjection proof: core adaptation & debugging (wip) 2023-04-01 06:49:40 +02:00
sowle
a13cb94214
assets surjection proof: work in progress, more data prepared 2023-03-23 03:37:05 +01:00
sowle
c1d6d13e7b
assets surjection proof: work in progress 2023-03-22 23:28:01 +01:00
sowle
06c0394b67
Zarcanum: 5-layers CLSAG draft implementation (tests are yet tbd, WIP) 2023-03-21 22:26:24 +01: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
b5c1c5477d
Zarcanum adaptation for confidential assets (WIP) 2023-03-20 21:25:08 +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
96753bbc94
proofs generation moved from construct_miner_tx to wallet2::prepare_and_sign_pos_block + improvements over generate_zc_outs_range_proof 2023-03-17 23:59:21 +01:00
sowle
72dab7bb1e
Zarcanum & assets balance proof refactoring: WIP 2023-03-17 23:29:26 +01:00
sowle
c6294f7cb6
Zarcanum & assets balance proof refactoring: work in progress 2023-03-16 23:59:52 +01:00
sowle
2f91a2b7f3
check_tx_balance minor improvement 2023-03-14 23:53:50 +01:00
sowle
f3f7b1a742
crypto traits for (extended) range proofs were refactored to support different sets of generators + debug helpers after a long debug session 2023-03-13 20:05:06 +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
44b2619d79
construct_tx: mark outs asset id's as explicit if all inputs has obvious asset ids and there's no asset emission operation in tx 2023-03-08 21:24:06 +01:00
sowle
f980bdadf5
balance proof: final fixes for asset-transferring txs; outputs_generation_context cleanup 2023-03-07 12:38:30 +01:00
sowle
730b8c52e2
balance proof refactored to new "simple Schnorr against X or G" scheme, has been debugged finally 2023-03-06 21:50:11 +01:00
sowle
eb29f7f1e9
vector_UG_aggregation_proof made more strict, E_j structure now enforced to be lin(T'_j, G) 2023-03-02 22:06:42 +01:00
sowle
9aed3e6f45
zc_balance_proof refactoring (switching to generic Schnorr proof rel. to G and X depending on presence of ZC ins), work in progress 2023-03-01 22:27:46 +01:00
sowle
1ed33ce910
validate_tx_semantic() fixed for post-HF4 2023-02-27 21:26:30 +01:00
sowle
b1ccf8644b
3-CLSAG GGX implementation + tests 2023-02-27 18:00:53 +01:00
sowle
7bdb410b5d
is_out_to_acc: handling of non-blinded native assets id added 2023-02-27 15:36:58 +01:00
sowle
a532a3e042
native_coin_asset_id_pt introduced 2023-02-27 15:35:22 +01:00
sowle
3eca2a1611
explicit native asset id for tx_destination_item and construct_tx_out 2023-02-26 21:49:21 +01:00
sowle
5fbb7a7fbb
bcs: range proofs collection, aggragation and balance checking refactored & improved 2023-02-26 21:48:09 +01:00
sowle
e019200b85
minor fix for construct_tx_out 2023-02-22 22:03:43 +01:00
cryptozoidberg
b5ad2ffcdc
implemented boost::optional serialization 2023-02-21 17:18:21 +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
f9b54f305a
ca: wallet refactoring to support confidential assets (WIP) 2023-02-21 01:41:33 +01:00