Commit graph

12958 commits

Author SHA1 Message Date
liam.lai
fd8f8ec2dc update config 2025-03-10 22:15:31 -07:00
liam.lai
cc63105314 test devnet reward more 2025-03-10 19:23:46 -07:00
Daniel Liu
a9317abcd1
Merge pull request #897 from gzliudan/fix_TestPendingLogsSubscription
eth/filters: fix TestPendingLogsSubscription
2025-03-10 15:43:25 +08:00
Miro
2dfa020165 eth/filters: fix TestPendingLogsSubscription (#23619)
The test did not synchronize with per-case goroutines, and thus didn't notice
that some tests were just hanging. This change adds missing synchronization
and fixes the broken tests.
2025-03-10 15:42:59 +08:00
Daniel Liu
ecd835b1b8
Merge pull request #896 from gzliudan/indexer_configurable
core, eth, params: make indexer configurable
2025-03-10 15:42:21 +08:00
Daniel Liu
2697703c0f core, eth, params: make indexer configurable (#17188) 2025-03-10 15:41:53 +08:00
Daniel Liu
3c80686dad
Merge pull request #895 from gzliudan/remove-les
all: remove les, light, faucet, lightchaindata
2025-03-10 15:40:39 +08:00
Daniel Liu
2f349da4bf cmd: remove deprecated lightchaindata db (#30527) 2025-03-10 15:40:08 +08:00
Daniel Liu
825a3cbb77 light: remove package (#28614) 2025-03-10 15:40:07 +08:00
Daniel Liu
66e73ad32e cmd, les: remove light client code (#28586) 2025-03-10 15:40:07 +08:00
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