Daniel Liu
a4c7d7f458
all: clean duplicate constants in package common
2025-04-07 16:43:01 +08:00
Daniel Liu
7198179c2a
cmd, trie: remove cmd/gc and hide some types in trie
2025-04-01 16:34:35 +08:00
Daniel Liu
5fff93dd01
cmd: group network and database flags together
2025-03-20 10:37:01 +08:00
Daniel Liu
ccf8ff2e64
cmd/utils, eth/ethconfig: remove flag docroot
2025-03-19 15:32:57 +08:00
Daniel Liu
3837d0c2cc
core, cmd/XDC: fix wrong hash caused by EIP-1559 number when init genesis
2025-03-13 16:55:09 +08:00
Daniel Liu
8efa0c0a29
cmd/XDC: improve init genesis
2025-03-13 11:17:56 +08:00
Daniel Liu
2f349da4bf
cmd: remove deprecated lightchaindata db ( #30527 )
2025-03-10 15:40:08 +08:00
Daniel Liu
66e73ad32e
cmd, les: remove light client code ( #28586 )
2025-03-10 15:40:07 +08:00
Daniel Liu
8b7eebf0cb
cmd/utils: handle err which returned from eth.New to fix panic
2025-03-01 16:07:01 +08:00
Daniel Liu
588dcd35ce
cmd, common, core, eth: optimize rollback by flag
2025-03-01 11:34:32 +08:00
Daniel Liu
77f577a388
cmd/utils: not set Etherbase when flag --unlock is set
2025-02-21 15:59:09 +08:00
Daniel Liu
92bc30bc37
cmd: remove deprecated flags --fast and --light
2025-02-21 15:35:09 +08:00
Daniel Liu
7017077508
cmd/XDC, core/rawdb: add db command inspect
2025-02-21 15:32:35 +08:00
Daniel Liu
98cff5d6c2
all: remove network rinkeby
2025-02-19 15:52:29 +08:00
Daniel Liu
54b4be1aa2
cmd, core: add flag mainet and devnet
2025-02-19 14:24:20 +08:00
Daniel Liu
1d653e57ab
cmd, core: merge flags testnet and apothem
2025-02-19 14:24:20 +08:00
Daniel Liu
0284a8dab0
cmd/utils: disable kzg4844
2025-02-19 14:19:35 +08:00
Daniel Liu
2a2711ad64
cmd, common, eth: copy constants after get chain id
2025-02-18 15:16:55 +08:00
Daniel Liu
2fb9e99ba3
cmd: use slices.Concat instead of GroupFlags
2025-02-17 15:06:52 +08:00
Daniel Liu
9b77577dc5
params: update bootnodes
2025-02-17 09:53:38 +08:00
Daniel Liu
bea5c95a7c
cmd/utils: change default value of some flags to simplify sync
2025-02-17 09:36:14 +08:00
Daniel Liu
7ea30d6b29
cmd/utils: deprecate flag --XDCx-datadir
2025-02-17 09:30:30 +08:00
Daniel Liu
b50c4a29f6
cmd: deprecate flag --mine
2025-02-17 09:19:13 +08:00
Daniel Liu
4656718f0c
Merge pull request #849 from gzliudan/init_genesis
...
cmd/XDC: remove genesis file dependency for `XDC init` command
2025-02-17 09:16:43 +08:00
Daniel Liu
cfc8cca674
common: refactor constants
2025-02-17 09:13:40 +08:00
Daniel Liu
d304a24edc
cmd/XDC: remove genesis file dependency for XDC init command
2025-02-13 12:46:54 +08:00
Daniel Liu
d8fb27b987
all: clean up and properly abstract database accesses ( #19021 )
2025-02-11 18:28:50 +08:00
Daniel Liu
ebb2c3b2ea
all: new empty trie with types.EmptyRootHash instead of null ( #27230 )
2025-02-07 13:04:45 +08:00
Daniel Liu
3f58066879
all: remove debug field from vm config ( #27048 )
2025-02-05 18:16:17 +08:00
Daniel Liu
b6f3007af1
core: move genesis alloc types to core/types ( #29003 )
2025-01-24 16:54:12 +08:00
Daniel Liu
4d07efe6b6
cdm/abigen: run tests in parallel ( #28546 )
2025-01-24 16:54:12 +08:00
Daniel Liu
06394ca3c8
cmd/abigen: change --exc to exclude by type name ( #22620 )
...
The abigen exclusion pattern, previously on the form "path:type", now supports wildcards. Examples "*:type" to exclude a named type in all files, or "/path/to/foo.sol:*" all types in foo.sol.
2025-01-24 16:54:11 +08:00
Daniel Liu
fde9a7e270
cmd/abigen: redefine appp ( #25851 )
2025-01-24 16:54:11 +08:00
Daniel Liu
13eef32998
accounts/abi/bind: fix duplicate field names in the generated go struct ( #24924 )
...
* accounts/abi/bind: fix duplicate field names in the generated go struct #24627
* accounts, cmd/abigen: resolve name conflicts
* ci lint, accounts/abi: remove unused function overloadedArgName
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2025-01-24 16:54:11 +08:00
Daniel Liu
c4308f0fbc
cmd/abigen: accept combined-json via stdin ( #24960 )
2025-01-24 16:54:11 +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
f74eacd2cd
node: remove dependency on wallet backend packages ( #23019 )
...
* accounts: new AddBackends method in manager
* node,cmd/geth: mv accman backend init to cmd/geth
* node,cmd/geth: mv scrypt config downstreawm from node
* accounts: use static buffer size for accman sub chan
minor fix
* accounts,cmd/geth: update accman backends through its event loop
* accounts,node: add comments
* accounts: un-export newBackendEvent
* accounts: use chan instead of wg in newBlockEvent
* node: rename isKeyDirEphem
* accounts,cmd: AddBackends->AddBackend
* accounts: fix potential blocking when adding backend
2025-01-24 16:18:30 +08:00
Daniel Liu
e33909649b
cmd/utils: don't enumerate usb when --usb isn't set ( #22130 )
2025-01-24 16:18:30 +08:00
Daniel Liu
c75ba99267
accounts/keystore: use github.com/google/uuid ( #22217 )
...
This replaces the github.com/pborman/uuid dependency with
github.com/google/uuid because the former is only a wrapper for
the latter (since v1.0.0).
Co-authored-by: Felix Lange <fjl@twurst.com>
2025-01-24 16:18:30 +08:00
Daniel Liu
f87376535d
cmd/abigen: clarify abigen alias flag usage ( #21875 )
...
* doc: clarify abigen alias flag usage
update the `abigen --alias` flag help info, give an example to make it more clear
related issue: https://github.com/ethereum/go-ethereum/issues/21846
* Update cmd/abigen/main.go
Co-authored-by: ligi <ligi@ligi.de>
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: ligi <ligi@ligi.de>
2025-01-24 16:18:30 +08:00
Daniel Liu
5e3755c46a
accounts/keystore, cmd/faucet: return old account to allow unlock ( #21173 )
2025-01-24 16:18:29 +08:00
Daniel Liu
d918e53c8a
acounts/keystore, cmd/faucet: fix faucet double import ( #21172 )
2025-01-24 16:18:29 +08:00
Daniel Liu
0d1cd42dc2
accounts/keystore: fix double import race ( #20915 )
...
* accounts/keystore: fix race in Import/ImportECDSA
* accounts/keystore: added import/export tests
* cmd/geth: improved TestAccountImport test
* accounts/keystore: added import/export tests
* accounts/keystore: fixed naming
* accounts/keystore: fixed typo
* accounts/keystore: use mutex instead of rwmutex
* accounts: use errors instead of fmt
2025-01-24 16:18:29 +08:00
Daniel Liu
3a320d2c6f
accounts/abi/bind, cmd/abigen: implement alias for abigen ( #20244 )
2025-01-24 16:18:29 +08:00
Daniel Liu
e90df44b43
accounts: replace passPHRASE with passWORD in any user interactions ( #19932 )
2025-01-24 16:18:29 +08:00
Daniel Liu
100ea1c8e0
accounts/scwallet: add a switch to specify path to sc daemon ( #19439 )
2025-01-24 16:18:29 +08:00
Daniel Liu
fa35614784
accounts, cmd: add note about backing up the keystore ( #19432 )
2025-01-24 16:18:29 +08:00
Daniel Liu
194a77505f
accounts: switch Ledger derivation path to canonical one ( #19438 )
2025-01-24 16:18:29 +08:00
Daniel Liu
4224367396
cmd/XDC: add db commands: stats, compact, put, get, delete ( #22014 )
2025-01-24 15:32:08 +08:00
Daniel Liu
1ff36996c0
cmd/XDC: delete copydb command
2025-01-24 14:41:28 +08:00