1
0
Fork 0
forked from lthn/blockchain
Commit graph

3077 commits

Author SHA1 Message Date
sowle
db873c8dc2
crypto: more of point_t::operator== and != 2023-04-08 03:17:21 +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
29cb62aaf3
asset surjection proof: debugging in progress 2023-04-05 06:45:27 +02:00
sowle
b9f49c26f0
coretests: blobsize check was temporary disabled 2023-04-04 23:23:46 +02:00
sowle
6915213eb1
verify_asset_surjection_proof() : first PoC implementation 2023-04-04 23:22:11 +02:00
sowle
4d6977b301
wallet2::load_whitelisted_tokens() was temporary disabled 2023-04-04 23:19:48 +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
c9f9c65732
BGE proof has been debugged + more basic tests 2023-03-28 12:47:14 +02:00
sowle
154e649f56
verify_BGE_proof() first PoC implementation 2023-03-27 22:31:55 +02:00
sowle
5b0431daf9
generate_BGE_proof() first PoC implementation 2023-03-27 02:48:42 +02:00
sowle
cfd01e80fe
BGE proof: WIP 2023-03-26 22:36:15 +02:00
sowle
fdc1ceea62
crypto: constexpr helpers moved to crypto-sugar, constexpr_pow added 2023-03-26 22:33:47 +02:00
sowle
beccc55788
crypto: constexpr_floor_log_n, constexpr_ceil_log_n + tests 2023-03-23 23:30:56 +01: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
1a53806642
CLSAG 5-layers GGXXG has been debugged + test added 2023-03-22 03:14:45 +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
95ebf24944
crypto tests: range proof tests were adapted and improved 2023-03-13 20:07:34 +01:00
sowle
d39b72c9eb
fixed a bug in old-style Zarcanum proof generation (temporary stuff) 2023-03-13 20:06:02 +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
1df413019f
wallet: fixed pos entry selection (limited to native coins) 2023-03-10 13:46:33 +01:00
sowle
c817d3ccb6
minor improvement to multiasset_basic_test 2023-03-08 21:27:01 +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
5644c18917
crypto tests: clsag_ggx_basics improved and also coverage of binary and boost serialization added 2023-03-08 21:19:36 +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
1d3153cfbd
generic_schnorr_sig_s (serialized) + test 2023-03-01 21:28:20 +01:00
sowle
dd1631461d
crypto::generic_schnorr_sig + test 2023-02-28 02:04:50 +01:00
sowle
5127c77ebf
scalar_t::assign_mulsub + test 2023-02-28 02:03:57 +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
44e22becae
crypto: vector_UG_aggregation_proof's generation and verification have been debugged and finalized 2023-02-27 02:56:12 +01:00
sowle
5ffb94749d
minor warning fixed in tor-connect 2023-02-26 21:56:00 +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