cryptozoidberg
d3b2ca0e3a
more warnings cleanup
2022-10-12 12:10:48 +02:00
cryptozoidberg
cdd7c1e735
warnings suppress
2022-10-11 20:53:36 +02:00
cryptozoidberg
ce7438265d
added default initialization
2022-10-11 20:19:24 +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
cryptozoidberg
19f0f0bbf0
fixed but with sequence points
2022-10-10 20:46:06 +02:00
cryptozoidberg
4d9e6d41a2
fix for linux build
2022-10-07 22:16:42 +02:00
cryptozoidberg
b3daf9aa08
fixed bug in constract_tx regarding inputs mapping
2022-10-07 21:44:43 +02:00
cryptozoidberg
8a54924407
multiple fixes over wallet and math(credits to @sowle)
2022-10-06 22:59:00 +02:00
cryptozoidberg
319f295984
fixed multiasset test
2022-10-05 21:31:21 +02:00
cryptozoidberg
8e0cf0f142
fixed storage bug over assets container
2022-10-04 23:13:02 +02:00
cryptozoidberg
37f96db8d5
Merge branch 'zarcanum' into multiassets
2022-10-04 22:01:16 +02:00
cryptozoidberg
ca4556a804
Minor fixes
2022-10-04 22:00:30 +02:00
sowle
5ff48cc1ff
blockchain_storage::check_tx_input() adapted for ZC inputs + get_key_offsets_from_txin_v() + improvements
2022-10-04 21:20:40 +02:00
sowle
6aca885ced
scan_outputkeys_for_indexes adapted for ZC inputs and outputs, specific is_output_allowed_for_input() implemented
2022-10-04 21:17:49 +02:00
cryptozoidberg
432e1c2d2b
merge from zarcanum
2022-10-04 16:32:41 +02:00
cryptozoidberg
d864d43aab
fixes over tests
2022-10-04 16:29:24 +02:00
cryptozoidberg
5f607acda2
fixed few errors
2022-10-03 22:29:35 +02:00
cryptozoidberg
51d8c85540
added core test for multiasset(never tried yet)
2022-10-03 22:03:54 +02:00
sowle
0af77077b5
purge_altblock_keyimages_from_big_heap() and purge_transaction_keyimages_from_blockchain() adapted for generic inputs types
2022-10-03 21:39:34 +02:00
sowle
7ce49e4e82
tx_pool: correct handling of key images regardless of input type + get_key_image_from_txin_v refactoring
2022-10-03 20:34:09 +02:00
sowle
01a458b5bc
purge_altblock_keyimages_from_big_heap() adapted for ZC inputs
2022-10-02 00:39:01 +02:00
sowle
2a74787d8e
wallet: if during tx constructing the number of outs is less than CURRENCY_TX_MIN_ALLOWED_OUTS the last one will be split randomly to fulfill the requirement
2022-10-01 21:17:17 +02:00
sowle
a8ecd1a645
wallet: handling ZC outputs fixed
2022-10-01 21:14:32 +02:00
sowle
e2b6f88686
1) get_input_expected_signature_size() added; 2) get_object_blobsize(tx) improved
2022-10-01 21:12:32 +02:00
sowle
7d33323a97
1) generate_ZC_sig fixed;
...
2) tx balance proof now generates only for txs with no ZC inputs;
3) check_inputs_types_suppored fixed;
4) check_outs_valid fixed;
5) check_inputs_overflow fixed;
2022-10-01 21:10:22 +02:00
cryptozoidberg
5ab9a2b974
fixed compilation issues regarding asset_descriptors
2022-09-30 21:23:06 +02:00
cryptozoidberg
c61149f480
added put/pop asset info to core
2022-09-29 23:44:00 +02:00
sowle
df11160e7a
decompose_amount_randomly + unit test
2022-09-29 21:54:15 +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
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
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
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
cryptozoidberg
8f15d60677
basic implementations over multi assets in wallet
2022-09-15 22:05:10 +02:00