1
0
Fork 0
forked from lthn/blockchain
Commit graph

121 commits

Author SHA1 Message Date
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
cryptozoidberg
cdd7c1e735
warnings suppress 2022-10-11 20:53:36 +02:00
cryptozoidberg
db5564ac1e
explicit namespace for print_money in wallet 2022-10-11 16:17:12 +02:00
cryptozoidberg
2927edf16a
removed multiple warnings over gcc/clang compilers 2022-10-11 16:05:48 +02:00
cryptozoidberg
8c90dc4032
removed parentheses 2022-10-11 14:53:30 +02:00
cryptozoidberg
f1a7c25fa3
fixed warnings on linux 2022-10-11 13:44:59 +02:00
sowle
5e0ce8cfb4
crypto: c_point_H_plus_G and c_point_H_minus_G constants added + unittest 2022-10-10 23:47:49 +02:00
sowle
8c71ac83b7
zarcanum: main inequality type fixed 2022-10-05 14:02:32 +02:00
cryptozoidberg
26b9d60dba
merge from zarcanum 2022-09-29 19:21:07 +02:00
cryptozoidberg
1fd6e08e5c
initial code for introducing asset descriptor for wallet 2022-09-28 22:06:07 +02:00
cryptozoidberg
a718895fd7
Asset id context in wallet: basic implementations 2022-09-27 20:13:49 +02:00
sowle
0bfe224b66
minor fixes 2022-09-23 18:45:59 +02:00
sowle
af9c53794e
1) zarcanum math moved to separate file; 2) fixed an error in rhs calculation; 3) 2^64 constant + test 2022-09-13 22:08:46 +02:00
sowle
e9c3c7841f
wallet: Zarcanum PoS mining itself is implemented in wallet2 2022-09-12 18:47:38 +02:00
sowle
ae64a8cbd3
crypto: 4-CLSAG 2-gen implemented, 2-CLSAG slightly improved; + basic test for 4-CLSAG GGXG 2022-08-31 02:09:08 +02:00
sowle
6b85159119
crypto: c_point_X; hs(char[32], hash); minor improvements for clsag implementation 2022-08-29 22:56:37 +02:00
sowle
7f5d58ca6d
crypto: BP+ generators mapping corrected 2022-08-25 04:17:25 +02:00
sowle
e8ea28d085
crypto: BP+ generators mapping corrected, test improved 2022-08-25 04:14:36 +02:00
sowle
0d72ac7187
bulletproofs+ tests fixed 2022-07-26 06:44:19 +02:00
sowle
53caed6d38
clsag first implementation + tests 2022-07-22 05:36:38 +02:00
sowle
2f739228b3
crypto sugar improvements 2022-07-19 10:28:08 +02:00
sowle
26f34edc83
CLSAG prototypes 2022-07-13 04:35:15 +02:00
sowle
220816d039
zarcanum outputs & signature (work in progress) 2022-07-08 21:06:38 +02:00
sowle
ea24d40f84
range proofs for zarcanum outputs 2022-07-06 22:07:54 +02:00
sowle
11ab985bc6
crypto: bpp minor refactoring (mostly prototypes), minor improvements, compilation fixes 2022-07-06 18:52:24 +02:00
sowle
6ca3acd0d5
zarcanum outputs generation + range proofs (work in progress) 2022-07-06 03:01:53 +02:00
sowle
03f949b669
crypto_assert re-implemented using exceptions 2022-07-06 02:59:07 +02:00
sowle
a23eaac730
crypto_ops: derivation_to_scalar made public 2022-06-28 22:15:18 +02:00
sowle
9d1ab22010
crypto: hs_t and hs(...) made compatible with char[32] 2022-06-28 22:14:39 +02:00
sowle
d904323f88
crypto: made point_t throwing exceptions in bad cases 2022-06-28 22:13:34 +02:00
sowle
389118e785
zarcanum sig WIP 2022-06-27 23:09:25 +02:00
sowle
2ae226e594
crypto: attempt to fix a warning about dereferencing type-punned pointer 2022-05-12 21:41:09 +02:00
sowle
607d634078
crypto: warnings fix 2022-05-11 23:43:34 +02:00
sowle
b7f30382e1
more minor fixes 2022-05-11 21:11:33 +02:00
sowle
7df157520d
minor fixes (epee namespace, warnings) 2022-05-11 21:02:06 +02:00
sowle
aa90e50f42
fix for Argument-Dependent Lookup issue with parse_tpod_from_hex_string() 2022-05-10 20:42:54 +02:00
sowle
78372d1bde
crypto: BPP and BPPE: minor improvements 2022-04-19 23:41:59 +02:00
sowle
0fd6406158
crypto: BPP & BPPE: get_2_to_the_power_of_N_minus_1() 2022-04-18 18:12:15 +02:00
sowle
b0e8e6c2eb
crypto: scalar_t: get_bit, set_bit, clear_bit, power_of_2 implemented; crypto_sc_set_bit_clear_bit test added 2022-04-15 21:29:08 +02:00
sowle
218c6a38cb
crypto: Bulletproofs+ with double-blinded commitments extension implemented (nicknamed as bppe), basic tests added 2022-04-11 20:43:43 +02:00
sowle
10141c3dfc
crypto: range proofs major refactoring, crypto traits refactored, calc_exp_power_of_2_upper_bound changed to constexpr analogs 2022-04-10 19:50:13 +02:00
sowle
319d53f7cf
crypto: H2 introduced, functional tests main's clean-up 2022-04-10 19:45:45 +02:00
sowle
b9ccb10287
crypto: scalar_t::git_bit + test crypto_sc_get_bit; hash_helper_t extended with hp variants 2022-04-09 21:12:44 +02:00
sowle
140f43bc5e
crypto tests: point_is_zero test added 2021-12-31 06:44:26 +03:00