Daniel Liu
34020969ff
all: simplify timestamps to uint64 #19372 ( #1318 )
2025-08-08 10:33:37 +08:00
benjamin202410
bc7e213b96
fix syncinfo skip condition ( #1285 )
...
* fix syncinfo skip condition
* fix condition
* fix condition
---------
Co-authored-by: liam.lai <liam.lai@us>
2025-08-04 02:51:05 -07: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
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
5b8c267122
trie: use trie.NewStackTrie instead of new(trie.Trie) ( #22246 )
2025-04-07 16:44:32 +08:00
Daniel Liu
a9b9f53701
core, eth, trie: add a prefix to contract code (21080)
2025-03-24 22:31:03 +08:00
JukLee0ira
d6b136ed7c
consensus, internal, contracts: remove extra hash and string conversions ( #830 )
...
* consensus, internal: remove extra hash conversions
* contracts: remove extra string conversions
2025-02-07 13:59:07 +08:00
Daniel Liu
4bbcd988b2
params: remove EIP150Hash from chainconfig ( #27087 )
2025-02-05 18:16:17 +08:00
Daniel Liu
5b10b2441c
all: use T.TempDir to create temporary test directories ( #24633 )
2025-01-24 16:54:08 +08:00
Daniel Liu
97c50f97bb
all: add read-only option to database
2025-01-24 14:24:39 +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
44ac46f676
add local xdpos function
...
add readme
changes to support xdpos2 protocol from block 0
2025-01-01 22:06:09 -05:00
benjamin202410
f8decab061
code refactor for performance ( #782 )
...
Co-authored-by: liam.lai <liam.lai@us>
2024-12-29 21:47:14 -08:00
benjamin202410
3e62a4c611
Merge pull request #778 from XinFinOrg/release-br-v2.4.6-beta1-dev-upgrade
...
Release br v2.4.6 beta1 merge back to dev upgrade
2024-12-27 20:07:41 -08:00
Daniel Liu
28739d7863
common: remove usage of deprecated function ( #21610 )
2024-12-28 09:06:30 +08:00
liam.lai
77f9cc59ec
merge from dev-upgrade
2024-12-27 10:03:54 -08:00
benjamin202410
c8aae5e537
Get right tc epoch ( #773 )
...
* get right tc epoch
* fix debug message
* merge test
* merge test
---------
Co-authored-by: liam.lai <liam.lai@us>
2024-12-24 01:53:40 -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
00785b096f
fix tc cross epoch different masternode counts issue
2024-12-22 19:34:09 -08:00
Daniel Liu
82ff8c19a0
all: remove uses of untyped golang-lru
2024-12-21 14:39:26 +08:00
liam.lai
50f4013059
remove normal log
2024-12-20 14:11:32 -08:00
benjamin202410
21b05243b6
Merge from master mining time patch ( #767 )
...
* merge from master
* close channel
* close channel
---------
Co-authored-by: liam.lai <liam.lai@us>
2024-12-19 01:17:29 -08:00
benjamin202410
78331172f3
cherry pick vote test fix
2024-12-13 01:58:58 -08:00
liam.lai
383e2d5207
Merge branch 'master' into release-br-v2.4.3-beta1
2024-12-13 01:45:56 -08:00
Daniel Liu
92fc843683
crypto: switch over to upstream sha3 package ( #18390 )
2024-12-09 17:48:59 +08:00
Wang Gerui
1b89654663
feat: add a new round chan between consensus and miner
2024-12-04 22:42:45 +08:00
benjamin202410
a8560300a4
fix vote test and optimize log ( #750 )
...
Co-authored-by: liam.lai <liam.lai@us>
2024-11-29 03:14:25 -08:00
liam.lai
809242223a
bug fix use right block to count vote theshold
2024-11-22 00:04:39 -08:00
liam.lai
100ce5cbe5
bug fix for count vote threshold
2024-11-22 00:01:22 -08:00
Daniel Liu
9b20ac785e
consensus/misc: move eip1559 into a package ( #27828 )
2024-11-01 11:36:53 +08:00
Daniel Liu
e18553b855
all: implement eip-1559 ( #22837 )
2024-11-01 11:36:52 +08:00
Daniel Liu
363d9784bf
engines/engine_v2: fix staticcheck warning S1009: should omit nil check
2024-10-31 21:51:53 +08:00
Daniel Liu
6ed8d399c2
fix nil dereference in field selection
2024-10-31 09:01:12 +08:00
liam.icheng.lai
59a7eb1f9f
resolve conflict from master
2024-10-30 16:47:26 -07:00
benjamin202410
118ccd08d5
cherry pick epoch api from dev-upgrade ( #699 )
...
* cherry-pick-epoch-api
2024-10-29 01:36:22 -07:00
wgr523
71b9005f34
feat: add api xdpos_getBlockInfoByEpochNum ( #674 )
...
* feat: add api xdpos_getBlockInfoByEpochNum
* feat: add cache round2epochBlockInfo
* fix: round2epochBlockInfo contains round now
* feat: binary search in GetBlockByEpochNumber
* fix: change some code back, refine style
2024-10-28 00:14:30 -07:00
Daniel Liu
4709ca3f13
all: fix staticcheck warning SA1006
2024-10-28 15:13:21 +08:00
Daniel Liu
a79411fa06
all: fix staticcheck warning ST1005: incorrectly formatted error string
2024-10-24 09:48:20 +08:00
benjamin202410
042c02ba8c
add last block number for epoch api ( #681 )
...
Co-authored-by: Liam Lai <liam@home>
2024-10-20 23:43:23 -07:00
Liam Lai
22fc7d0710
fix conflict
2024-10-16 22:42:53 -07:00
Liam Lai
5f1fb22e51
fix conflict
2024-10-15 19:51:57 -07:00
Liam Lai
b43bb5ed1f
api epoch
2024-10-15 19:20:13 -07:00
Liam
e6190dd25f
fix timeout skip condition ( #659 )
...
Co-authored-by: 賴怡誠 <laiyicheng@makotos-MBP.lan>
2024-09-30 21:32:22 -07:00
Liam
9751e41dd5
Mainnet debug ( #655 )
...
* intro new timeout (#651 )
* intro new timeout
* correct comment
* disable ProcessForensics
* disable ProcessForensics
* change version
* enable periodicProfilingFlag
* fix: ignore old timeout msg
* fix: ignore old timeout msg including equal to the current round
* udpate version file
2024-09-30 20:05:14 -07:00
wgr523
3593abe815
feat: GetEpochNumbersBetween API ( #606 )
...
* feat: GetEpochNumbersBetween API
* style: refine GetEpochNumbersBetween API
2024-09-02 00:11:12 -07:00
JukLee0ira
2d89951e5b
all: use errrors.New instead of empty fmt.Errorf
2024-06-14 19:19:21 +08:00
JukLee0ira
21c62f9ef0
XDCx,XDCxlending,consensus,core: not compare adresss by String
2024-06-06 19:33:39 +08:00
Wanwiset Peerapatanapokin
3fe54e28d3
remove uncle block handling ( #523 )
2024-04-23 09:44:49 +04:00
Liam
5d4ea760d5
revert rename change as change db field name and stops block chain reading from db ( #517 )
2024-04-08 20:40:20 +08:00
wgr523
c16bd66a8d
Merge pull request #498 from XinFinOrg/ppx-01
...
PPX-01 add verification of vote signer belonging to masternodes
2024-04-01 20:48:16 +08:00