sowle
525b0cb840
coretests: zarcanum_test improvements
2022-10-12 19:26:03 +02:00
sowle
7a1a4b0058
crypto: zarcanum signature generation partially done (work in progress)
2022-10-12 19:17:00 +02:00
sowle
49e78fdbae
Bulletproofs+ Extended generation routine (crypto::bppe_gen) adapted to match with bpp_gen
2022-10-12 19:14:31 +02:00
sowle
30972db5ad
COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS adaptation and improvements
2022-10-12 18:07:04 +02:00
sowle
f0bbcb5f40
wallet2::prepare_and_sign_pos_block() and COMMAND_RPC_GETBLOCKTEMPLATE refactored
2022-10-12 18:02:22 +02:00
sowle
642cc94691
wallet2::is_in_hardfork_zone() made const
2022-10-12 17:54:42 +02:00
sowle
08fd1d4248
in CATCH_ENTRY_CUSTOM custom_code moved before error logging
2022-10-12 17:51:32 +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
sowle
a0bdc08633
blinding mask calculation fix (cherry pick from multiassets)
2022-10-10 23:59:42 +02:00
sowle
5e0ce8cfb4
crypto: c_point_H_plus_G and c_point_H_minus_G constants added + unittest
2022-10-10 23:47:49 +02:00
sowle
185ccae95f
rpc: removed old deprecated mining API (get_addenum, getjob, submitshare, etc.)
2022-10-05 21:09:27 +02:00
sowle
452047cb88
KV_ENABLE_POD_SERIALIZATION_AS_HEX fixed
2022-10-05 20:49:13 +02:00
sowle
ea1dbabb9d
zarcanum: main inequality type fixed (2)
2022-10-05 14:54:35 +02:00
sowle
8c71ac83b7
zarcanum: main inequality type fixed
2022-10-05 14:02:32 +02:00
sowle
b931420266
warning fix
2022-10-05 13:56:17 +02:00
sowle
15f33cbb9c
coretests: determine_tx_real_inputs() adapted for zc inputs/outputs, fixed compilation for wallets tests
2022-10-04 21:22: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
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
5b89eaed6f
coretests: gen_no_attchments_in_coinbase and multisig_and_checkpoints fixed (hash change)
2022-10-02 01:04:00 +02:00
sowle
01a458b5bc
purge_altblock_keyimages_from_big_heap() adapted for ZC inputs
2022-10-02 00:39:01 +02:00
sowle
657b1ceddf
coretests: chaingen code cleanup
2022-10-01 21:18:22 +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
sowle
3fd984396e
unit tests: tx_signatures_packing added
2022-10-01 20:59:04 +02:00
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
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
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
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