1
0
Fork 0
forked from lthn/blockchain
Commit graph

569 commits

Author SHA1 Message Date
sowle
088ea83808
miner improvements on PoS block validation 2022-10-16 03:13:03 +02:00
sowle
c5206d0f52
zarcanum PoS: another iteration on zarcanum_generate_proof (WIP) 2022-10-14 19:26:52 +02:00
sowle
b94c9f75d3
1) logging: channel(s) enabling made optionally less verbose; 2) various fixes after the merge 2022-10-14 19:08:27 +02:00
cryptozoidberg
52b70ffb24
merge from zarcanum 2022-10-12 23:51:09 +02:00
cryptozoidberg
38b5ef3748
removed debug logs 2022-10-12 23:38:48 +02:00
cryptozoidberg
0b97855eeb
one more constructor overload: and fixed 2022-10-12 23:05:25 +02:00
cryptozoidberg
b3b57ae534
one more constructor overload 2022-10-12 23:01:17 +02:00
cryptozoidberg
affdff7a3d
pre-fix for the problem with asset_id 2022-10-12 22:57:09 +02:00
cryptozoidberg
9f26c35630
added more logs to multiasset test debug 2 2022-10-12 20:03:42 +02:00
sowle
7a1a4b0058
crypto: zarcanum signature generation partially done (work in progress) 2022-10-12 19:17:00 +02:00
cryptozoidberg
64ff2cb641
added more logs to multiasset test debug 2022-10-12 18:55:50 +02:00
sowle
ab268af7b8
get_random_outs_for_amounts adaptation, get_mix_attr_from_tx_out_v implemented 2022-10-12 17:50:02 +02:00
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
f1a7c25fa3
fixed warnings on linux 2022-10-11 13:44:59 +02:00
sowle
a0bdc08633
blinding mask calculation fix (cherry pick from multiassets) 2022-10-10 23:59:42 +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
sowle
b931420266
warning fix 2022-10-05 13:56:17 +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
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