1
0
Fork 0
forked from lthn/blockchain
Commit graph

3380 commits

Author SHA1 Message Date
sowle
df11160e7a
decompose_amount_randomly + unit test 2022-09-29 21:54:15 +02:00
sowle
5bfbb8091d
unit tests: amounts_tests restored, renamed 2022-09-29 21:49:57 +02:00
cryptozoidberg
26b9d60dba
merge from zarcanum 2022-09-29 19:21:07 +02:00
cryptozoidberg
7d8259f58c
added code for handling chain detachment(reorg) 2022-09-29 19:18:05 +02:00
cryptozoidberg
1fd6e08e5c
initial code for introducing asset descriptor for wallet 2022-09-28 22:06:07 +02:00
sowle
369b40b7a0
coretests: fixes and improvements for zarcanum_test 2022-09-28 03:46:20 +02:00
sowle
b669401332
1) balance proof and explicit fee for post-HF4 txs; 2) multiple range proofs verification fixed; 3) zarcanum_outs_range_proof -> zc_outs_range_proof 2022-09-28 03:45:10 +02:00
cryptozoidberg
a718895fd7
Asset id context in wallet: basic implementations 2022-09-27 20:13:49 +02:00
sowle
5d349a963d
1) construct_miner_tx now supports post-HF4 PoW 2) new HF4 core rules: at least 2 outputs for each tx; tx.version > 1 2022-09-27 03:06:10 +02:00
cryptozoidberg
43c0c7944d
inital code for submiting asset descriptor 2022-09-26 21:57:24 +02:00
cryptozoidberg
213cb4f85c
implemented proper versioning for binary serialization 2022-09-23 23:19:44 +02:00
sowle
078440a815
zarcanum WIP (use standard derivation to scalar conversion to simplify things) + minor 2022-09-23 22:18:22 +02:00
sowle
0bfe224b66
minor fixes 2022-09-23 18:45:59 +02:00
sowle
7d57e8a993
coretests: chaingen PoS refactored, mining outside-of-wallet2 eliminated, code unified 2022-09-23 18:45:22 +02:00
cryptozoidberg
e70efc898c
Merge branch 'multiassets' into zarcanum 2022-09-22 19:30:02 +02:00
cryptozoidberg
2ba139ebaf
fixed wrong variant type 2022-09-22 19:29:18 +02:00
cryptozoidberg
1aa6a37b08
compilation errors fixed for wallet.cpp 2022-09-21 22:35:24 +02:00
cryptozoidberg
d573dd53fd
assigning asset id from tx 2022-09-21 14:50:29 +02:00
cryptozoidberg
7c4d8a41e8
massive changes over adding asset id to primary operations to wallet 2022-09-20 22:01:52 +02:00
cryptozoidberg
ff0d32fa20
transfer refactoring - inital code 2022-09-17 22:52:26 +02:00
cryptozoidberg
b7767e41d5
Merge branch 'multiassets' into zarcanum 2022-09-16 18:52:50 +02:00
cryptozoidberg
1c76d0d325
added balance() and rpc api implementations for multi_assets versions 2022-09-16 18:35:36 +02:00
cryptozoidberg
65eea67b30
Merge branch 'zarcanum' into multiassets 2022-09-16 14:54:44 +02:00
sowle
d01ab52c7c
coretests: some HF1 tests marked as postponed 2022-09-15 23:21:02 +02:00
cryptozoidberg
8f15d60677
basic implementations over multi assets in wallet 2022-09-15 22:05:10 +02:00
sowle
76807ec931
coretests: typo fixed 2022-09-15 20:26:54 +02:00
sowle
2aa62f43bb
coretests: getting rid of set_pos_to_low_timestamp; postponed tests not running 2022-09-15 19:41:46 +02:00
sowle
ece5038130
wallet: build_minted_block adoptation (zarcanum wip) 2022-09-14 22:50:43 +02:00
sowle
0d882868c8
chaingen: postponed test can be run with --run-single-test, also print 'em all 2022-09-14 22:48:42 +02:00
cryptozoidberg
91e8b2ba6f
fixed compilation for unit_tests 2022-09-14 22:08:21 +02:00
cryptozoidberg
f3f5c11c5e
fixed missing dependency(linux) - afterfix 2022-09-14 20:59:27 +02:00
cryptozoidberg
eec541840e
fixed missing dependency(linux) 2022-09-14 20:56:34 +02:00
cryptozoidberg
7abd438787
replaced optional<> to shared_ptr<> due to space efficiency considerations 2022-09-14 20:54:30 +02:00
sowle
be1db1b4cb
zarcanum_basic_test marked as postponed for a while 2022-09-13 22:29:37 +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
cryptozoidberg
c2771a075e
added test against post-zarcanum era 2022-09-13 16:42:32 +02:00
cryptozoidberg
03480488a1
Implemented kv-serialization for boost optional, implemented serialization as hed for POD 2022-09-12 20:38:32 +02:00
sowle
e9c3c7841f
wallet: Zarcanum PoS mining itself is implemented in wallet2 2022-09-12 18:47:38 +02:00
cryptozoidberg
634e777cfd
fixed compilation issues on linux 2022-09-09 20:21:27 +02:00
sowle
41308d86a6
wallet: pos code clean up (mining_context, etc) 2022-09-09 20:16:14 +02:00
sowle
c7bc50f968
validate_pos_block refactoring 2022-09-08 22:49:36 +02:00
sowle
6991fa8ea9
wallet: get_pos_entries g_index initialization fixed 2022-09-08 22:47:32 +02:00
sowle
2c5c0ddc75
Merge branch 'zarcanum_mint' into zarcanum 2022-09-08 16:35:38 +02:00
cryptozoidberg
ec73527df9
compilation is ok, tests in progress 2022-09-06 19:41:20 +02:00
cryptozoidberg
7384485fe1
minting refactoring: in progress 2022-09-05 20:18:27 +02:00
sowle
27e695d4f1
wallet: global PoS / pos entries refactoring and code clean-up. 2022-09-05 12:30:08 +02:00
sowle
9215afb462
wallet rpc: obsolete scan pos RPC has been removed 2022-09-05 12:25:04 +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
bc88d0d642
wallet: Zarcanum PoS (work in progress, scan_pos refactoring) 2022-08-29 23:00:34 +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