1
0
Fork 0
forked from lthn/blockchain
Commit graph

3380 commits

Author SHA1 Message Date
sowle
fdc1ceea62
crypto: constexpr helpers moved to crypto-sugar, constexpr_pow added 2023-03-26 22:33:47 +02:00
cryptozoidberg
69647023e0
Implemented rpc calls for ionic_swaps 2023-03-24 20:59:26 +01:00
sowle
beccc55788
crypto: constexpr_floor_log_n, constexpr_ceil_log_n + tests 2023-03-23 23:30:56 +01:00
cryptozoidberg
2b9227c0f1
Implemented basic code for ionic_swap rpc 2023-03-23 19:24:23 +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
cryptozoidberg
94861608cf
Implemented accept_ionic_swap_proposal and get_ionic_swap_proposal_info command in simplewallet 2023-03-20 20:11:23 +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
cryptozoidberg
f47e9977a5
Implemented generate_ionic_swap_proposal command in simplewallet 2023-03-17 19:55:32 +01:00
sowle
c6294f7cb6
Zarcanum & assets balance proof refactoring: work in progress 2023-03-16 23:59:52 +01:00
cryptozoidberg
83c5336004
Core tests for basic ionic swaps scenario: draft for verification code 2023-03-16 19:15:11 +01:00
sowle
2f91a2b7f3
check_tx_balance minor improvement 2023-03-14 23:53:50 +01:00
cryptozoidberg
8e43055140
Core tests for basic ionic swaps scenario: code for creating proposal 2023-03-13 22:14:39 +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
cryptozoidberg
f0d5bc94cd
Core tests for basic ionic swaps scenario: inital code 2023-03-09 19:49:40 +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
cryptozoidberg
8be2cc083f
Implemented accept ionic swap proposal(partially) 2023-03-08 21:19:59 +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
cryptozoidberg
6e1fb500eb
Implemented function for decoding proposal details 2023-03-06 22:47:06 +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
cryptozoidberg
0030f7fbf6
Implemented basic code for validatiing ionic_swap 2023-03-03 18:17:16 +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
cryptozoidberg
ae6feef3e5
Functions definitions for mainwindow 2023-02-28 21:36:52 +01:00
cryptozoidberg
404bfc1576
Creating outpus, minor fixes for ionic_swap 2023-02-28 21:35:28 +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
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