Commit graph

380 commits

Author SHA1 Message Date
Wanwiset Peerapatanapokin
6abb4f88da
consensus: Verify gaslimit bounds when accepting blocks (#1619)
* Verify gaslimit bounds when accepting blocks

* fix tests
2025-10-16 12:16:34 +04:00
Daniel Liu
956767a41e
consensus/XDPoS: remove unused parameters in BlockConsensusVersion, close XFN-02 (#1613) 2025-10-08 13:19:45 +08:00
wgr523
968fb0124b
style: change limitPenaltyEpoch in config to real meaning, avoid +1 (#1538) 2025-09-19 13:43:31 -07:00
wit liu
a5d03e4a8a
all: fix inconsistent receiver name (#1494)
Co-authored-by: wit <wit765765346@gmail>
2025-09-17 08:15:23 +08:00
wit765
12eab8e785
all: rename ChainId to ChainID #16853 (#1456)
Co-authored-by: wit <wit765765346@gmail>
2025-09-09 22:54:34 +08:00
benjamin202410
db9c3de1dc
add syncinfo pool (#1236)
* add syncinfo message into pool for process later

* add missing file back

---------

Co-authored-by: liam.lai <liam.lai@us>
2025-07-28 01:43:41 -07:00
Daniel Liu
f3e346c471
params: prettier output of V2Config Description (#1259) 2025-07-26 17:47:54 +08:00
wgr523
4ec4a5390f
Consecutive penalty upgrade (#1053)
* feat: penalty upgrade, consecutive epochs penalty
can be unpenalized

* feat: use binary search inside penalty hook

* style: modification on style

* feat: in penaltyHook change startRange

* fix: add lastPenalty condition in HookPenalty V2
2025-06-25 01:12:56 -07:00
Daniel Liu
e83b87a80e
cicd, params: update bootnodes for testnet (#1110) 2025-06-17 13:35:28 +08:00
wanwiset25
6119591b7f update mainnet bootnode 2025-05-19 15:03:47 +04:00
benjamin202410
9656e2d1c4
update devnet reward parameter (#980)
Co-authored-by: liam.lai <liam.lai@us>
2025-04-24 03:03:32 -07:00
benjamin202410
4f98a8b81c
update devnet config to test reward (#951)
* update devnet config to test reward

* udpate reward

---------

Co-authored-by: liam.lai <liam.lai@us>
2025-04-21 01:46:24 -07:00
wgr523
6a38aa00aa
Reward float upgrade (#940)
* feat: use float type reward

* feat: add test of float reward
2025-04-16 02:03:41 -07:00
Daniel Liu
66aff99ca0 params: bump version to v2.6.1-beta 2025-04-12 11:38:37 +08:00
Daniel Liu
7aaf724f4f all: update parameters for rollback 2025-04-12 11:38:27 +08:00
Daniel Liu
91cbe818ea common, params: define cancun block for testnet and print more chain config 2025-04-01 14:41:05 +08:00
Gerui Wang
6bac06b1e7 feat: fixed reward per node (per capita) 2025-03-25 22:33:49 +08:00
Gerui Wang
84ae914350 feat: add TIPEpochHalving, better style 2025-03-25 22:16:35 +08:00
Daniel Liu
d6fd1e868e common, params: update parameters of devnet 2025-03-16 01:06:12 +08:00
Daniel Liu
db820bdd91 params: fix outdated DevnetChainConfig 2025-03-15 23:48:20 +08:00
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
2697703c0f core, eth, params: make indexer configurable (#17188) 2025-03-10 15:41:53 +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
3976617ac2 core, light, params: clean genesis hash 2025-03-05 14:30:39 +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
Daniel Liu
98cff5d6c2 all: remove network rinkeby 2025-02-19 15:52:29 +08:00
Daniel Liu
3fc7eeff8a params: print chain configuration in more detail 2025-02-17 10:05:50 +08:00
Daniel Liu
9b77577dc5 params: update bootnodes 2025-02-17 09:53:38 +08:00
Daniel Liu
cfc8cca674 common: refactor constants 2025-02-17 09:13:40 +08:00
Daniel Liu
4bbcd988b2 params: remove EIP150Hash from chainconfig (#27087) 2025-02-05 18:16:17 +08:00
Daniel Liu
bb8324357c params: log chain config a bit saner (#24904) 2025-02-05 18:10:06 +08:00
Daniel Liu
ec0e07b100 params: add Cancun blocks (#25305) 2025-02-05 18:01:29 +08:00
benjamin202410
2ff2e3442d
test exp timeout on devnet 2025-01-29 23:48:35 -08:00
Daniel Liu
ef80645f90 accounts/abi/bind: fix test 2025-01-24 16:18:29 +08:00
wgr523
537dc5e6fb
Exp timeout (#764)
* feat: write duration calculation in countdown as
interface. add more inputs as function argument

* feat: ExpTimeoutDuration

* fix: three dots usage

* feat: refine exp duration

* feat: add exp timeout config and use it in countdown

* feat: remove const countdown

* feat: remove use of interface in countdown, use error

* fix: countdown reset timer problem

* fix: add default ExpTimeoutConfig for config
2025-01-19 23:04:03 +08:00
wanwiset25
9bfec33942 remove old config
update bootnodes and cicd
2025-01-15 21:21:10 +04:00
benjamin202410
f8decab061
code refactor for performance (#782)
Co-authored-by: liam.lai <liam.lai@us>
2024-12-29 21:47:14 -08:00
liam.lai
77f9cc59ec merge from dev-upgrade 2024-12-27 10:03:54 -08:00
benjamin202410
332380c889
fix only timeout round exists in next epoch (#772)
* fix only timeout round exists in next epoch

* bump version

---------

Co-authored-by: liam.lai <liam.lai@us>
2024-12-23 23:09:45 -08:00
liam.lai
25462bde4c fix tc cross epoch different masternode counts issue 2024-12-22 19:34:49 -08:00
benjamin202410
e1ab3e03d1
add buffer channel to unlock deadlock (#766)
* add buffer channel to unlock deadlock

* add buffer channel to unlock deadlock

* close channel

---------

Co-authored-by: liam.lai <liam.lai@us>
2024-12-19 01:18:13 -08:00
liam.lai
c98f42c0ff Merge branch 'release-br-v2.4.2-beta1' into release-br-v2.4.3-beta1 2024-12-13 01:47:24 -08:00
liam.lai
92d239bf1d merge from master 2024-12-13 01:47:00 -08:00
Wanwiset Peerapatanapokin
b794f6a849
recover devnet by increasing timeout (#760) 2024-12-12 20:28:46 -08:00
liam.lai
21729181f7 increate timeout to 1 min for testnet 2024-11-22 18:36:53 -08:00
liam.lai
100ce5cbe5 bug fix for count vote threshold 2024-11-22 00:01:22 -08:00
liam.lai
572660612d update version 2024-11-19 00:56:38 -08:00
Daniel Liu
f64aea4ba0 core/vm: implement EIP-3860: Limit and meter initcode (#23847) 2024-11-01 11:36:53 +08:00