1
0
Fork 0
forked from lthn/blockchain
Commit graph

636 commits

Author SHA1 Message Date
sowle
3eca2a1611
explicit native asset id for tx_destination_item and construct_tx_out 2023-02-26 21:49:21 +01:00
sowle
5fbb7a7fbb
bcs: range proofs collection, aggragation and balance checking refactored & improved 2023-02-26 21:48:09 +01:00
sowle
e019200b85
minor fix for construct_tx_out 2023-02-22 22:03:43 +01:00
cryptozoidberg
b5ad2ffcdc
implemented boost::optional serialization 2023-02-21 17:18:21 +01:00
sowle
f3eb63d25c
ca: global refactoring: tx balance validation, asset operation validation, transaction creation. Also, main tx structure improved with @cryptozoidberg to reflect needs in versatile prunable proofs storage! 2023-02-21 01:51:55 +01:00
sowle
f9b54f305a
ca: wallet refactoring to support confidential assets (WIP) 2023-02-21 01:41:33 +01:00
sowle
b733e5561a
ca: validate_tx_semantic() refactored, bare balance check made explicit 2023-02-21 01:35:03 +01:00
sowle
a813484a4f
confidential assets: global refactoring WIP (now everything is in compilable state, including tests) 2023-02-13 21:42:31 +01:00
sowle
7652a117cd
confidential assets: core & wallet refactoring, various fixes, WIP 2023-02-09 23:35:33 +01:00
sowle
f978be8b90
range proofs: Zano now uses U and G generators for aggregable range proof amount commitments 2023-02-08 18:54:25 +01:00
sowle
abf99ece5e
confidential assets: global core refactoring (wip) 2023-02-08 18:42:29 +01:00
sowle
47b1338d32
crypto: vector_UG_aggregation_proof and zc_asset_surjection_proof stubs 2023-02-08 18:31:07 +01:00
sowle
67fecc69fe
Merge branch 'multiassets' into cryptoassets 2023-02-04 20:34:03 +01:00
sowle
f2375f0156
confidential assets: work in progress 2023-02-01 21:58:26 +01:00
cryptozoidberg
48f9466b3e
extra verification checks in add_out_to_get_random_outs() 2022-12-20 21:23:53 +01:00
cryptozoidberg
64a90d190a
optimization on get_random_outs 2022-12-20 21:22:11 +01:00
cryptozoidberg
a9eba1d728
merged from zarcanum 2022-12-16 15:40:24 +01:00
cryptozoidberg
102e0c1cf9
disabled aliases registration fee checks for testnet 2022-12-16 15:38:49 +01:00
sowle
528a46f4ed
wallet2::prepare_tx_destinations() fixed to correctly support assets + minor logging improvements 2022-12-03 21:12:31 +01:00
sowle
dac549f0b6
minor improvements and compilation fixes 2022-12-02 18:14:19 +01:00
sowle
139f2a5ae4
wallet: minor log improvement 2022-11-30 19:58:20 +01:00
cryptozoidberg
ac135253eb
simplewallet now can show multiassets balances 2022-11-26 23:00:32 +01:00
sowle
b11e66aeff
zarcanum testnet pre-alpha has been launched 2022-11-24 20:39:06 +01:00
sowle
fd456f2445
Merge branch 'multiassets' into zarcanum 2022-11-24 13:15:55 +01:00
sowle
4579f172d8
blockchain_storage::pop_transaction_from_global_index() adapted for HF4 2022-11-24 04:34:58 +01:00
sowle
28c6a0db9b
error logging verbosity improved in a few places 2022-11-24 04:33:52 +01:00
sowle
928d937a7b
get_amount_from_variant() made noexcept 2022-11-23 19:28:17 +01:00
sowle
3ff4a69945
DIFFICULTY_STARTER was split into DIFFICULTY_POW_STARTER and DIFFICULTY_POS_STARTER (2) 2022-11-23 04:13:39 +01:00
sowle
4f703fe8f8
DIFFICULTY_STARTER was split into DIFFICULTY_POW_STARTER and DIFFICULTY_POS_STARTER 2022-11-23 03:05:59 +01:00
cryptozoidberg
37bb9611f9
Merge branch 'zarcanum' into multiassets 2022-11-22 15:16:21 +01:00
sowle
0b2fef7642
alt block tx validation fixed for htlc 2022-11-21 22:57:05 +01:00
sowle
8ca9e1261d
1) fill_tx_rpc_inputs adapted; 2) earlier deprecated get_to_key_input_from_txin_v removed completely 2022-11-21 22:55:59 +01:00
sowle
88e3190aad
bcs: more verbose logging 2022-11-21 21:49:11 +01:00
sowle
a0125f81e9
bcs: prevalidate_miner_transaction moved to be called before heavy PoW/PoS (now for alt blocks as well) 2022-11-21 20:40:14 +01:00
sowle
d06aa7796e
bcs: purge_altblock_keyimages_from_big_heap adapted 2022-11-21 20:38:56 +01:00
sowle
ce36a65994
Zarcanum PoS: fix for alt blocks validation 2022-11-21 18:43:36 +01:00
cryptozoidberg
b6fd8314ca
Merge branch 'zarcanum' into multiassets 2022-11-18 21:55:39 +01:00
sowle
197ef6861f
validate_alt_block_input adapted for post-HF4 inputs (WIP, first attempt) 2022-11-18 20:55:02 +01:00
sowle
5fba04627b
the first working implementation of Zarcanum PoS verification + few bugs fixed in proof gen; zarcanum_pos_block_math test should now succeed 2022-11-18 04:18:41 +01:00
cryptozoidberg
490b8b12f1
added pre-loading token whitelist via ssl 2022-11-17 21:58:36 +01:00
sowle
a1bae08a67
crypto: minor improvements 2022-11-17 00:38:33 +01:00
sowle
a0d3ca0bf3
fix for PoS verification (block hash is used as a message for sig), zarcanum_test_pos_math shoud now pass (2) 2022-11-16 23:49:03 +01:00
cryptozoidberg
a493ace766
added api for assets management in wallet(whitelist and custom set) 2022-11-15 21:54:55 +01:00
sowle
4f02abac02
in get_tx_version() params named more obviously to avoid mistakes 2022-11-09 23:49:45 +01:00
sowle
01c656791a
hardfork activation message slightly changed to be less confusing (take a look @cryptozoidberg) 2022-11-09 16:53:15 +01:00
sowle
5f8c90bac6
1) absolute_output_offsets_to_relative() is now deprecated, new functions introduced to be used instead: prepare_outputs_entries_for_key_offsets() and absolute_sorted_output_offsets_to_relative_in_place()
2) fixed incorrect key_offsets sorting in construct_tx. Coretest zarcanum_txs_with_big_decoy_set now should pass okay.
2022-11-08 00:17:34 +01:00
sowle
f8558a020a
construct_miner_tx now can use externally generated one time tx key 2022-11-08 00:00:24 +01:00
sowle
bedf0285b0
blocks validation: prevalidate_miner_transaction() moved to go before heavy proof of work / proof of stake checks (@cryptozoidberg, please, take a look) 2022-11-04 21:17:27 +01:00
sowle
1a22991617
fix construct_miner_tx 2022-11-03 23:08:22 +01:00
sowle
3835051fcb
construct_miner_tx() and prepare_and_sign_pos_block() made consistent in terms of PoS input 2022-11-03 21:01:49 +01:00