plugeth/accounts/keystore
Marius van der Wijden 146e8d999c
core, trie, rpc: speed up tests (#28461)
* rpc: make subscription test faster

reduces time for TestClientSubscriptionChannelClose
from 25 sec to < 1 sec.

* trie: cache trie nodes for faster sanity check

This reduces the time spent on TestIncompleteSyncHash
from ~25s to ~16s.

* core/forkid: speed up validation test

This takes the validation test from > 5s to sub 1 sec

* core/state: improve snapshot test run
brings the time for TestSnapshotRandom from 13s down to 6s

* accounts/keystore: improve keyfile test

This removes some unnecessary waits and reduces the
runtime of TestUpdatedKeyfileContents from 5 to 3 seconds

* trie: remove resolver
* trie: only check ~5% of all trie nodes
2023-11-21 12:19:28 +01:00
..
testdata all: replace passPHRASE with passWORD in user interactions (#19932) 2019-08-12 12:00:38 +03:00
account_cache_test.go core, trie, rpc: speed up tests (#28461) 2023-11-21 12:19:28 +01:00
account_cache.go all: update golang/x/ext and fix slice sorting fallout (#27909) 2023-08-12 00:04:12 +02:00
file_cache.go all: use github.com/deckarep/golang-set/v2 (generic set) (#26159) 2022-11-14 15:16:52 +01:00
key.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
keystore_fuzzing_test.go tests/fuzzers: move fuzzers into native packages (#28467) 2023-11-14 14:34:29 +01:00
keystore_test.go accounts: use atomic type (#27857) 2023-08-07 03:11:50 -04:00
keystore.go accounts/keystore: faster tests (#25827) 2022-10-12 10:53:01 +02:00
passphrase_test.go accounts, cmd: fix typos (#28526) 2023-11-20 08:44:05 +01:00
passphrase.go accounts/keystore: handle error for invalid key in DecryptKey (#27432) 2023-06-07 15:10:42 +02:00
plain_test.go all: use T.TempDir to create temporary test directories (#24633) 2022-04-08 15:44:55 +02:00
plain.go accounts/keystore: delete the redundant keystore in filename (#17930) 2018-11-29 12:04:56 +02:00
presale.go accounts/keystore: use github.com/google/uuid (#22217) 2021-02-26 15:28:34 +01:00
wallet.go accounts/keystore: add missing function doc for SignText (#21914) 2020-11-30 09:03:24 +01:00
watch_fallback.go accounts/keystore: faster tests (#25827) 2022-10-12 10:53:01 +02:00
watch.go accounts, cmd: fix typos (#28526) 2023-11-20 08:44:05 +01:00