erigon-pulse/signer
Kristofer Peterson d4766a7bcf accounts, signer: fix Ledger Live account derivation path (clef) (#21757)
* signer/core/api: fix derivation of ledger live accounts

For ledger hardware wallets, change account iteration as follows:

- ledger legacy: m/44'/60'/0'/X; for 0<=X<5
- ledger live: m/44'/60'/0'/0/X; for 0<=X<5

- ledger legacy: m/44'/60'/0'/X; for 0<=X<10
- ledger live: m/44'/60'/X'/0/0; for 0<=X<10

Non-ledger derivation is unchanged and remains as:
- non-ledger: m/44'/60'/0'/0/X; for 0<=X<10

* signer/core/api: derive ten default paths for all hardware wallets, plus ten legacy and ten live paths for ledger wallets

* signer/core/api: as .../0'/0/0 already included by default paths, do not include it again with ledger live paths

* accounts, signer: implement path iterators for hd wallets

Co-authored-by: Martin Holst Swende <martin@swende.se>
# Conflicts:
#	signer/core/api.go
2021-03-08 12:44:10 +01:00
..
core accounts, signer: fix Ledger Live account derivation path (clef) (#21757) 2021-03-08 12:44:10 +01:00
fourbyte signer, log: properly escape character sequences (#20987) 2020-05-20 15:26:22 +03:00
rules [GC] uint256 rather than big.Int in Transaction (#614) 2020-06-04 08:43:08 +01:00
storage signer/storage: fix a badly ordered error check (#21379) 2020-08-12 11:49:58 +02:00