Commit graph

41 commits

Author SHA1 Message Date
julian-CStack
9b91948b11 BCH 0-conf test update 2023-03-23 17:53:56 -06:00
julian
b0c00d8ec7 db refactor and added address labels 2023-02-03 13:22:21 -06:00
sneurlax
4aec78f0ed
Add BIP44 derivation paths to Bitcoin Cash wallet restoration process (#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>
2023-02-02 09:24:26 -06:00
julian
700084f708 remove wallet specific derivePathType tests as it was removed from the wallet files 2023-01-25 16:11:06 -06:00
julian
0c1db6f249 clean up tests for now 2023-01-20 10:22:18 -06:00
julian
fd5a237170 move db modifying func to MainDB out of WalletDb, add MainDB mocks to coin tests, build runner generate mocks 2023-01-19 15:13:03 -06:00
julian
60e850f442 add mockable override option for testing purposes 2023-01-19 14:33:23 -06:00
julian
daa2648763 builder runner update mocks 2023-01-19 13:54:31 -06:00
julian
ea68e811ec remove unneeded PriceAPI mock generation for coin tests 2023-01-19 13:52:50 -06:00
julian
722a884553 coin tests code error cleanup 2023-01-19 13:47:51 -06:00
julian
35f6ffd4fc coin tests linter warnings and clean up 2023-01-19 13:24:16 -06:00
julian
aafca9289d WIP test fixing 2023-01-19 13:07:20 -06:00
julian
fee175531d fixed tablerow test and commented out pointless tests 2022-12-05 17:21:20 -06:00
julian
3ee0e97628 DesktopSecureStore implementation using Isar as backend, renamed FlutterSecureStorageInterface 2022-11-09 17:55:34 -06:00
julian
2bdf5f152c dynamic secure storage provider 2022-11-09 17:55:34 -06:00
julian
c962f597fd added extra checks to BCH as well as test cases 2022-11-07 15:48:27 -06:00
julian
7dbc9d270b temp bch send fix testnet and fix tests 2022-11-04 18:18:39 -06:00
Marco Salazar
b8d304f9a3
Merge branch 'staging' into flutter3.3.4 2022-10-24 10:56:12 -06:00
Marco
27c2e38311 fix bitcoin cash tests 2022-10-19 16:16:00 -06:00
Likho
be45315487 WIP: widget testing, update transaction card tests to use riverpod 2022-10-16 08:50:10 +02:00
Likho
efc5582fb2 WIP: Widget testing 2022-10-07 10:34:30 +02:00
julian
6126588e60 WIP simpleswap and generic exchange 2022-10-02 13:37:11 -06:00
julian
c803519a42 re enable certain bch+nmc tests 2022-09-30 17:35:28 -06:00
julian
8e05d4ef56 various small bch fixes, temp disable tests 2022-09-26 14:44:07 -06:00
Likho
4ce47042b8 Update tests for bch after adding P2SH 2022-09-26 10:42:46 +02:00
Likho
04f80c61a5 WIP: Fix bch tests 2022-09-26 10:12:54 +02:00
Likho
d5c3b29813 WIP: Testing 2022-09-26 08:41:54 +02:00
Likho
d4cfea4bb7 WIP: Fix failing tests 2022-09-23 17:14:22 +02:00
Likho
909436afdc WIP: Add p2sh address for bch 2022-09-23 14:31:14 +02:00
Likho
b5ad9ec004 Add new nodes from Rylee and fix bch tests 2022-09-20 15:09:46 +02:00
Likho
8bb6ba6ab7 WIP: Update dust limit for nmc and bch, update nmc history data 2022-09-19 19:38:32 +02:00
Likho
0ce49eacc2 Remove custom mock, makes no difference 2022-09-18 11:02:06 +02:00
julian
5267d9198b update fullRescan succeeds test and sample data 2022-09-16 08:36:30 -06:00
julian
fc6c2a705f Merge remote-tracking branch 'origin/implement-name-coin' into implement-name-coin 2022-09-16 07:56:07 -06:00
julian
76a4a7acd8 update gitignore 2022-09-16 07:55:40 -06:00
Likho
f9c5859756 WIP: TEsting bch 2022-09-16 15:44:27 +02:00
Likho
aba579f64e WIP: Fix bch failing tests, add testnet 2022-09-16 13:13:30 +02:00
Likho
2f5650ce30 WIP: BCH and NMC tests 2022-09-15 21:41:12 +02:00
Likho
ea8c6290f4 Update test mocks 2022-09-12 17:53:25 +02:00
Likho
0b660d9433 Remove wallet test parameters 2022-09-12 10:20:46 +02:00
Likho
84d394f419 WIP: TEsts for bitcoincash 2022-09-12 09:44:04 +02:00