1
0
Fork 0
forked from lthn/blockchain
Commit graph

2698 commits

Author SHA1 Message Date
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
sowle
3f8583fbe1
wallet2 minor refactoring: do_pos_mining_iteration 2022-08-26 18:12:32 +02:00
sowle
605ae739b8
zc balance proof implemented, coinbase tx creation and validation refactored 2022-08-25 04:28:34 +02:00
sowle
636fb820ea
explicit tx fee for zarcanum txs: get_tx_fee, add_tx_fee_amount_to_extra, process_type_in_variant_container 2022-08-25 04:22:38 +02:00
sowle
458f347e1e
binary serialization won't mess with 'r' members anymore (fixes range proofs serialization) 2022-08-25 04:19:31 +02:00
sowle
7f5d58ca6d
crypto: BP+ generators mapping corrected 2022-08-25 04:17:25 +02:00
sowle
7cc2582cee
coretests: stop_on_first_fail 2022-08-25 04:16:22 +02:00
sowle
e8ea28d085
crypto: BP+ generators mapping corrected, test improved 2022-08-25 04:14:36 +02:00
sowle
a7352d8c98
coretests: hardfork setup fixed in a few tests 2022-08-23 21:29:30 +03:00
sowle
b62d01a629
MSVC 2019 compatibility fixes 2022-08-23 21:27:38 +03:00
sowle
b253ee70ab
blockchain_storage::prevalidate_block() refactored 2022-08-23 21:26:26 +03:00
cryptozoidberg
0908de4c3b
Merge branch 'sort_inputs_in_work' into zarcanum 2022-08-22 15:13:25 +02:00
cryptozoidberg
bbe8e14e2b
fixed gen_block_wrong_version_agains_hardfork 2022-08-22 14:49:49 +02:00
cryptozoidberg
301a460f65
implemented sorting inputs in construct_tx 2022-08-17 22:53:27 +02:00
cryptozoidberg
1131292908
Multiple fixes of bugs exposed by basic zarcanum coretest 2022-08-13 23:23:16 +02:00
cryptozoidberg
aeaf10a979
zarcanum core test - added staking of zarcanum inputs 2022-08-12 19:48:54 +02:00
cryptozoidberg
10e93a47dc
zarcanum core test - very basics 2022-08-12 19:26:28 +02:00
cryptozoidberg
0d0ab5fe81
fixed less_txin_v() 2022-08-12 14:49:00 +02:00
cryptozoidberg
073b6a2bb9
fixed typo 2022-08-12 01:13:27 +02:00
cryptozoidberg
11298992d2
added inputs sorting validation 2022-08-12 01:10:52 +02:00
cryptozoidberg
84b702fa3f
removed validation from add_transaction_input_visitor, due to code is duplicated in validate_tx_for_hardfork_specific_terms 2022-08-09 00:03:02 +02:00
cryptozoidberg
86cca50a15
validate_tx_for_hardfork_specific_terms refactoring 2022-08-08 23:59:09 +02:00
sowle
b01e33f68b
varios fixes: is_out_burned, lookup_acc_outs, process_new_transaction, create_tx (blinding masks) 2022-08-08 13:35:38 +02:00
sowle
b1ac0ad440
generate_ZC_sig & generate_NLSAG_sig refactoring: now they generate one signature per call + various fixes 2022-08-08 13:32:44 +02:00
sowle
dce6f46b17
fixed a bug in construct_tx 2022-08-03 14:01:10 +02:00
sowle
59f8ae5fe7
txin_zarcanum_inputs -> txin_zc_input refactoring, including CLSAG_GG gen/verify + check_tx_input for txin_zc_input 2022-08-03 14:00:39 +02:00
sowle
b1888e58ad
made verify_multiple_zarcanum_outs_range_proofs be happy with empty range proofs vector 2022-08-03 13:55:45 +02:00