wit liu
bf4c48c7c6
cmd: nuke geth bug, nobody is using it anyway #19400 ( #1814 )
2025-12-08 15:08:46 +05:30
Daniel Liu
8eb5fa7666
cmd: remove slave mode and flag XDCSlaveModeFlag ( #1824 )
2025-12-08 12:53:05 +05:30
Daniel Liu
640d448491
cmd/XDC, metrics/prometheus: fix staticcheck QF1012 ( #1713 )
2025-12-07 16:03:06 +05:30
Daniel Liu
c922f26d0c
all: replace strings.Split with more efficient strings.SplitSeq ( #1698 )
2025-12-07 15:42:23 +05:30
Daniel Liu
07328dcec4
core, eth, trie: abstract node scheme #25532 ( #1123 )
...
This PR introduces a node scheme abstraction. The interface is only implemented by `hashScheme` at the moment, but will be extended by `pathScheme` very soon.
Apart from that, a few changes are also included which is worth mentioning:
- port the changes in the stacktrie, tracking the path prefix of nodes during commit
- use ethdb.Database for constructing trie.Database. This is not necessary right now, but it is required for path-based used to open reverse diff freezer
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2025-11-17 11:25:08 +05:30
Daniel Liu
de9ed732e2
cmd, eth: implement flag delete-all-bad-blocks ( #1770 )
2025-11-15 16:50:52 +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
6d7c36bb8f
all: upgrade package version #30638 ( #1745 )
2025-11-15 16:46:54 +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
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
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
Daniel Liu
d451580b37
miner, XDPoS, XDC: close chanels by owner, close XFN-41 ( #1641 )
2025-11-03 14:52:31 +05:30
wit liu
11e82672fe
cmd: fix lint error mirror ( #1575 )
2025-10-08 12:25:59 +08:00
Daniel Liu
5e9db6066d
console: add note about typing exit to exit #23602 ( #1532 )
...
* add explicit note about typing exit in console
* Add note about typing exit as alternative
Co-authored-by: Thad Guidry <thadguidry@gmail.com>
2025-10-08 12:22:52 +08:00
Daniel Liu
0ece8529c4
cmd, eth, internal/ethapi: allow for flag configured timeouts for eth_call #23645 ( #1593 )
2025-09-26 19:01:02 +08:00
Daniel Liu
6c73723f47
cmd, console: drop geth js command #25000 ( #1534 )
2025-09-24 07:47:21 +08:00
Daniel Liu
db0cd1581f
console: don't exit on ctrl-c, only on ctrl-d #21660 ( #1531 )
...
* add interrupt counter
* remove interrupt counter, allow ctrl-C to clear ONLY, ctrl-D will terminate console, stop node
* format
* add instructions to exit
* fix tests
Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
2025-09-24 07:46:25 +08:00
Daniel Liu
22dc136ffe
cmd: replace passPHRASE with passWORD in any user interactions #19932 ( #1535 )
2025-09-21 19:31:00 +08:00
Daniel Liu
8615067df1
cmd, console, internal: support interrupting the js console #23387 ( #1533 )
2025-09-21 19:23:41 +08:00
Daniel Liu
5ad87e559f
cmd, console: password input fixes #20960 ( #1524 )
2025-09-21 18:59:34 +08:00
wit liu
4a6fccaf69
all: fix whitespace ( #1506 )
...
Co-authored-by: wit <wit765765346@gmail>
2025-09-17 08:23:06 +08:00
Daniel Liu
c9f2b73861
cmd, eth: rename config and flag to VMTraceJsonConfig #29573 ( #1490 )
2025-09-13 10:52:31 +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
Daniel Liu
ad9003c41e
eth/tracers: live chain tracing with hooks #29189 ( #1352 )
...
Here we add a Go API for running tracing plugins within the main block import process.
As an advanced user of geth, you can now create a Go file in eth/tracers/live/, and within
that file register your custom tracer implementation. Then recompile geth and select your tracer
on the command line. Hooks defined in the tracer will run whenever a block is processed.
The hook system is defined in package core/tracing. It uses a struct with callbacks, instead of
requiring an interface, for several reasons:
- We plan to keep this API stable long-term. The core/tracing hook API does not depend on
on deep geth internals.
- There are a lot of hooks, and tracers will only need some of them. Using a struct allows you
to implement only the hooks you want to actually use.
All existing tracers in eth/tracers/native have been rewritten to use the new hook system.
This change breaks compatibility with the vm.EVMLogger interface that we used to have.
If you are a user of vm.EVMLogger, please migrate to core/tracing, and sorry for breaking
your stuff. But we just couldn't have both the old and new tracing APIs coexist in the EVM.
---------
Co-authored-by: Sina M <1591639+s1na@users.noreply.github.com>
Co-authored-by: Matthieu Vachon <matthieu.o.vachon@gmail.com>
Co-authored-by: Delweng <delweng@gmail.com>
Co-authored-by: Martin HS <martin@swende.se>
2025-09-09 17:30:56 +08:00
Daniel Liu
031ea75eca
eth/tracers: package restructuring #23857 ( #1266 )
2025-08-29 05:26:36 +08:00
Daniel Liu
6f36533962
all: remove ethash pow 27178 ( #1378 )
2025-08-26 11:54:01 +08:00
Daniel Liu
516883d14c
all: snapshot dump + unify with trie dump #22795 ( #1205 )
2025-08-22 16:39:28 +08:00
Daniel Liu
4ec6e8cd58
cmd, node, p2p: implement whitelist and blacklist for peers ( #1331 )
2025-08-20 15:14:56 +08:00
Daniel Liu
390ea247d3
cmd/XDC: fixes db unavailability for chain commands #21415 ( #1204 )
2025-07-28 16:56:37 +08:00
Daniel Liu
618a8dd247
core, cmd: streaming json output for command #15475 ( #1184 )
2025-07-11 09:29:13 +08:00
JukLee0ira
1c5b5ea883
node: remove unused error return from Attach #27450 ( #1155 )
2025-06-26 10:51:24 +08:00
JukLee0ira
b15a8ac67e
cmd/geth: accountcmd no need to acquire the datadir lock #27084 ( #1154 )
2025-06-26 10:50:28 +08:00
JukLee0ira
afa3a4ea5c
cmd, internal/ethapi: avoid panic if keystore is not available #27039 ( #1157 )
2025-06-26 09:14:41 +08:00
JukLee0ira
16f41238b8
cmd, console, node : deprecate personal namespace #26390 ( #1153 )
2025-06-25 17:57:33 +08:00
Daniel Liu
93c2745b7b
all: disable recording preimage of trie keys #21402 ( #1054 )
2025-06-17 13:10:47 +08:00
Daniel Liu
ae70b5dc14
cmd: disable prefetch next block state by default, fix #997 ( #1025 )
2025-06-06 17:23:12 +08:00
Daniel Liu
aa7c8644c3
all: fix tests on 32-bit and windows + minor rpc fixes #21871 ( #1055 )
2025-06-03 11:47:11 +08:00
JukLee0ira
fe422720f3
cmd, node: implement --authrpc-vhosts flag #24506 ( #1028 )
2025-05-08 11:13:44 +08:00
Daniel Liu
c75623ace7
rpc: add limit for batch request and response size #26681 ( #998 )
2025-04-28 17:00:30 +08:00
Daniel Liu
1d3e5cb455
core: prefetch next block state concurrently #19328
2025-04-28 16:57:56 +08:00
JukLee0ira
80547a50d9
cmd/geth: make authrpc listening address settable from cli #24522 ( #994 )
2025-04-27 19:55:03 +08:00
JukLee0ira
230a2f09ba
cmd/geth, node, rpc: implement jwt tokens #24364 ( #993 )
...
* cmd/geth, node, rpc: implement jwt tokens #24364
* fix
2025-04-27 18:17:09 +08:00
JukLee0ira
b4308ba733
internal/ethapi: disable sending of non eip155 replay protected tx #22339 ( #971 )
...
* internal/ethapi: disable sending of non eip155 replay protected tx #22339
* eth: optimize the initialization logic of EthAPIBackend
* fix
2025-04-25 11:55:52 +08:00
Daniel Liu
2ce0a220a2
cmd, node, rpc: add ReadHeaderTimeout config option #25338 ( #972 )
2025-04-24 19:01:11 +08:00
Daniel Liu
fb300a43fb
cmd/XDC, cmd/utils: set network flag early ( #938 )
...
* cmd/XDC: remove unused function applyValues
* cmd/XDC, cmd/utils: remove function SetupNetwork
* cmd/XDC, cmd/utils: set network flag early
2025-04-24 18:09:59 +08:00
JukLee0ira
10dd75e82f
node: serve JSON-RPC on custom path prefix #22184 ( #952 )
2025-04-24 11:34:26 +08:00
Daniel Liu
b9a6c8c32d
cmd, core, eth, trie: add trie read caching layer ( #18087 ) ( #946 )
2025-04-16 17:27:43 +08:00
JukLee0ira
b1e08e6642
all: refactor package node #21105 ( #923 )
2025-04-10 18:52:49 +08:00
Daniel Liu
a4c7d7f458
all: clean duplicate constants in package common
2025-04-07 16:43:01 +08:00
Daniel Liu
5fff93dd01
cmd: group network and database flags together
2025-03-20 10:37:01 +08:00