1
0
Fork 0
forked from lthn/blockchain
Commit graph

214 commits

Author SHA1 Message Date
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
fd16da8061
crypto: point_t::ctor made more standard-compliant (gcc error fix) 2023-04-08 05:39:10 +02:00
sowle
db873c8dc2
crypto: more of point_t::operator== and != 2023-04-08 03:17:21 +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
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
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
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
72dab7bb1e
Zarcanum & assets balance proof refactoring: WIP 2023-03-17 23:29:26 +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
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
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
b1ccf8644b
3-CLSAG GGX implementation + tests 2023-02-27 18:00:53 +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
7efe48f522
crypto: vector_UG_aggregation_proof moved to cpp and improved 2023-02-26 21:45:54 +01:00
sowle
91afdac46d
crypto:: scalar_t::operator- (unary) + test 2023-02-26 21:44:54 +01:00
sowle
836e903156
first attempt of vector_UG_aggregation_proof gen & verify 2023-02-22 22:05:03 +01:00
sowle
aecb49b403
scalar_vec_t extended a bit 2023-02-22 22:01:55 +01:00
sowle
4ae6616a2b
crypto: linear composition proof stub 2023-02-21 01:37:42 +01:00
sowle
a813484a4f
confidential assets: global refactoring WIP (now everything is in compilable state, including tests) 2023-02-13 21:42:31 +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
47b1338d32
crypto: vector_UG_aggregation_proof and zc_asset_surjection_proof stubs 2023-02-08 18:31:07 +01:00
sowle
5568e0eeaf
crypto: generator U + assertion tests for generators 2023-02-08 18:16:04 +01:00
sowle
f2375f0156
confidential assets: work in progress 2023-02-01 21:58:26 +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
a1bae08a67
crypto: minor improvements 2022-11-17 00:38:33 +01:00
sowle
e4bc98209d
minor fixes 2022-10-27 00:50:45 +02:00
sowle
f5a0a85fa4
coretests: init_spent_output_indices fix, warnings fix 2022-10-26 20:50:21 +02:00
sowle
4db7ac1668
pos block builder: WIP 2022-10-25 04:16:25 +02:00
sowle
b570ca81ef
pos_block_builder & zarcanum adaptation: WIP 2022-10-24 21:01:45 +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
ed3b698839
crypto: more checks for generate_CLSAG_GGXG 2022-10-18 04:29:41 +02:00
sowle
6810a65661
the first Zarcanum PoS block generated successfully, but yet to be verified by the core 2022-10-16 03:17:18 +02:00
sowle
c5206d0f52
zarcanum PoS: another iteration on zarcanum_generate_proof (WIP) 2022-10-14 19:26:52 +02:00
cryptozoidberg
52b70ffb24
merge from zarcanum 2022-10-12 23:51:09 +02:00
sowle
5b086b9356
compilation fix (gcc) 2022-10-12 21:24:15 +02:00
sowle
7a1a4b0058
crypto: zarcanum signature generation partially done (work in progress) 2022-10-12 19:17:00 +02:00
sowle
49e78fdbae
Bulletproofs+ Extended generation routine (crypto::bppe_gen) adapted to match with bpp_gen 2022-10-12 19:14:31 +02:00