Commit graph

12926 commits

Author SHA1 Message Date
Daniel Liu
96db952576 downloader: fix edgecase where returned index is OOB for downloader (#18335) 2025-02-26 15:06:08 +08:00
Daniel Liu
3adec81483 downloader: different sync strategy (#18085) 2025-02-26 15:06:08 +08:00
Daniel Liu
9ad4e1d282 downloader: measure successfull deliveries, not failed (#17983) 2025-02-26 15:06:08 +08:00
Daniel Liu
31011d4aa9 eth/downloader: fix invalid hash chain error due to head mini reorg (#17839) 2025-02-26 15:06:08 +08:00
Daniel Liu
e424ff1380 eth/downloader: fix comment typos (#17956) 2025-02-26 15:06:08 +08:00
Daniel Liu
2a8b4501ef eth/downloader: use intermediate variable for better readability (#17510) 2025-02-26 15:06:08 +08:00
Daniel Liu
ee516cb291
Merge pull request #882 from gzliudan/fix_divide_zero
core: fix integer divide by zero in the function `ValidateHeaderChain`
2025-02-26 15:05:16 +08:00
Daniel Liu
cc5359e063 core: fix integer divide by zero in function ValidateHeaderChain 2025-02-26 14:30:57 +08:00
Daniel Liu
7c9df61bd9
Merge pull request #885 from JukLee0ira/rm_duplicate_func
core: remove the duplicate function `getProcInterrupt()`
2025-02-26 14:29:20 +08:00
JukLee0ira
620eaa7443 core: remove the duplicate func getProcInterrupt 2025-02-26 14:27:21 +08:00
Daniel Liu
b9c0dc1059
Merge pull request #873 from gzliudan/no_copy_constants
common: not copy constants file for compatibility
2025-02-23 11:57:20 +08:00
Daniel Liu
a6571f4a53 common: clear ignoreSignerCheckBlockArray and blacklist for local net 2025-02-23 11:55:20 +08:00
Daniel Liu
01bd024bfb common: not copy constants.go for compatibility 2025-02-23 11:55:20 +08:00
benjamin202410
6217d1e3fb
fix private devnet with private ip (#879)
Co-authored-by: liam.lai <liam.lai@us>
2025-02-22 19:32:45 -08:00
Daniel Liu
86e3dbb04d
Merge pull request #872 from gzliudan/fix_etherbase
cmd/utils: not set Etherbase when flag `--unlock` is set
2025-02-23 10:00:44 +08:00
Daniel Liu
77f577a388 cmd/utils: not set Etherbase when flag --unlock is set 2025-02-21 15:59:09 +08:00
Daniel Liu
92fb0ca836
Merge pull request #877 from gzliudan/rm_flags_fast_light
cmd: remove deprecated flags `--fast` and `--light`
2025-02-21 15:39:54 +08:00
Daniel Liu
92bc30bc37 cmd: remove deprecated flags --fast and --light 2025-02-21 15:35:09 +08:00
Daniel Liu
a9f4b91fb8
Merge pull request #876 from gzliudan/dbcmd_inspect
cmd/XDC, core/rawdb: add db command inspect
2025-02-21 15:33:11 +08:00
Daniel Liu
7017077508 cmd/XDC, core/rawdb: add db command inspect 2025-02-21 15:32:35 +08:00
Daniel Liu
659659f320
Merge pull request #875 from gzliudan/node_deprecation_warning
node: warn when using deprecated config/resource files
2025-02-21 15:31:25 +08:00
Daniel Liu
639d3f63a0 node: warn when using deprecated config/resource files (#18199) 2025-02-21 15:30:55 +08:00
Daniel Liu
1a1c613464
Merge pull request #874 from gzliudan/fix_debug_api
core: fix special tx cause debug API fail after EIP-1559
2025-02-21 15:25:16 +08:00
Daniel Liu
b60396a233 core, internal/ethapi: improve function IsSpecialTransaction 2025-02-20 12:48:17 +08:00
Daniel Liu
4f8d11e11d core: fix BlockSigner tx cause debug API fail after EIP-1559 2025-02-20 12:35:24 +08:00
Daniel Liu
783d46f29e core/types: remove unused error variables 2025-02-20 11:46:49 +08:00
Daniel Liu
2f626561f7
Merge pull request #863 from gzliudan/network_flags
all: clean up the network flags
2025-02-19 17:24:28 +08:00
Daniel Liu
1819d5b7b4 common: set eip1559Block to 0 for local net 2025-02-19 15:52:34 +08:00
Daniel Liu
5f750498f4 les: copy constans after get networkID 2025-02-19 15:52:34 +08:00
Daniel Liu
98cff5d6c2 all: remove network rinkeby 2025-02-19 15:52:29 +08:00
Daniel Liu
54b4be1aa2 cmd, core: add flag mainet and devnet 2025-02-19 14:24:20 +08:00
Daniel Liu
1d653e57ab cmd, core: merge flags testnet and apothem 2025-02-19 14:24:20 +08:00
Daniel Liu
020e9aa81d
Merge pull request #861 from gzliudan/enable_cancun
core/vm: enable cancun instruction set
2025-02-19 14:21:43 +08:00
Daniel Liu
30195e88ee core/vm: enable cancun instruction set 2025-02-19 14:20:45 +08:00
Daniel Liu
000ace69f4
Merge pull request #870 from gzliudan/disable_kzg4844
cmd/utils: disable kzg4844
2025-02-19 14:20:10 +08:00
Daniel Liu
0284a8dab0 cmd/utils: disable kzg4844 2025-02-19 14:19:35 +08:00
Daniel Liu
54d2d60db2
Merge pull request #869 from gzliudan/testnet_eip1559
common: update eip1559 block number for testnet
2025-02-19 14:18:12 +08:00
Daniel Liu
c67d13abee common: update eip1559 block number for testnet 2025-02-19 14:16:52 +08:00
Daniel Liu
6eebfd340f core: tidy up genesis alloc 2025-02-19 14:15:09 +08:00
JukLee0ira
2bb6edd07b p2p, p2p/discover: add dial metrics (#27621) 2025-02-18 16:05:59 +08:00
Daniel Liu
a52388550c
Merge pull request #867 from gzliudan/devnet_genesis
genesis: update genesis file for devnet
2025-02-18 15:53:43 +08:00
Daniel Liu
36edddf4cc genesis: update genesis file for devnet 2025-02-18 15:53:20 +08:00
Daniel Liu
dead639d48
Merge pull request #866 from gzliudan/fix_constants
cmd, common, eth: copy constants after get chain id
2025-02-18 15:51:49 +08:00
Daniel Liu
2a2711ad64 cmd, common, eth: copy constants after get chain id 2025-02-18 15:16:55 +08:00
Daniel Liu
6f22270ba4
Merge pull request #864 from gzliudan/nuke_GroupFlags
cmd: use slices.Concat instead of GroupFlags
2025-02-18 09:09:08 +08:00
Daniel Liu
2fb9e99ba3 cmd: use slices.Concat instead of GroupFlags 2025-02-17 15:06:52 +08:00
Daniel Liu
9b7d0c20e7
Merge pull request #858 from JukLee0ira/opt-compare
performance: remove extra conversions
2025-02-17 14:36:20 +08:00
JukLee0ira
51dac59e92 common: change type of variables for constants 2025-02-17 11:38:16 +08:00
Daniel Liu
0b40863458
Merge pull request #860 from gzliudan/chain_description
params: print chain configuration in more detail
2025-02-17 10:06:37 +08:00
Daniel Liu
3fc7eeff8a params: print chain configuration in more detail 2025-02-17 10:05:50 +08:00