Daniel Liu
4768d00e1e
eth/filters, cmd: add config of eth_getLogs address limit #33320 #32327 ( #1961 )
...
* eth/filters: change error code for invalid parameter errors #33320
* eth/filters, cmd: add config of eth_getLogs address limit #32327
2026-01-29 11:26:45 +05:30
Daniel Liu
df83610a30
cmd: fix flag variable name ( #1958 )
2026-01-19 14:05:55 +05:30
Daniel Liu
3e68f0e1d8
cmd/utils, eth: rename ApiBackend to APIBackend ( #1955 )
2026-01-16 17:27:48 +05:30
Daniel Liu
b3d354a897
all: move main transaction pool into a subpool #27463 ( #1890 )
2026-01-05 15:43:50 +05:30
Daniel Liu
aa8c43caf3
core/txpool: make tx validation reusable across packages/pools #27429 ( #1873 )
2025-12-23 16:28:30 +05:30
wit liu
a83c43f240
all: use 0x-prefix string for type Address in log message ( #1874 )
2025-12-19 08:55:21 +04:00
Daniel Liu
999ded17da
all: change chain head markers from block to header #26777 ( #1846 )
2025-12-16 07:36:51 +04:00
wit liu
07c6262d42
cmd/utils: fix handling of boolean flags when they are set to false #33338 ( #1859 )
2025-12-12 16:55:21 +05:30
Daniel Liu
01b8fce6e3
cmd/utils, internal/flags: deprecate flag XDCx-dbName and XDCx.dbName ( #1823 )
2025-12-08 15:05:25 +05:30
Daniel Liu
8eb5fa7666
cmd: remove slave mode and flag XDCSlaveModeFlag ( #1824 )
2025-12-08 12:53:05 +05:30
Daniel Liu
c922f26d0c
all: replace strings.Split with more efficient strings.SplitSeq ( #1698 )
2025-12-07 15:42:23 +05:30
wit liu
fd78323211
cmd/utils: deprecate flag enable-0x-prefix ( #1829 )
2025-12-07 15:36:52 +05:30
wit liu
fac866138b
cmd/utils: fix disabling cache preimages through config file #33330 ( #1837 )
2025-12-04 10:32:10 +05:30
Daniel Liu
b2664ec363
cmd, core, eth: disable prefetch by default, fix #1718 ( #1719 )
2025-11-16 11:22:48 +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
4716dc11af
cmd, internal: move func CheckExclusive() to package flags #31189 ( #1747 )
2025-11-15 16:47:38 +05:30
wit liu
6a1fa08d02
all: refactor to use builtin max/min #32694 ( #1596 )
2025-10-08 12:52:22 +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
294591e67e
all: remove duplicate word in comments ( #1570 )
2025-09-24 07:57:33 +08:00
Daniel Liu
6c73723f47
cmd, console: drop geth js command #25000 ( #1534 )
2025-09-24 07:47:21 +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
af69d382ff
eth/tracers: various fixes #30540 ( #1491 )
...
Breaking changes:
- The ChainConfig was exposed to tracers via VMContext passed in
`OnTxStart`. This is unnecessary specially looking through the lens of
live tracers as chain config remains the same throughout the lifetime of
the program. It was there so that native API-invoked tracers could
access it. So instead we moved it to the constructor of API tracers.
Non-breaking:
- Change the default config of the tracers to be `{}` instead of nil.
This way an extra nil check can be avoided.
Refactoring:
- Rename `supply` struct to `supplyTracer`.
- Un-export some hook definitions.
Co-authored-by: Sina M <1591639+s1na@users.noreply.github.com>
2025-09-17 09:04:38 +08:00
wit liu
99e2885b03
all: fix misspell ( #1510 )
...
Co-authored-by: wit <wit765765346@gmail>
2025-09-17 08:27:52 +08:00
Daniel Liu
c9f2b73861
cmd, eth: rename config and flag to VMTraceJsonConfig #29573 ( #1490 )
2025-09-13 10:52:31 +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
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
36374be05f
eth/tracers: move tracing APIs into eth/tracers #22161 #22473 ( #1252 )
2025-08-08 10:25:43 +08:00
Daniel Liu
34a245fbc8
all: use common.FileExist for checking file existence #24748 ( #1212 )
2025-07-11 10:42:51 +08:00
Daniel Liu
618a8dd247
core, cmd: streaming json output for command #15475 ( #1184 )
2025-07-11 09:29:13 +08:00
JukLee0ira
b413f71763
all: remove personal RPC namespace #30704 ( #1180 )
2025-07-02 09:11:58 +08:00
JukLee0ira
16f41238b8
cmd, console, node : deprecate personal namespace #26390 ( #1153 )
2025-06-25 17:57:33 +08:00
Daniel Liu
10c7e1d775
ccid, cmd: disable personal module by default ( #1148 )
2025-06-25 16:58:46 +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
JukLee0ira
c145287e87
node: allow JWT pass by file only #24579 ( #1035 )
2025-05-16 12:01:36 +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