Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | accounts/keystore: small code simplification (#18394) | Jeremy Schlatter | 2019-01-07 | 1 | -16/+4 |
| | |||||
* | accounts/keystore: fix comment typo (#18395) | Jeremy Schlatter | 2019-01-06 | 1 | -2/+2 |
| | |||||
* | accounts/keystore: delete the redundant keystore in filename (#17930) | Wenbiao Zheng | 2018-11-29 | 8 | -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 Swende | 2018-10-09 | 2 | -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 Swende | 2018-09-20 | 4 | -10/+41 |
| | |||||
* | accounts/keystore: rename skipKeyFile to nonKeyFile to better reveal the ↵ | Roc Yu | 2018-08-03 | 1 | -4/+4 |
| | | | | function purpose (#17290) | ||||
* | crypto/secp256k1: remove external LGPL dependencies (#17239) | Péter Szilágyi | 2018-07-26 | 1 | -5/+12 |
| | |||||
* | all: switch out defunct set library to different one (#16873) | Ralph Caraveo III | 2018-07-16 | 2 | -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 Zheng | 2018-06-14 | 1 | -1/+1 |
| | |||||
* | accounts: changed if-else blocks to conform with golint (#16654) | GagziW | 2018-05-03 | 2 | -4/+2 |
| | |||||
* | accounts/keystore: Improved error message | Armin | 2017-12-18 | 1 | -0/+3 |
| | | | | * Fix for #15668 | ||||
* | Merge pull request #15498 from nonsense/account_cache_modtime_test_fix | Péter Szilágyi | 2017-11-24 | 1 | -1/+11 |
|\ | | | | | accounts/keystore: change modtime for test case files to be bigger than 1sec. | ||||
| * | accounts/keystore: comments above time.Sleep | Anton Evangelatov | 2017-11-16 | 1 | -0/+3 |
| | | |||||
| * | accounts/keystore: change modtime for test cases to be bigger than 1sec. | Anton Evangelatov | 2017-11-16 | 1 | -1/+8 |
| | | |||||
* | | cmd/geth: make geth account new faster with many keys (#15529) | Martin Holst Swende | 2017-11-21 | 1 | -0/+7 |
| | | |||||
* | | accounts/keystore: Ignore initial trigger of rescan-event | Martin Holst Swende | 2017-11-20 | 1 | -1/+5 |
| | | |||||
* | | accounts/keystore: lock file cache during scan, minor polish | Péter Szilágyi | 2017-11-20 | 2 | -91/+124 |
|/ | |||||
* | accounts/keystore: scan key directory without locks held (#15171) | Martin Holst Swende | 2017-10-09 | 4 | -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 wallets | Péter Szilágyi | 2017-08-09 | 1 | -5/+5 |
| | |||||
* | accounts, console, internal: support trezor hardware wallet | Péter Szilágyi | 2017-08-09 | 2 | -7/+7 |
| | |||||
* | accounts: fix megacheck warnings (#14903) | Egon Elbre | 2017-08-07 | 2 | -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 Lange | 2017-07-11 | 1 | -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 keyfiles | Péter Szilágyi | 2017-06-01 | 2 | -8/+4 |
| | |||||
* | accounts/keystore, crypto: enforce 256 bit keys on import | Péter Szilágyi | 2017-05-23 | 5 | -7/+11 |
| | |||||
* | all: update license information | Felix Lange | 2017-04-14 | 4 | -4/+4 |
| | |||||
* | Merge pull request #3723 from karalabe/logger-updates-2 | Péter Szilágyi | 2017-02-28 | 1 | -1/+1 |
|\ | | | | | Logger updates | ||||
| * | all: next batch of log polishes to contextual versions | Péter Szilágyi | 2017-02-28 | 1 | -1/+1 |
| | | |||||
* | | all: unify big.Int zero checks, use common/math in more places (#3716) | Felix Lange | 2017-02-28 | 1 | -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 logs | Péter Szilágyi | 2017-02-27 | 2 | -4/+4 |
| | |||||
* | accounts, cmd: port packages over to the new logging system | Péter Szilágyi | 2017-02-23 | 2 | -12/+14 |
| | |||||
* | all: blidly swap out glog to our log15, logs need rework | Péter Szilágyi | 2017-02-23 | 2 | -14/+13 |
| | |||||
* | crypto: add btcec fallback for sign/recover without cgo (#3680) | Felix Lange | 2017-02-18 | 1 | -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 fixes | Péter Szilágyi | 2017-02-13 | 3 | -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-derivation | Péter Szilágyi | 2017-02-13 | 1 | -1/+6 |
| | |||||
* | accounts, cmd, internal, mobile, node: canonical account URLs | Péter Szilágyi | 2017-02-13 | 8 | -66/+68 |
| | |||||
* | accounts, cmd, eth, internal, miner, node: wallets and HD APIs | Péter Szilágyi | 2017-02-13 | 7 | -66/+519 |
| | |||||
* | accounts, cmd, eth, internal, mobile, node: split account backends | Péter Szilágyi | 2017-02-13 | 29 | -0/+2488 |