aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/testdata/keystore/README
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-03-18 08:35:03 +0800
committerFelix Lange <fjl@twurst.com>2016-04-12 21:58:07 +0800
commitee1682ffe6728618cc4458f3923a4c46fff64d98 (patch)
treecaec157398877dd792223a487f527fe8ce5076ad /accounts/testdata/keystore/README
parent6cb08d8328a242a8def4d432904b1c112ebd823f (diff)
downloadgo-tangerine-ee1682ffe6728618cc4458f3923a4c46fff64d98.tar
go-tangerine-ee1682ffe6728618cc4458f3923a4c46fff64d98.tar.gz
go-tangerine-ee1682ffe6728618cc4458f3923a4c46fff64d98.tar.bz2
go-tangerine-ee1682ffe6728618cc4458f3923a4c46fff64d98.tar.lz
go-tangerine-ee1682ffe6728618cc4458f3923a4c46fff64d98.tar.xz
go-tangerine-ee1682ffe6728618cc4458f3923a4c46fff64d98.tar.zst
go-tangerine-ee1682ffe6728618cc4458f3923a4c46fff64d98.zip
cmd/geth: add tests for account commands
Diffstat (limited to 'accounts/testdata/keystore/README')
-rw-r--r--accounts/testdata/keystore/README21
1 files changed, 21 insertions, 0 deletions
diff --git a/accounts/testdata/keystore/README b/accounts/testdata/keystore/README
new file mode 100644
index 000000000..5d52f55e0
--- /dev/null
+++ b/accounts/testdata/keystore/README
@@ -0,0 +1,21 @@
+This directory contains accounts for testing.
+The passphrase that unlocks them is "foobar".
+
+The "good" key files which are supposed to be loadable are:
+
+- File: UTC--2016-03-22T12-57-55.920751759Z--7ef5a6135f1fd6a02593eedc869c6d41d934aef8
+ Address: 0x7ef5a6135f1fd6a02593eedc869c6d41d934aef8
+- File: UTC--2016-03-23T09-30-22.528630983Z--f466859ead1932d743d622cb74fc058882e8648a
+ Address: 0xf466859ead1932d743d622cb74fc058882e8648a
+- File: UTC--2016-03-23T09-30-26.532308523Z--289d485d9771714cce91d3393d764e1311907acc
+ Address: 0x289d485d9771714cce91d3393d764e1311907acc
+
+The other files (including this README) are broken in various ways
+and should not be picked up by package accounts:
+
+- File: no-address (missing address field, otherwise same as "aaa")
+- File: garbage (file with random data)
+- File: empty (file with no content)
+- File: swapfile~ (should be skipped)
+- File: .hiddenfile (should be skipped)
+- File: foo/... (should be skipped because it is a directory)