Commit graph

38 commits

Author SHA1 Message Date
julian
a9c792bfbc disable bad bch tests 2024-01-08 09:22:22 -06:00
julian
5b5908196d refactor various electrumx class names 2023-11-14 14:35:53 -06:00
julian
a9094a4ad9 update tests 2023-10-27 09:56:26 -06:00
julian
4f7f7d5797 update mocks 2023-08-22 17:24:22 -06:00
julian
5e5e89278a fix tests 2023-05-15 12:51:43 -06:00
julian
347c69339c fix tests 2023-04-11 11:09:24 -06:00
julian
e29d8dc047 Merge remote-tracking branch 'origin/staging' into add-ethereum
# Conflicts:
#	lib/pages/add_wallet_views/add_wallet_view/add_wallet_view.dart
2023-03-27 08:50:10 -06:00
julian-CStack
9b91948b11 BCH 0-conf test update 2023-03-23 17:53:56 -06:00
julian
16efeea1db project structure 2023-03-01 15:52:13 -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
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
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
27c2e38311 fix bitcoin cash tests 2022-10-19 16:16:00 -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
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
84d394f419 WIP: TEsts for bitcoincash 2022-09-12 09:44:04 +02:00