Daniel Liu
d8fd0923a9
refactor(miner): polish miner configuration #19480 ( #2135 )
...
Miner configuration is unified under [Eth.Miner] (GasCeil/GasPrice/Etherbase/ExtraData), replacing legacy top-level [Eth] miner keys.
Operational impact: existing config files using [Eth].GasPrice/[Eth].Etherbase/[Eth].ExtraData must be migrated before upgrade.
Behavior update: gasprice=0 remains valid; only negative gas prices are sanitized at startup.
Default change: XDCGenesisGasLimit is reduced to 42,000,000 and now feeds miner default GasCeil (including default --miner-gaslimit), so nodes relying on defaults should review capacity expectations.
2026-03-10 18:51:36 +05:30
Daniel Liu
bef85ec37b
console/prompt: use PromptInput in PromptConfirm method #33445 ( #1953 )
...
Co-authored-by: oooLowNeoNooo <ooolowneonooo@gmail.com>
2026-01-19 12:15:27 +05:30
Daniel Liu
eaaeea0cad
all: use slices.Sort() to sort strings ( #1712 )
2025-12-07 15:49:13 +05:30
Daniel Liu
ec08863ba0
all: use WaigGroup.Go() to simplify code ( #1699 )
2025-11-29 17:17:08 +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
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
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
473b22bd55
console: handle undefined + null in console funcs #21160 ( #1525 )
2025-09-24 07:45:57 +08:00
Daniel Liu
1156e7ca0c
console: fix the wrong error msg of datadir testcase #29183 ( #1540 )
2025-09-21 19:37:32 +08:00
Daniel Liu
4ca4c854ad
console: add cleanup to avoid leaks in newTester #27695 ( #1539 )
2025-09-21 19:36:43 +08:00
Daniel Liu
72b932acbf
console: use default APIs when server doesn't have rpc_modules #26267 ( #1537 )
2025-09-21 19:36:04 +08:00
Daniel Liu
de00ee9ba3
console: fix some typos #25551 ( #1536 )
2025-09-21 19:35:28 +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
cb077e7ea4
console: fix admin.sleepBlocks #21629 ( #1528 )
...
Co-authored-by: Hanjiang Yu <delacroix.yu@gmail.com>
2025-09-21 19:00:55 +08:00
Daniel Liu
1b5bc181f3
console: prevent importRawKey from getting into CLI history #21279 ( #1526 )
2025-09-21 19:00:14 +08:00
Daniel Liu
5ad87e559f
cmd, console: password input fixes #20960 ( #1524 )
2025-09-21 18:59:34 +08:00
Daniel Liu
94a85f4162
console: fix some goja-related crashes/errors in the bridge #21050 ( #1522 )
2025-09-21 18:58:28 +08:00
wit liu
590cbafae9
all: fix goimports ( #1521 )
...
Co-authored-by: wit <wit765765346@gmail>
2025-09-21 18:57:54 +08:00
Daniel Liu
395071e9f6
console: fix inconsequential goroutine leak #20667 ( #1520 )
2025-09-21 18:56:56 +08:00
Daniel Liu
6f36533962
all: remove ethash pow 27178 ( #1378 )
2025-08-26 11:54:01 +08:00
Daniel Liu
ae58eb9f64
go.mod: upgrade goja #23721 ( #1281 )
2025-08-04 11:57:13 +08:00
JukLee0ira
b413f71763
all: remove personal RPC namespace #30704 ( #1180 )
2025-07-02 09:11:58 +08:00
JukLee0ira
1c5b5ea883
node: remove unused error return from Attach #27450 ( #1155 )
2025-06-26 10:51:24 +08:00
JukLee0ira
16f41238b8
cmd, console, node : deprecate personal namespace #26390 ( #1153 )
2025-06-25 17:57:33 +08:00
JukLee0ira
a74b87307c
all: use strings.EqualFold for string comparison #24890 ( #1134 )
2025-06-23 16:00:32 +08:00
Daniel Liu
1f430bcbb1
console: handle eth.coinbase throws #19374 ( #953 )
...
* rpc: implement full bi-directional communication #18471
* console: handle eth.coinbase throws #19374
* rpc: remove extra debug log message
* rpc: add go:build lines #23468
2025-04-24 18:11:48 +08:00
JukLee0ira
b1e08e6642
all: refactor package node #21105 ( #923 )
2025-04-10 18:52:49 +08:00
Daniel Liu
468babfc3e
console, internal/jsre: fix autocomplete issues ( #26518 )
2025-04-07 16:38:42 +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
593fe53519
internal/ethapi: return revert reason for eth_call ( #21083 )
2025-01-24 16:18:29 +08:00
Daniel Liu
67fe815714
console: squash golint warnings ( #16836 )
2025-01-24 16:18:28 +08:00
Daniel Liu
002fac8b14
all: remove the duplicate 'the' in annotations ( #17509 )
2025-01-24 16:18:28 +08:00
Daniel Liu
ffbe4f5080
all: migrate go-bindata to embed ( #24744 )
2025-01-22 17:03:47 +08:00
JukLee0ira
6f9fb9d1da
node, p2p/simulations: fix node.Node AccountsManager leak ( #19004 )
2024-11-25 16:33:26 +08:00
Daniel Liu
a79411fa06
all: fix staticcheck warning ST1005: incorrectly formatted error string
2024-10-24 09:48:20 +08:00
Daniel Liu
1521b8a663
eth: move eth.Config to a common package ( #22205 )
2024-06-20 15:52:32 +08:00
JukLee0ira
2d89951e5b
all: use errrors.New instead of empty fmt.Errorf
2024-06-14 19:19:21 +08:00
Wanwiset Peerapatanapokin
aaa246f60e
PDF-01 ( #397 )
...
* replace deprecated ioutil lib calls
* fix for FileInfo type required
* fix for ioutil.Discard
* fix .Discard
* fix for go-bindata generated files
2024-01-19 15:05:03 +04:00
Wang Gerui
5cfa0ea8bf
fix error during cherry-picking
2023-11-02 00:59:16 +08:00
Guillaume Ballet
6743853dca
console, internal/jsre: use github.com/dop251/goja ( #20470 )
...
This replaces the JavaScript interpreter used by the console with goja,
which is actively maintained and a lot faster than otto. Clef still uses otto
and eth/tracers still uses duktape, so we are currently dependent on three
different JS interpreters. We're looking to replace the remaining uses of otto
soon though.
2023-11-02 00:43:55 +08:00
olumuyiwadad
b5abbfed79
new EVM Upgrade
...
- Solidity Upgraded up to v0.8.0
- Fixed and Added eth_chainId
- Fix error in TransactionRecipet
- Reward halving issue fixed
2021-09-21 16:53:46 +05:30
olumuyiwadad
571c41f891
FIx Bad block error.
2021-09-17 17:59:06 +05:30
dev-vadim
dbe8c9d984
upgrade XDC.Network with v1.8.27.
2020-12-23 16:32:06 +05:30
diglspacedavid
474cc37036
upgrade codebase with ethereum:v1.8.13
2020-11-23 13:40:30 +05:30
AnilChinchawale
a638d2adc0
Minor error fixed.
2019-03-16 16:02:10 +05:30
AnilChinchawale
b15708af5b
Changes added console.
2019-01-09 08:33:22 +05:30
AnilChinchawale
da52e3163e
get blocksigner from cached
2018-11-27 18:20:25 +05:30
Wenbiao Zheng
d1aa605f1e
all: remove the duplicate 'the' in annotations ( #17509 )
2018-08-27 11:49:29 +03:00
hackyminer
0fd02fe9cf
console: fixed comment typo
2018-08-18 07:47:10 +09:00