1
0
Fork 0
forked from lthn/blockchain
Commit graph

340 commits

Author SHA1 Message Date
sowle
709d16eb75
tx pool: asset operations basic validation on tx add 2024-03-27 17:18:17 +01:00
sowle
c2fa968835
daemon: 1) print_asset_info command added; 2) print_tx greatly improved; 3) fill_tx_rpc_details() now fills blob and object_in_json fields and use base64 encoding 2024-03-26 19:55:34 +01:00
cryptozoidberg
6311c2078f
fixed RANDOM_OUTPUTS_FOR_AMOUNTS_FLAGS_COINBASE and added RANDOM_OUTPUTS_FOR_AMOUNTS_FLAGS_POS_COINBASE for future use 2024-03-26 16:35:18 +01:00
cryptozoidberg
9af876ccaa
decoy selection algo refactoring 2024-03-25 21:56:46 +01:00
cryptozoidberg
3fb4f16db9
fore get rid of WALLET_GLOBAL_OUTPUT_INDEX_UNDEFINED 2024-03-24 15:50:53 +01:00
cryptozoidberg
09d08baecc
fixed consensus bug related to miners motivations to include transactions 2024-03-21 23:01:33 +01:00
sowle
2339a65ff7
calculate_asset_id refactored into get_or_calculate_asset_id (2) 2024-02-19 23:18:22 +01:00
sowle
93b3ca4b66
fix loop variable type here and there (performance) 2024-02-17 12:45:43 +01:00
sowle
b21083db1f
fix loop variable type here and there (performance) 2024-02-16 03:56:42 +01:00
cryptozoidberg
5336fdb46a
signing prefix with ado 2024-02-14 02:10:29 +04:00
cryptozoidberg
3d379033c5
asset ownership proov validation replaced with prefix signed with schnorr signature 2024-02-14 02:10:28 +04:00
cryptozoidberg
87d5bb092f
assets: implemented ownership transfer 2024-02-14 02:10:26 +04:00
sowle
5f53c8fbe1
knowing a DL for transaction pub key is now being checked along with the balance proof (double Schnorr proof, share Fiat-Shamir challenge) 2024-02-08 17:43:01 +01:00
sowle
31101bc788
PoS mining, construct_block_template, and chaingen infrastructure adapted for fee burning after HF4 2024-02-07 18:48:18 +01:00
cryptozoidberg
a45d63bdf8
added fee bruning 2024-02-07 18:18:30 +04:00
cryptozoidberg
ef3385192f
fixed bug with alt-block coinage validation 2024-01-29 15:20:08 +01:00
cryptozoidberg
1be00ea3c8
got rid of warnings 2024-01-28 19:40:34 +01:00
sowle
27bb395542
Merge branch 'add_block_performance_mes' into decoy_selection 2024-01-28 16:01:02 +01:00
cryptozoidberg
90e1b6dc2a
require min coinage to spend (on the hard network rule) - 10 confirmations 2024-01-26 02:49:31 +01:00
cryptozoidberg
f680473916
Fee burning(add fork choice rule for preference by cumulative fee in block ) 2024-01-24 22:06:19 +01:00
cryptozoidberg
3b7803efa7
make sure an asset can't be emitted in a consolidated tx 2024-01-24 20:56:45 +01:00
cryptozoidberg
bbff52e937
forbidding TX_FLAG_SIGNATURE_MODE_SEPARATE for miner txs 2024-01-24 19:26:42 +01:00
cryptozoidberg
95e8954c38
Merge branch 'cryptoassets' into decoy_selection 2024-01-20 16:39:50 +01:00
cryptozoidberg
81bacaf6bb
and another tweak of decoy selection algo(more clear exit from loop) 2024-01-20 15:49:30 +01:00
cryptozoidberg
0a702f6897
another tweak of decoy selection algo + fixed over few core tests 2024-01-19 23:01:20 +01:00
cryptozoidberg
8f5eed778a
increased attempts count for pre-zarrcanum selection 2024-01-18 20:14:21 +01:00
cryptozoidberg
bca8a4bf16
fixed endless loop in decoy selection api 2024-01-18 19:16:30 +01:00
cryptozoidberg
d8241d1531
fixed issues with wallet 2024-01-18 18:27:35 +01:00
cryptozoidberg
36ce7bd00d
tweak for decoy selection algo: first 20k of Zarcanum blocks decoy selection algo will be working flat 2024-01-17 22:02:06 +01:00
cryptozoidberg
997dcb8312
fixed crash in decoy_selection api 2024-01-17 18:07:41 +01:00
cryptozoidberg
8dd1b9d5a7
fixed unused variable 2024-01-17 16:07:11 +01:00
cryptozoidberg
b81e168b2a
CURRENCY_HF4_MANDATORY_DECOY_SET_SIZE implemented as configurable(for coretest we would need to have 0 mixins due to old tests) 2024-01-16 21:32:10 +01:00
sowle
8b145089ac
Merge branch 'zc_pos_one_out' into decoy_selection
# Conflicts:
#	src/currency_core/blockchain_storage.cpp
2024-01-16 16:30:55 +01:00
sowle
6271a22058
minor improvement on mixins restrictions checks 2024-01-16 00:52:56 +01:00
sowle
250bf95e11
bcs: minor naming & logging improvements 2024-01-15 23:12:29 +01:00
cryptozoidberg
6475571781
re-factored code for mixins count verification(moved to core check, suggested by @sowle) 2024-01-15 19:38:53 +01:00
cryptozoidberg
90c7b5d02d
hf4 mandatory check for decoy size 2024-01-13 20:24:10 +01:00
cryptozoidberg
f874a5f7a2
added exception for coinbase transactions 2024-01-12 20:01:57 +01:00
cryptozoidberg
b363b893e4
Bunch of improvements over the wallet 2024-01-02 21:57:43 +01:00
sowle
05feba39bf
block add perf timings 2023-12-27 14:08:36 +01:00
cryptozoidberg
bfb4a91f92
fork choice rule updated 2023-12-26 22:18:46 +01:00
sowle
f62db8a7fe
minor code cleanup 2023-12-25 19:20:45 +01:00
sowle
4b31d91beb
blockchain_storage: more performance measurements for blocks validation 2023-12-25 19:19:50 +01:00
cryptozoidberg
22fda0c7fe
fixed bugs in for decoy selection algo 2023-12-15 18:39:50 +03:00
cryptozoidberg
04103dea7f
decoy selection algo added 2023-12-15 01:42:06 +03:00
sowle
90b43d828e
HF4: allowing 1 merged output for PoS blocks' miner tx 2023-12-14 21:34:17 +01:00
cryptozoidberg
5b4a3e3a38
get_random_outs_for_amounts2 in work 2023-12-08 20:41:47 +01:00
cryptozoidberg
555270c1a3
profiling of block processing + lates UI 2023-11-27 15:53:56 +01:00
sowle
4a819afe18
removed unneeded logging 2023-11-02 21:14:41 +01:00
sowle
964968ded0
get_actual_timestamp() -> get_block_timestamp_from_miner_tx_extra(), corresponding check in pos block validation has been adjusted 2023-11-02 16:47:18 +01:00