1
0
Fork 0
forked from lthn/blockchain
Commit graph

809 commits

Author SHA1 Message Date
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
sowle
7aaee46d4a
fixed a HF4-specific bug in is_pos_coinbase() and is_coinbase() 2024-01-17 13:04:26 +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
cryptozoidberg
f7c928e3a2
outputs with zero pubkeys (00..00, torsion element of order 4) should not be used as inputs at all (even as mixins) 2024-01-16 19:01:57 +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
1c404348a0
added tx semantics test in tx_pool 2024-01-14 19:00:24 +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
sowle
beb4fa828f
minor logging improvements 2024-01-12 03:15:56 +01:00
cryptozoidberg
b363b893e4
Bunch of improvements over the wallet 2024-01-02 21:57:43 +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
sowle
fcefdd8eb5
Merge remote-tracking branch 'origin/develop' into cryptoassets
# Conflicts:
#	README.md
#	src/gui/qt-daemon/layout
#	src/version.h.in
2023-12-06 16:24:06 +01:00
sowle
2e57372115 checkpoint @ height 2390000 2023-11-30 12:56:41 +01:00
cryptozoidberg
555270c1a3
profiling of block processing + lates UI 2023-11-27 15:53:56 +01:00
cryptozoidberg
5bd815e66f
added m_whitelisted_assets to serialized state(to hold correct assets balances on open time) 2023-11-21 18:05:01 +01:00
cryptozoidberg
34b37ce45c
added missing info for tx rpc details 2023-11-06 17:34:23 +01:00
sowle
4a819afe18
removed unneeded logging 2023-11-02 21:14:41 +01:00
sowle
406bc5d78e
removed deprecated absolute_output_offsets_to_relative(), chaingen was adapted accordingly 2023-11-02 18:29:55 +01:00
sowle
96cde2ae07
deprecated uint64_t get_amount_for_zero_pubkeys() removed, various compilation fixes 2023-11-02 16:51:45 +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
sowle
46a0db21ec
Merge branch 'develop' into cryptoassets
# Conflicts:
#	CMakeLists.txt
#	README.md
#	contrib/epee/include/net/http_client.h
#	src/currency_core/blockchain_storage.cpp
#	src/currency_core/currency_core.cpp
#	src/currency_core/currency_format_utils.cpp
#	src/gui/qt-daemon/layout
#	src/rpc/core_rpc_server.cpp
#	src/rpc/core_rpc_server.h
#	src/rpc/core_rpc_server_commands_defs.h
#	src/version.h.in
#	src/wallet/wallet2.cpp
#	src/wallet/wallet2.h
#	src/wallet/wallet_public_structs_defs.h
#	src/wallet/wallet_rpc_server.h
#	tests/core_tests/chaingen.cpp
#	tests/core_tests/pos_validation.cpp
#	tests/core_tests/wallet_tests.cpp
#	tests/performance_tests/main.cpp
2023-11-01 23:48:36 +01:00
sowle
299124877e coretests: pos_mining_with_decoys test added 2023-10-31 21:22:15 +01:00
cryptozoidberg
3f0bed4899
fixed few compilation issues 2023-10-31 19:43:28 +01:00
cryptozoidberg
76577d21a9
more fixes with namespaces and inline functions 2023-10-31 19:31:18 +01:00
cryptozoidberg
cacdb4a4ce
moved serialization-specific adaptor-functions from wallet2 to base header file 2023-10-31 19:22:29 +01:00
cryptozoidberg
ebb8f7b6ff
wallet sync state moved to separate base structure 2023-10-31 18:29:57 +01:00
sowle
6343812006 mixins support implemented in wallet2::prepare_and_sign_pos_block() 2023-10-31 15:45:35 +01:00
cryptozoidberg
7a9f54443b
fixed bug with m_own_asset_descriptors container not being reset after resync wallet 2023-10-28 19:25:31 +02:00
sowle
e2da6a1f51
wallet: minor fixes 2023-10-25 21:32:47 +02:00
sowle
f9ca8f52c5
get_native_coin_asset_descriptor() implemented 2023-10-25 21:31:11 +02:00