Daniel Liu
05e9dc0def
accounts/keystore: add missing function doc for SignText ( #21914 )
...
Co-authored-by: Pascal Dierich <pascal@pascaldierich.com>
2025-01-24 16:18:30 +08:00
Daniel Liu
25284155d8
accounts: remove redundant conversions and import names ( #21903 )
2025-01-24 16:18:30 +08:00
Daniel Liu
d02ba1db81
accounts/keystore: fix flaky test ( #21703 )
...
* accounts/keystore: add timeout to test to prevent failure on travis
The TestWalletNotifications test sporadically fails on travis.
This is because we shutdown the event collection before all events are received.
Adding a small timeout (10 milliseconds) allows the collector to be scheduled
and to consume all pending events before we shut it down.
* accounts/keystore: added newlines back in
* accounts/keystore: properly fix the walletNotifications test
2025-01-24 16:18:30 +08:00
Daniel Liu
d8c9ad3c9f
all: replace RWMutex with Mutex in places where RLock is not used ( #21622 )
2025-01-24 16:18:30 +08:00
Daniel Liu
9c5dff2554
accounts/keystore: fix typo in error message ( #21200 )
2025-01-24 16:18:29 +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
833c851361
accounts/keystore: fix staticcheck warnings ( #20373 )
...
* accounts/keystore: fix staticcheck warnings
* review feedback
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
07ebb5ef12
accounts/keystore: fix #19707 , avoid keyword as variable name ( #19731 )
2025-01-24 16:18:29 +08:00
Daniel Liu
00fbe17f2e
accounts/keystore: enable fallback for darwin,!cgo ( #19614 )
...
Without this, accounts/keystore fails to build for Darwin with
CGO_ENABLED=0.
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
4955476db4
accounts: prefer nil slices over zero-length slices ( #19079 )
2025-01-24 16:18:29 +08:00
Daniel Liu
43e6c8ecdc
accounts: implemented EIP191/712 ( #17789 )
2025-01-24 16:18:29 +08:00
Daniel Liu
07935ce124
accounts: support for external signer API ( #18079 )
2025-01-24 16:18:29 +08:00
Daniel Liu
fe14069bd7
accounts: support for external signer API ( #18079 )
2025-01-24 16:18:29 +08:00
Daniel Liu
a81fe22903
accounts/keystore: small code simplification ( #18394 )
2025-01-24 16:18:28 +08:00
Daniel Liu
e4adf8e4eb
accounts/keystore: fix comment typo ( #18395 )
2025-01-24 16:18:28 +08:00
Daniel Liu
f645cbc61d
accounts/keystore: delete the redundant keystore in filename ( #17930 )
...
* accounts/keystore: reduce file name length
* accounts/keystore: reduce code line width
2025-01-24 16:18:28 +08:00
Daniel Liu
c0acd9c3ad
accounts/keystore: encrypt the master seed on disk ( #17704 )
2025-01-24 16:18:28 +08:00
Daniel Liu
2154607a5f
accounts/keystore: double-check keystore file after creation ( #17348 )
2025-01-24 16:18:28 +08:00
Daniel Liu
165510daef
accounts/keystore: rename skipKeyFile to nonKeyFile to better reveal the function purpose ( #17290 )
2025-01-24 16:18:28 +08:00
Daniel Liu
ed67fd4200
crypto/secp256k1: remove external LGPL dependencies ( #17239 )
2025-01-24 16:18:28 +08:00
Daniel Liu
27725104b4
accounts/keystore: assign schema as const instead of var ( #16985 )
2025-01-24 16:18:28 +08:00
Daniel Liu
543900aed2
accounts: changed if-else blocks to conform with golint ( #16654 )
2025-01-24 16:18:28 +08:00
JukLee0ira
ae438bea69
accounts/keystore: fix xdc-prefix address bug ( #759 )
2025-01-23 15:23:45 +08:00
Daniel Liu
a79411fa06
all: fix staticcheck warning ST1005: incorrectly formatted error string
2024-10-24 09:48:20 +08:00
JukLee0ira
2d89951e5b
all: use errrors.New instead of empty fmt.Errorf
2024-06-14 19:19:21 +08:00
Daniel Liu
01e1728a94
all: add support for EIP-2718, EIP-2930 transactions ( #21502 )
2024-05-14 23:15:35 +08:00
Daniel Liu
f11bf739a2
fix panic caused by skipKeyFile ( #440 )
2024-02-23 14:11:42 +08:00
Banana-J
2504961a33
fix: replace all time.after with the time.newtimer ( #400 )
2024-01-27 21:01:24 +11: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
Jianrong
ce106abffe
fix tests related to consensus
2021-10-10 22:05:32 +11:00
olumuyiwadad
c0677f03cb
update test C-[a-m] tests.
2021-09-27 12:47:59 +05:30
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
Jianrong
d17f1fdd75
replace comment out tests with t.Skip()
2021-08-29 11:47:19 +10:00
Jianrong
2d92ccb59b
fix all XDCÐ tests and enable it in CI
2021-08-25 23:51:42 +10:00
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
239f9702ce
Change address in keystore
2019-03-17 16:13:27 +05:30
Jeremy Schlatter
aca588a8e4
accounts/keystore: small code simplification ( #18394 )
2019-01-07 10:35:44 +02:00
Jeremy Schlatter
072c95fb74
accounts/keystore: fix comment typo ( #18395 )
2019-01-05 21:27:57 +01:00
Wenbiao Zheng
32d35c9c08
accounts/keystore: delete the redundant keystore in filename ( #17930 )
...
* accounts/keystore: reduce file name length
* accounts/keystore: reduce code line width
2018-11-29 12:04:56 +02:00
Martin Holst Swende
d5c7a6056a
cmd/clef: encrypt the master seed on disk ( #17704 )
...
* cmd/clef: encrypt master seed of clef
Signed-off-by: YaoZengzeng <yaozengzeng@zju.edu.cn>
* keystore: refactor for external use of encryption
* clef: utilize keystore encryption, check flags correctly
* clef: validate master password
* clef: add json wrapping around encrypted master seed
2018-10-09 11:05:41 +02:00
Martin Holst Swende
6f004c46d5
accounts/keystore: double-check keystore file after creation ( #17348 )
2018-09-19 18:08:38 +02:00
Roc Yu
70176cda0e
accounts/keystore: rename skipKeyFile to nonKeyFile to better reveal the function purpose ( #17290 )
2018-08-03 10:25:17 +03:00
Péter Szilágyi
d9575e92fc
crypto/secp256k1: remove external LGPL dependencies ( #17239 )
2018-07-26 13:33:13 +02:00