plugeth/signer/core
Joseph Cook 6685f88455
cmd/clef: only print first N accounts on startup (#26128)
PR #26082 added account listing to OnSignerStartup but did not consider the case where a user has a large number of accounts which would be annoying to display.

This PR updates showAccounts() so that if there are more than 20 accounts available the user sees the first 20 displayed in the console followed by: First 20 accounts listed (N more available).

Co-authored-by: Martin Holst Swende <martin@swende.se>
2022-11-08 21:17:12 +01:00
..
apitypes signer/core/apitypes: support more input types for eip-712 encoding (#26074) 2022-11-04 16:28:12 +01:00
testdata core/signer, clef: improve ui-test flow, fix errors in uint handling (#19584) 2019-06-03 16:56:05 +02:00
api_test.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
api.go all: fix spelling mistakes (#25961) 2022-10-11 09:37:00 +02:00
auditlog.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00
cliui.go cmd/clef: only print first N accounts on startup (#26128) 2022-11-08 21:17:12 +01:00
gnosis_safe.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
signed_data_test.go all: replace non-trivial uses of package ioutil with os (#24886) 2022-05-17 14:27:04 +02:00
signed_data.go signer/core: add canonical TypedData hashing methods (#25283) 2022-07-22 09:53:35 +02:00
stdioui.go tests, signer: remove staticcheck warnings (#20364) 2019-11-23 12:51:37 +01:00
uiapi.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
validation_test.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00
validation.go all: fix some go-critic linter warnings (#23709) 2021-10-13 17:31:02 +02:00