Commit graph

13807 commits

Author SHA1 Message Date
Daniel Liu
c66f8f9fb2
core/state: fix SetStorage override behavior #30185 (#1764) 2025-11-15 16:50:26 +05:30
Daniel Liu
71e8e27f84
all: remove mongodb support in XDCx (#1679)
* all: remove SDK node

* cmd: remove XDCXDBEngineFlag

* cmd: remove XDCXDBConnectionUrlFlag

* cmd, XDCx: remove XDCXDBReplicaSetNameFlag

* XDCx: remove ConnectionUrl

* all: remove mongodb support

* cmd: remove XDCXEnabledFlag
2025-11-15 16:50:02 +05:30
Daniel Liu
0c96e76992
trie, XDCx, XDCxlending: not expose db in trie (#1763) 2025-11-15 16:49:47 +05:30
Daniel Liu
8f0ad36af6
core/state: get rid of field pointer in journal #30361 (#1761) 2025-11-15 16:48:52 +05:30
Daniel Liu
07e2609c25
common: improve variable names for ExtractAddressFromBytes(), close XFN-27 (#1726) 2025-11-15 16:48:01 +05:30
Daniel Liu
4716dc11af
cmd, internal: move func CheckExclusive() to package flags #31189 (#1747) 2025-11-15 16:47:38 +05:30
Daniel Liu
6d7c36bb8f
all: upgrade package version #30638 (#1745) 2025-11-15 16:46:54 +05:30
Daniel Liu
a75a1467ab
eth, internal/ethapi: remove order tx pool API (#1743) 2025-11-15 16:45:05 +05:30
Daniel Liu
650047c81e
consensus/XDPoS, params: fix some comments, close XFN-125 (#1733) 2025-11-15 16:44:39 +05:30
Daniel Liu
f24e68b015
consensus/XDPoS, eth: fix potential rpc.BlockNumber overflow, close XFN-69 (#1735) 2025-11-15 16:44:08 +05:30
Daniel Liu
0fc4c82350
Makefile, build: make test fast fail (#1739) 2025-11-15 16:42:35 +05:30
Daniel Liu
60868c9045
engines/engine_v2: refactor verifyQC by errgroup, close XFN-09 (#1740) 2025-11-15 16:42:15 +05:30
Daniel Liu
fc9ca96104
core/types, miner: remove unused parameter signers for NewTransactionsByPriceAndNonce() (#1732) 2025-11-14 22:37:20 +05:30
Daniel Liu
8cbbc1e83d
consensus, params: remove SkipV2Validation, close XFN-151 (#1730) 2025-11-14 21:53:05 +05:30
Daniel Liu
7a3ac998a3
eth: quick canceling block inserting when debug_setHead is invoked #32067, close XFN-142 (#1728) 2025-11-14 21:52:35 +05:30
Daniel Liu
eef5242fa3
all: pre-allocate memory for slices and maps, close XFN-148 (#1714) 2025-11-14 20:13:36 +05:30
Daniel Liu
f65ecda9f1
cmd/puppeth: improve code (#1716) 2025-11-14 20:11:45 +05:30
wit liu
733b6e2b37
crypto: validate hash length in nocgo Sign #33104 (#1773) 2025-11-14 20:10:48 +05:30
wit liu
cbdde3fbf8
common: fix size comparison in StorageSize #33105 (#1772) 2025-11-14 20:08:01 +05:30
wit liu
a9db265d4e
core/state: fix bug about getting stable LogsHash result #33082 (#1768) 2025-11-14 20:07:32 +05:30
wit liu
0fe8742241
accounts/usbwallet: fix version check in SignTypedMessage #33113 (#1767) 2025-11-14 20:06:46 +05:30
Daniel Liu
7d4578496c
core: fix runtime error index out of range [0] with length 0, close #1765 (#1766) 2025-11-14 20:05:37 +05:30
wit liu
812abd4b83
consensus: delete unused functions rlpHash (#1749) 2025-11-14 20:05:20 +05:30
wit liu
7641bcfd19
core: replace if-else chain with tagged switch on err (#1751) 2025-11-14 20:04:33 +05:30
wit liu
0d6807d15b
rpc: fix flaky test TestServerWebsocketReadLimit #32889 (#1752) 2025-11-14 20:04:09 +05:30
wit liu
d48adc520f
core/types: remove unused var #32989 (#1753) 2025-11-14 20:03:48 +05:30
Daniel Liu
782a7ff5cb
all: fix typos, close XFN-23 (#1725) 2025-11-14 20:02:34 +05:30
wit liu
891a386a58
core/state: using maps.Clone #29365 (#1754) 2025-11-14 20:00:59 +05:30
wit liu
9155d354c9
tracers, consensus/clique: use maps.Clone #29616 (#1755) 2025-11-14 20:00:21 +05:30
wit liu
3107006ac6
swarm: nuke this leftover #30622 (#1757) 2025-11-14 20:00:03 +05:30
wit liu
c82830d228
engines/engine_v2: use errgroup to handle goroutine error (#1758) 2025-11-14 19:59:43 +05:30
wit liu
5b873ea522
core :use batch to write chain config (#1760) 2025-11-14 19:59:10 +05:30
Daniel Liu
1eec428928
blockchain: ensure state exists for prefetcher #20627, fix #1738 (#1742) 2025-11-14 19:58:35 +05:30
wit liu
b31cbfed40
miner: remove unused abs function (#1734) 2025-11-14 19:58:23 +05:30
Daniel Liu
bd3d30919d
XDPoS/utils: get pool size by key, close XFN-21 (#1666) 2025-11-14 16:29:58 +05:30
wit liu
4faefad7a5
p2p: remove unused ticketRefByWaitTime and nextTicketReg (#1709) 2025-11-14 16:29:39 +05:30
wit liu
47952ac264
XDPoS/utils: use common.Address.Cmp for slices.SortFunc (#1704) 2025-11-14 16:29:16 +05:30
Daniel Liu
d5a03ab9e9
core, eth: fix overuse Of log.Crit, close XFN-102 (#1648)
* core: fix overuse Of `log.Crit`, close XFN-102

* eth: fix overuse Of `log.Crit`, close XFN-102
2025-11-14 16:28:36 +05:30
Daniel Liu
2c40021f71
core/state, internal/ethapi: GetAccountInfo handle error properly, close XFN-79 (#1663) 2025-11-14 16:28:18 +05:30
Daniel Liu
39b8184f57
XDPoS/utils: must use NewPool() to create Pool, close XFN-13 (#1667) 2025-11-14 16:26:24 +05:30
Daniel Liu
956ebb2b02
core, docs: add solidity document, close XFN-68 (#1670) 2025-11-14 16:25:42 +05:30
Daniel Liu
28a4f25166
cmd, core, eth, trie: track deleted nodes #22225 #25757 (#1120)
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
2025-11-12 13:32:22 +05:30
Daniel Liu
d11e128322
trie: handle more batch commit errors in Database #25674 (#1118)
Co-authored-by: Amir Hossein <77993374+Kamandlou@users.noreply.github.com>
2025-11-12 10:17:58 +05:30
Daniel Liu
4bb925258d
params: fix type V2 not equal bug, close XFN-45 (#1737) 2025-11-12 06:32:43 +08:00
Wanwiset Peerapatanapokin
7aaa541db1
consensus: implement DeepCopy() in PoolObj, close XFN-04 (#1723)
* add DeepCopy() for PoolObj

* PoolObj: use deepcopies and optimize locks

* optimize code
2025-11-10 21:56:10 +04:00
Wanwiset Peerapatanapokin
845137849d
consensus: change os.Exit to return error (#1653) 2025-11-10 21:55:45 +04:00
Wanwiset Peerapatanapokin
44b7ea8081
consensus: add isEpochSwitch check to IsSigner, close XFN-90 (#1654)
use current header to check IsSigner instead of parent header
2025-11-10 21:54:51 +04:00
Daniel Liu
3af629078a
internal/ethapi: eth_simulateV1 #27720 (#1606) 2025-11-08 16:09:18 +05:30
wit liu
4c22aa9d4d
consensus: fix misspell errors (#1673) 2025-11-04 11:43:29 +05:30
Daniel Liu
13ed19bcf2
all: remove XDCx and XDCxlending public API, close XFN-74 XFN-134 (#1675)
* internal: remove XDCx public API

* XDCx, XDCxlending: remove api

* ethclient: remove SendOrderTransaction and SendLendingTransaction

* XDCx, XDCxlending: remove unused variables and function

* eth, internal/ethapi: remove function `OrderStats()`
2025-11-04 11:19:16 +05:30