Commit graph

12948 commits

Author SHA1 Message Date
benjamin202410
080dcfd48f
update new reward parameter on devnet (#899)
Co-authored-by: liam.lai <liam.lai@us>
2025-03-10 00:31:36 -07:00
Daniel Liu
353c1f4201
Merge pull request #894 from gzliudan/ligth_cht
light: CHT and bloom trie indexers working in light mode
2025-03-07 11:22:19 +08:00
Daniel Liu
f039b26e7a light: CHT and bloom trie indexers working in light mode (#16534) 2025-03-06 15:30:48 +08:00
Daniel Liu
a898812123
Merge pull request #893 from gzliudan/fix_nodeinfo
les: fix crasher in NodeInfo when running as server
2025-03-06 15:24:58 +08:00
Daniel Liu
2eccba2eaa les: fix crasher in NodeInfo when running as server (#17419) 2025-03-05 20:49:32 +08:00
Daniel Liu
2f06e10b4c
Merge pull request #892 from gzliudan/clean_genesis_hash
core, light, params: remove genesis hash of ethereum network
2025-03-05 14:32:07 +08:00
Daniel Liu
3976617ac2 core, light, params: clean genesis hash 2025-03-05 14:30:39 +08:00
Daniel Liu
7adf2b81c2
Merge pull request #890 from gzliudan/new_bootnode
cicd, params: update bootnode 81.0.220.137 for mainet
2025-03-05 14:28:56 +08:00
Daniel Liu
bcab248ac3 cicd, params: update bootnode 81.0.220.137 for mainet 2025-03-03 09:42:42 +08:00
wgr523
c36e4d54c0
Upgrade reward 2.0 (#865)
* refactor: reward hook gets prepared for upgrade

* feat: new reward hook, config change, unit tests

* add missing code

* feat: filter penalty in reward. add unit test

* update constant and config

---------

Co-authored-by: liam.lai <liam.lai@us>
2025-03-02 02:44:34 -08:00
JukLee0ira
8bd1c9cee9 all: update to go version 1.23 2025-03-01 16:42:11 +08:00
Daniel Liu
2b04581df2
Merge pull request #888 from gzliudan/fix_nil_eth
cmd/utils: handle err returned by eth.New to fix panic
2025-03-01 16:14:19 +08:00
Daniel Liu
8b7eebf0cb cmd/utils: handle err which returned from eth.New to fix panic 2025-03-01 16:07:01 +08:00
Daniel Liu
adcaf55ce6
Merge pull request #889 from gzliudan/downloader_test_perf
eth/downloader: speed up tests by generating chain only once
2025-03-01 15:56:21 +08:00
Daniel Liu
6e8fe5121d eth/downloader: speed up tests by generating chain only once (#17916) 2025-03-01 15:55:27 +08:00
Daniel Liu
ceae7dac34
Merge pull request #887 from gzliudan/rm_flag_rewound
cmd, common, core:  optimize rollback by flag
2025-03-01 11:36:02 +08:00
Daniel Liu
588dcd35ce cmd, common, core, eth: optimize rollback by flag 2025-03-01 11:34:32 +08:00
Daniel Liu
4fd2360d3f
Merge pull request #881 from gzliudan/upgrade_downloader
upgrade downloader
2025-02-26 15:06:44 +08:00
Daniel Liu
bf011986a5 eth/downloader: fixes data race between synchronize and other methods (#21201) 2025-02-26 15:06:08 +08:00
Daniel Liu
2955a988ca eth/downloader: more context in errors (#21067) 2025-02-26 15:06:08 +08:00
Daniel Liu
3ee371454f eth/downloader: make syncing error obvious (#19413) 2025-02-26 15:06:08 +08:00
Daniel Liu
04adabe55c eth/downloader: fix nil droppeer in state sync (#19232) 2025-02-26 15:06:08 +08:00
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