1
0
Fork 0
forked from lthn/blockchain
Commit graph

398 commits

Author SHA1 Message Date
sowle
ead80ac4cb
improvements for the workaround for rear case when an old node is stuck in an altchain right after the hardfork 2025-03-21 14:24:14 +03:00
sowle
2e57faf822
implemented workaround for rear case when an old node is stuck in an altchain right after the hardfork 2025-03-20 20:33:34 +03:00
sowle
6be32747c7
minor improvements 2025-03-20 20:30:48 +03:00
cryptozoidberg
a54c00e823
changed order of warming up(to have most recent blocks as most recent cache) 2025-03-13 17:36:53 +04:00
cryptozoidberg
926549e740
implemented warp-mode for zano daemon 2025-03-12 19:52:10 +04:00
cryptozoidberg
ec54dc72c9
added full warm up feature 2025-03-12 14:17:40 +04:00
sowle
672309ba5f
fixed an issue in alt block miner tx validation 2025-02-14 03:21:24 +01:00
sowle
4c860417f5
pre hardfork tx freeze period implemented (+HF6) 2025-02-14 03:17:33 +01:00
sowle
ca9a8f95de
Merge branch 'develop' into txhfid 2025-02-03 18:29:45 +01:00
sowle
cd2f044ad8
an attempt to calm down heuristic av by disabling cpu mining in mainnet build 2024-12-25 02:22:22 +01:00
sowle
8e2c70de93
Merge branch 'develop' into txhfid 2024-12-24 22:16:36 +01:00
sowle
78f622ead1
bcs: get_block_reward_by_main_chain_height(), get_block_reward_by_hash() implemented; 2) core_rpc_server::fill_block_header_response() now correctly fills 'reward' 2024-12-10 21:27:34 +01:00
sowle
13f524defb
tx hardfork id: wip (basic structures, miner tx creation adapted, tests adapted almost all + hard_fork_5_tx_version) 2024-12-06 05:39:18 +01:00
sowle
f7e64b9164
don't populate cache in get_last_n_blocks_timestamps_median() if the resulted num of blocks isn't equal to window size 2024-10-24 14:44:15 +02:00
sowle
d625ec94a5
made ts check for pow block template optional 2024-10-24 14:10:14 +02:00
sowle
2b15aad320
minor improvement for blockchain_storage::create_block_template() 2024-10-23 21:59:05 +02:00
sowle
c90344ea47
an attempt to fix incorrect PoW block template creation in case when there are lots of PoS blocks 2024-10-23 21:52:33 +02:00
sowle
e9e7bbf0c5
some fixes in assets handling 2024-10-21 19:17:04 +02:00
cryptozoidberg
9dc293ec04
core and wallet fixed, coretests still broken 2024-10-19 22:53:43 +04:00
sowle
2632446ee5
core: asset operation refactoring WIP 2024-10-18 03:15:33 +02:00
cryptozoidberg
744522f3ca
minor changes relatd to secp256k1_ecdsa integration 2024-09-29 23:31:22 +04:00
sowle
b5e0b21f13
core: asset_operation_ownership_proof_eth is only allowed only since HF5 2024-09-24 05:36:40 +02:00
sowle
f0891a36e8
minor improvements 2024-09-24 01:24:42 +02:00
sowle
7b9c728de2
core: minor readability improvement in validate_asset_operation_against_current_blochain_state() 2024-09-23 20:34:17 +02:00
sowle
8ffbfbe60a
minor improvements 2024-09-23 05:38:47 +02:00
sowle
5f1defc5a1
core validation: additional condition validate_ado_ownership() 2024-09-23 05:19:58 +02:00
sowle
e816cd969c
minor improvements 2024-08-02 12:36:08 +02:00
sowle
0bc14fa477
eth signature for CA: data structures + validate_ado_ownership() adaptation 2024-07-18 00:14:03 +02:00
cryptozoidberg
2f535f011e
fixed get_assets_list api 2024-06-14 23:20:43 +02:00
sowle
dd7d1d3109
greatly refactored alt block verification and improved it for post-HF4 era (now all updated tests should pass) 2024-06-01 22:06:21 +02:00
sowle
092e0f1e60
minor improvements, typos, log msgs 2024-05-31 15:49:55 +02:00
cryptozoidberg
10c451f3b7
Added PoS grinding attack fuse 2024-05-13 16:51:13 +04:00
sowle
c6488622eb
temporary fix for ZC outs validation in validate_alt_block_input() 2024-05-05 22:19:16 +02:00
sowle
b3c44598b0
minor improvements & code cleanup 2024-05-04 03:17:56 +02:00
sowle
702817e351
fixed a potential issue in check_ms_input() 2024-05-04 03:16:28 +02:00
sowle
81ac6cf333
removed redundant hardfork check from check_tx_inputs(), because it's already in validate_tx_for_hardfork_specific_terms() 2024-05-04 03:15:13 +02:00
sowle
e38dfc1472
coretests: hardfork_4_pop_tx_from_global_index test added to cover uncovered areas in pop_transaction_from_global_index() 2024-05-04 02:35:51 +02:00
sowle
5500e943dd
did some refactoring around validate_miner_transaction()
code simplified
fixed an issue with already_generated_coins not taking block size penalty into consideration
2024-05-04 02:33:05 +02:00
sowle
e57709a67f
prevalidate_miner_transaction() now checks HF condition for the given height instead of the top height 2024-05-04 02:24:11 +02:00
sowle
2e75597365
code clean-up and minor improvements 2024-05-04 02:21:34 +02:00
sowle
2b1c1094a6
fix for m_db_per_block_gindex_incs container (was not populated properly due to a bug in append_per_block_increments_for_tx()) 2024-05-03 18:39:26 +02:00
sowle
db4b841f57
minor fixes and code cleanup 2024-04-25 19:13:57 +02:00
sowle
7fdc82a630
minor code cleanup 2024-04-25 16:46:36 +02:00
sowle
15e653a8ae
minor refactoring: get_base_block_reward() now requires only block height (for clarity) 2024-04-22 17:45:10 +02:00
sowle
63dadb37c6
compilation fix for blockchain_storage::get_assets() 2024-04-22 01:25:28 +02:00
cryptozoidberg
ad66a6db30
added get_assets_list command to daemon API 2024-04-20 00:07:38 +04:00
sowle
4f74046e62
Merge branch 'master' into develop 2024-04-10 19:14:51 +02:00
cryptozoidberg
ed62452853
hardfork 5 2024-04-10 19:10:32 +02:00
cryptozoidberg
1a15109f4b
Merge branch 'release2' into develop 2024-03-29 18:57:26 +01:00
sowle
a45e42e0a5
handle ethash epoch context allocation errors by triggering an immediate stop via the critical error handler 2024-03-29 14:31:00 +01:00