aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/usbwallet
Commit message (Collapse)AuthorAgeFilesLines
* Change import go github.com/dexon-foundation/dexonWei-Ning Huang2019-06-124-20/+20
|
* usbwallet: check returned error when decoding hexstr (#18056)Corey Lin2018-12-131-1/+3
| | | | | | | | | | * usbwallet: check returned error when decoding hexstr * Update accounts/usbwallet/ledger.go Co-Authored-By: CoreyLin <514971757@qq.com> * usbwallet: check hex decode error
* accounts/usbwallet: simplify code using -= operator (#17904)Evgeny2018-10-162-2/+2
|
* accounts/usbwallet: correct comment typo (#16998)Husam Ibrahim2018-06-191-1/+1
|
* accounts/usbwallet: correct comment typo (#17008)Husam Ibrahim2018-06-191-1/+1
|
* build: enable goimports and varcheck linters (#16446)thomasmodeneis2018-04-181-2/+0
|
* cmd/clef, signer: initial poc of the standalone signer (#16154)Martin Holst Swende2018-04-162-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * signer: introduce external signer command * cmd/signer, rpc: Implement new signer. Add info about remote user to Context * signer: refactored request/response, made use of urfave.cli * cmd/signer: Use common flags * cmd/signer: methods to validate calldata against abi * cmd/signer: work on abi parser * signer: add mutex around UI * cmd/signer: add json 4byte directory, remove passwords from api * cmd/signer: minor changes * cmd/signer: Use ErrRequestDenied, enable lightkdf * cmd/signer: implement tests * cmd/signer: made possible for UI to modify tx parameters * cmd/signer: refactors, removed channels in ui comms, added UI-api via stdin/out * cmd/signer: Made lowercase json-definitions, added UI-signer test functionality * cmd/signer: update documentation * cmd/signer: fix bugs, improve abi detection, abi argument display * cmd/signer: minor change in json format * cmd/signer: rework json communication * cmd/signer: implement mixcase addresses in API, fix json id bug * cmd/signer: rename fromaccount, update pythonpoc with new json encoding format * cmd/signer: make use of new abi interface * signer: documentation * signer/main: remove redundant option * signer: implement audit logging * signer: create package 'signer', minor changes * common: add 0x-prefix to mixcaseaddress in json marshalling + validation * signer, rules, storage: implement rules + ephemeral storage for signer rules * signer: implement OnApprovedTx, change signing response (API BREAKAGE) * signer: refactoring + documentation * signer/rules: implement dispatching to next handler * signer: docs * signer/rules: hide json-conversion from users, ensure context is cleaned * signer: docs * signer: implement validation rules, change signature of call_info * signer: fix log flaw with string pointer * signer: implement custom 4byte databsae that saves submitted signatures * signer/storage: implement aes-gcm-backed credential storage * accounts: implement json unmarshalling of url * signer: fix listresponse, fix gas->uint64 * node: make http/ipc start methods public * signer: add ipc capability+review concerns * accounts: correct docstring * signer: address review concerns * rpc: go fmt -s * signer: review concerns+ baptize Clef * signer,node: move Start-functions to separate file * signer: formatting
* all: update generated code (#15808)Felix Lange2018-01-083-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * core/types, core/vm, eth, tests: regenerate gencodec files * Makefile: update devtools target Install protoc-gen-go and print reminders about npm, solc and protoc. Also switch to github.com/kevinburke/go-bindata because it's more maintained. * contracts/ens: update contracts and regenerate with solidity v0.4.19 The newer upstream version of the FIFSRegistrar contract doesn't set the resolver anymore. The resolver is now deployed separately. * contracts/release: regenerate with solidity v0.4.19 * contracts/chequebook: fix fallback and regenerate with solidity v0.4.19 The contract didn't have a fallback function, payments would be rejected when compiled with newer solidity. References to 'mortal' and 'owned' use the local file system so we can compile without network access. * p2p/discv5: regenerate with recent stringer * cmd/faucet: regenerate * dashboard: regenerate * eth/tracers: regenerate * internal/jsre/deps: regenerate * dashboard: avoid sed -i because it's not portable * accounts/usbwallet/internal/trezor: fix go generate warnings
* all: switch gas limits from big.Int to uint64Péter Szilágyi2018-01-031-1/+1
|
* accounts/usbwallet: handle bad interface number on macOSPéter Szilágyi2017-10-031-4/+8
|
* accounts: refactor API for generalized USB walletsPéter Szilágyi2017-08-098-1943/+1418
|
* accounts, console, internal: support trezor hardware walletPéter Szilágyi2017-08-0910-16/+6626
|
* accounts: fix megacheck warnings (#14903)Egon Elbre2017-08-071-5/+4
| | | | | | * accounts: fix megacheck warnings * accounts: don't modify abi in favor of full cleanup
* accounts/usbwallet: if a confirmation is pending, skip refreshPéter Szilágyi2017-03-232-3/+16
|
* accounts/usbwallet: fix Ledger hidapi/libusb protocol violationPéter Szilágyi2017-03-232-13/+36
|
* all: import "context" instead of "golang.org/x/net/context"Felix Lange2017-03-231-1/+1
| | | | | | | | | | There is no need to depend on the old context package now that the minimum Go version is 1.7. The move to "context" eliminates our weird vendoring setup. Some vendored code still uses golang.org/x/net/context and it is now vendored in the normal way. This change triggered new vet checks around context.WithTimeout which didn't fire with golang.org/x/net/context.
* Merge pull request #3723 from karalabe/logger-updates-2Péter Szilágyi2017-02-282-14/+14
|\ | | | | Logger updates
| * all: next batch of log polishes to contextual versionsPéter Szilágyi2017-02-282-14/+14
| |
* | all: unify big.Int zero checks, use common/math in more places (#3716)Felix Lange2017-02-281-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-271-5/+5
|
* accounts, cmd: port packages over to the new logging systemPéter Szilágyi2017-02-232-13/+17
|
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-231-18/+14
|
* accounts/usbwallet, vendor: use hidapi instead of libusb directlyPéter Szilágyi2017-02-174-150/+38
|
* accounts: ledger and HD review fixesPéter Szilágyi2017-02-131-33/+35
| | | | | | | | | - 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/usbwallet: detect and report in Ledger is in browser modePéter Szilágyi2017-02-131-4/+17
|
* accounts/usbwallet: make wallet responsive while Ledger is busyPéter Szilágyi2017-02-131-151/+309
|
* accounts/usbwallet: Ledger teardown on health-check failurePéter Szilágyi2017-02-132-8/+33
|
* accounts, cmd, internal, node: implement HD wallet self-derivationPéter Szilágyi2017-02-132-113/+118
|
* accounts, cmd, internal, mobile, node: canonical account URLsPéter Szilágyi2017-02-132-19/+18
|
* accounts, cmd, eth, internal, miner, node: wallets and HD APIsPéter Szilágyi2017-02-132-265/+487
|
* accounts/usbwallet: two phase Ledger refreshes to avoid Windows bugPéter Szilágyi2017-02-131-25/+24
|
* accounts/usbwallet: support Ledger app version <1.0.2Péter Szilágyi2017-02-131-1/+5
|
* accounts/usbwallet: skip support on iOS altogetherPéter Szilágyi2017-02-134-0/+44
|
* accounts/usbwallet: initial support for Ledger walletsPéter Szilágyi2017-02-133-0/+750