Daniel Liu
09b66ea8c4
engine_v2: check overflow first, close XFN-20 ( #1659 )
2025-11-03 12:55:57 +05:30
Daniel Liu
4acd3b05ee
XDPoS/utils: use strconv.ParseInt to convert int64, close XFN-24 ( #1660 )
2025-11-03 12:55:37 +05:30
Daniel Liu
717610c0d8
core: handle future block more elegantly, close XFN-101 ( #1672 )
2025-11-03 12:52:22 +05:30
Daniel Liu
aecb6ff7dc
engine_v2: reject wrong signature earlier, close XFN-29 ( #1661 )
2025-11-03 12:51:56 +05:30
Daniel Liu
0f4d266b9b
internal/ethapi: fix missing proper error propagation, close XFN-118 ( #1683 )
2025-11-03 12:50:04 +05:30
Daniel Liu
737bfa45a6
internal/ethapi: prealloc map for the txpool api #32110 , close XFN-106 ( #1685 )
2025-11-03 12:49:48 +05:30
Daniel Liu
165d0f0838
eth: fix wrong judgement condition, close XFN-73 ( #1686 )
2025-11-03 12:48:51 +05:30
Daniel Liu
7614a0ad9a
consensus/XDPoS: convert variables to const, close XFN-123 ( #1688 )
2025-11-03 12:46:35 +05:30
Daniel Liu
fc748cc52a
engine_v2: add comment for type SnapshotV2, close XFN-124 ( #1689 )
2025-11-03 12:46:05 +05:30
Daniel Liu
d2706538e2
XDPoS/engines, core: fix non idiomatic "comma ok" boolean name, close XFN-126 ( #1690 )
2025-11-03 12:45:39 +05:30
Daniel Liu
58c066f053
all: handle err from func rlp.Encode, close XFN-127 ( #1692 )
2025-11-03 12:45:19 +05:30
Daniel Liu
426d4a7a9f
core/txpool: fix name shadowing of filter parameter, close XFN-66 ( #1694 )
2025-11-03 12:44:43 +05:30
Daniel Liu
9d85990309
all: fix missing nil check, close XFN-114 ( #1695 )
2025-11-01 23:21:44 +05:30
Daniel Liu
2fd4030cb8
eth/gasprice: ensure cache purging goroutine terminates with subscription #31025 , close XFN-89 ( #1687 )
2025-11-01 12:05:24 +05:30
Daniel Liu
336d1f9f34
core: fix too many goroutines in InitSignerInTransactions, close XFN-75 ( #1662 )
2025-10-31 12:26:22 +05:30
Daniel Liu
a5e68b9c52
miner: not sleep if locks multiple mutex, close XFN-40 ( #1639 )
2025-10-31 12:24:32 +05:30
Daniel Liu
20ec25c0ca
engine_v2: fix data race when initial v2 parameters, close XFN-10 ( #1617 )
2025-10-31 11:33:06 +05:30
Daniel Liu
689ac1b12a
internal/ethapi: remove error return value of RPCMarshalBlock #27449 ( #1604 )
2025-10-31 09:57:48 +05:30
Daniel Liu
df9623dbe9
eth: split api.go into namespace based files #27263 ( #1601 )
2025-10-30 21:27:14 +05:30
Daniel Liu
378d14f2fc
internal/ethapi: minor refactor in block serialization #27268 ( #1600 )
2025-10-30 20:26:18 +05:30
Anil Chinchawale
2652df3366
Merge pull request #1708 from gzliudan/fix-v2-sort
...
eth/hooks: use slices.SortStableFunc in engine_v2
2025-10-30 13:02:26 +05:30
Daniel Liu
12668feab8
eth/hooks: use slices.SortStableFunc in engine_v2
2025-10-30 14:54:54 +08:00
Wanwiset Peerapatanapokin
b49f6cb0f2
consensus: verify header hash is same as input hash in getEpochSwitchInfo ( #1627 )
2025-10-28 09:30:38 +07:00
Wanwiset Peerapatanapokin
25a70e8770
consensus: skip gas limit verification for genesis block ( #1646 )
2025-10-28 08:30:36 +07:00
Daniel Liu
22edaacf0d
trie: update comments + err check for preimages #25672 ( #1117 )
...
This PR includes minor updates to comments in trie/committer that reference insertion to the db, and adds an err != nil check for the return value of preimages.commit.
Co-authored-by: Darioush Jalali <darioush.jalali@avalabs.org>
2025-10-24 16:57:19 +08:00
wit liu
79460e4bfb
all: fix whitespace error of golangci-lint, remove extra empty lines ( #1624 )
2025-10-19 14:42:12 +08:00
wit liu
9f14aebcae
internal/ethapi: fix receiver name for BlockChainAPI ( #1621 )
2025-10-19 14:41:04 +08:00
Wanwiset Peerapatanapokin
c95d258058
separate fullVerifies array into v1fullVerifies and v2fullVerifies ( #1618 )
2025-10-16 12:17:05 +04:00
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
Wanwiset Peerapatanapokin
e0c987f45a
impose size limit for DecodeBytesExtraFields ( #1637 )
2025-10-16 12:16:14 +04:00
Wanwiset Peerapatanapokin
53f6a8d6d9
consensus: optimize CompareSignersLists
...
consensus: optimize CompareSignersLists
2025-10-16 12:13:49 +04:00
wanwiset25
998153ebb1
optmize CompareSignersLists
2025-10-12 21:59:55 +04:00
Wanwiset Peerapatanapokin
d45da0a149
Merge pull request #1611 from XinFinOrg/upgrade-package-CVE
...
update package version
2025-10-08 09:32:20 +04:00
Daniel Liu
0aa7ccb81e
consensus: check gas limit bounds in header, close XFN-07 ( #1616 )
2025-10-08 13:22:05 +08:00
Daniel Liu
8c101cd961
engine_v2: fix potential modulo by zero, close XFN-17 ( #1615 )
2025-10-08 13:21:33 +08:00
Daniel Liu
95f0bd2a4b
engine_v2: check minimum timestamp for the first v2 block, close XFN-16 ( #1614 )
2025-10-08 13:20:29 +08:00
Daniel Liu
956767a41e
consensus/XDPoS: remove unused parameters in BlockConsensusVersion, close XFN-02 ( #1613 )
2025-10-08 13:19:45 +08:00
Daniel Liu
2ad225d6d1
engine_v2: fix unsynchronized QC verification Error, close XFN-09 ( #1609 )
2025-10-08 13:18:57 +08:00
Daniel Liu
c7fb2e875d
consensus, contracts: check input length of ExtractValidatorsFromBytes, close XFN-14 ( #1608 )
2025-10-08 13:16:01 +08:00
Daniel Liu
3efe26df08
all: refactor so NewBlock, WithBody take types.Body #29482 ( #1605 )
2025-10-08 13:12:35 +08:00
Daniel Liu
c74515fcca
core: persist bad blocks #21827 ( #1603 )
2025-10-08 13:10:22 +08:00
Daniel Liu
915186fea2
internal/ethapi: refactor func rpcMarshalBlock #19570 ( #1602 )
2025-10-08 13:01:56 +08:00
Daniel Liu
72bfc81606
internal/ethapi: fix encoding of uncle headers and pending blocks #20460 ( #1599 )
2025-10-08 12:56:31 +08:00
Daniel Liu
e48bda95c3
internal/ethapi: use correct signer when serving old blocks #23683 ( #1598 )
2025-10-08 12:54:57 +08:00
Daniel Liu
a311f01c7a
eth, internal: add getHeaderBy* APIs #19669 ( #1597 )
2025-10-08 12:52:56 +08:00
wit liu
6a1fa08d02
all: refactor to use builtin max/min #32694 ( #1596 )
2025-10-08 12:52:22 +08:00
wit liu
e5c480f234
core/txpool: add eip2681 check for incoming transactions #32726 ( #1594 )
2025-10-08 12:51:48 +08:00
wit liu
7c5d2a45da
accounts/keystore: use ticker to avoid timer allocations #32732 ( #1592 )
2025-10-08 12:50:48 +08:00
Daniel Liu
f9f47d2836
internal/ethapi: move revertError #28703 ( #1591 )
2025-10-08 12:50:02 +08:00
Daniel Liu
dce7b371a0
eth/gasestimator, internal/ethapi: move gas estimator out of rpc #28600 ( #1589 )
2025-10-08 12:47:45 +08:00