Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add BIP44 derivation paths to Bitcoin Cash wallet restoration process (…
…cypherstack#330) * add new derive path for bch and make it the new default. we currently use slip44 (coinType 145) as the default * add default cases to DerivePathType switches now failing * normalize DerivePathType errors log failing derivePathType or type, as appropriate * add default derive path case to paynym interface * use slip44 in bch wallet * linting * WIP look up both bip44 and slip44 addresses slip44 is used by default * typo fix * typo fix thanks Julian * remove print * use slip44 addresses by default * use AddressType unknown for bip44 derive path type * use address type unknown in _getCurrentAddressForChain, too * generate different keys for SLIP44 and BIP44 paths * couple more slips * return slip44 from addressType * slip before bip * revert slip44-bip44, bch's bip44->bch44 * set bch44 derive path to type unknown do not comingle paths in later output selection by index * handle bip44 and bch44 path addresses when handling outputs * use bip44 by default * typofix * typo fix in the typo fix yo dawg * separate new derivation path functions into their own non-testnet block * cleanup * disable test should re-enable if it can be fixed with the test mnemonic in hand --------- Co-authored-by: julian <julian@cypherstack.com>
- Loading branch information