aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/keystore
Commit message (Collapse)AuthorAgeFilesLines
* accounts/keystore: delete the redundant keystore in filename (#17930)Wenbiao Zheng2018-11-298-4/+18
| | | | | | * accounts/keystore: reduce file name length * accounts/keystore: reduce code line width
* cmd/clef: encrypt the master seed on disk (#17704)Martin Holst Swende2018-10-092-34/+46
| | | | | | | | | | | | | | * 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
* accounts/keystore: double-check keystore file after creation (#17348)Martin Holst Swende2018-09-204-10/+41
|
* accounts/keystore: rename skipKeyFile to nonKeyFile to better reveal the ↵Roc Yu2018-08-031-4/+4
| | | | function purpose (#17290)
* crypto/secp256k1: remove external LGPL dependencies (#17239)Péter Szilágyi2018-07-261-5/+12
|
* all: switch out defunct set library to different one (#16873)Ralph Caraveo III2018-07-162-15/+15
| | | | | | * keystore, ethash, eth, miner, rpc, whisperv6: tech debt with now defunct set. * whisperv5: swap out gopkg.in/fatih/set.v0 with supported set
* accounts/keystore: assign schema as const instead of var (#16985)Wenbiao Zheng2018-06-141-1/+1
|
* accounts: changed if-else blocks to conform with golint (#16654)GagziW2018-05-032-4/+2
|
* accounts/keystore: Improved error messageArmin2017-12-181-0/+3
| | | | * Fix for #15668
* Merge pull request #15498 from nonsense/account_cache_modtime_test_fixPéter Szilágyi2017-11-241-1/+11
|\ | | | | accounts/keystore: change modtime for test case files to be bigger than 1sec.
| * accounts/keystore: comments above time.SleepAnton Evangelatov2017-11-161-0/+3
| |
| * accounts/keystore: change modtime for test cases to be bigger than 1sec.Anton Evangelatov2017-11-161-1/+8
| |
* | cmd/geth: make geth account new faster with many keys (#15529)Martin Holst Swende2017-11-211-0/+7
| |
* | accounts/keystore: Ignore initial trigger of rescan-eventMartin Holst Swende2017-11-201-1/+5
| |
* | accounts/keystore: lock file cache during scan, minor polishPéter Szilágyi2017-11-202-91/+124
|/
* accounts/keystore: scan key directory without locks held (#15171)Martin Holst Swende2017-10-094-102/+297
| | | | | | The accountCache contains a file cache, and remembers from scan to scan what files were present earlier. Thus, whenever there's a change, the scan phase only bothers processing new and removed files.
* accounts: refactor API for generalized USB walletsPéter Szilágyi2017-08-091-5/+5
|
* accounts, console, internal: support trezor hardware walletPéter Szilágyi2017-08-092-7/+7
|
* accounts: fix megacheck warnings (#14903)Egon Elbre2017-08-072-10/+2
| | | | | | * accounts: fix megacheck warnings * accounts: don't modify abi in favor of full cleanup
* tests: update tests and implement general state tests (#14734)Felix Lange2017-07-111-4/+17
| | | | | | | | | | | | | | Tests are now included as a submodule. This should make updating easier and removes ~60MB of JSON data from the working copy. State tests are replaced by General State Tests, which run the same test with multiple fork configurations. With the new test runner, consensus tests are run as subtests by walking json files. Many hex issues have been fixed upstream since the last update and most custom parsing code is replaced by existing JSON hex types. Tests can now be marked as 'expected failures', ensuring that fixes for those tests will trigger an update to test configuration. The new test runner also supports parallel execution and the -short flag.
* accounts/keystore, crypto: don't enforce key checks on existing keyfilesPéter Szilágyi2017-06-012-8/+4
|
* accounts/keystore, crypto: enforce 256 bit keys on importPéter Szilágyi2017-05-235-7/+11
|
* all: update license informationFelix Lange2017-04-144-4/+4
|
* Merge pull request #3723 from karalabe/logger-updates-2Péter Szilágyi2017-02-281-1/+1
|\ | | | | Logger updates
| * all: next batch of log polishes to contextual versionsPéter Szilágyi2017-02-281-1/+1
| |
* | all: unify big.Int zero checks, use common/math in more places (#3716)Felix Lange2017-02-281-2/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | * common/math: optimize PaddedBigBytes, use it more name old time/op new time/op delta PaddedBigBytes-8 71.1ns ± 5% 46.1ns ± 1% -35.15% (p=0.000 n=20+19) name old alloc/op new alloc/op delta PaddedBigBytes-8 48.0B ± 0% 32.0B ± 0% -33.33% (p=0.000 n=20+20) * all: unify big.Int zero checks Various checks were in use. This commit replaces them all with Int.Sign, which is cheaper and less code. eg templates: func before(x *big.Int) bool { return x.BitLen() == 0 } func after(x *big.Int) bool { return x.Sign() == 0 } func before(x *big.Int) bool { return x.BitLen() > 0 } func after(x *big.Int) bool { return x.Sign() != 0 } func before(x *big.Int) int { return x.Cmp(common.Big0) } func after(x *big.Int) int { return x.Sign() } * common/math, crypto/secp256k1: make ReadBits public in package math
* accounts, eth/downloader: use "err" instead of "error" in logsPéter Szilágyi2017-02-272-4/+4
|
* accounts, cmd: port packages over to the new logging systemPéter Szilágyi2017-02-232-12/+14
|
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-232-14/+13
|
* crypto: add btcec fallback for sign/recover without cgo (#3680)Felix Lange2017-02-181-3/+2
| | | | | | | | | | | * vendor: add github.com/btcsuite/btcd/btcec * crypto: add btcec fallback for sign/recover without cgo This commit adds a non-cgo fallback implementation of secp256k1 operations. * crypto, core/vm: remove wrappers for sha256, ripemd160
* accounts: ledger and HD review fixesPéter Szilágyi2017-02-133-26/+2
| | | | | | | | | - Handle a data race where a Ledger drops between list and open - Prolong Ledger tx confirmation window to 30 days from 1 minute - Simplify Ledger chainid-signature calculation and validation - Simplify Ledger USB APDU request chunking algorithm - Silence keystore account cache notifications for manual actions - Only enable self derivations if wallet open succeeds
* accounts, cmd, internal, node: implement HD wallet self-derivationPéter Szilágyi2017-02-131-1/+6
|
* accounts, cmd, internal, mobile, node: canonical account URLsPéter Szilágyi2017-02-138-66/+68
|
* accounts, cmd, eth, internal, miner, node: wallets and HD APIsPéter Szilágyi2017-02-137-66/+519
|
* accounts, cmd, eth, internal, mobile, node: split account backendsPéter Szilágyi2017-02-1329-0/+2488