1
0
Fork 0
forked from lthn/blockchain
Commit graph

3328 commits

Author SHA1 Message Date
cryptozoidberg
3b7e038064
fixed multiple compilation problems 2023-04-07 22:53:50 +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
cryptozoidberg
fed1df53f0
Implementd rpc for crypto api 2023-04-05 19:05:45 +02:00
sowle
29cb62aaf3
asset surjection proof: debugging in progress 2023-04-05 06:45:27 +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
cryptozoidberg
dcf1b0adae
basic crypto functions exported from wallet 2023-04-03 20:32:18 +02:00
sowle
990f99767d
asset surjection proof: core adaptation & debugging (wip) 2023-04-01 06:49:40 +02:00
cryptozoidberg
ca7d50d9ff
RPC server for UI: in work(need to overcome synchronization problem) 2023-03-30 23:21:51 +02:00
cryptozoidberg
4ca3e25995
Multiwallet rpc server implementation: in work 2023-03-29 20:26:46 +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
cryptozoidberg
2ab206b6c1
Multiwallet RPC API: initial code draft 2023-03-27 22:03:31 +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
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
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
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
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