julian
dc581cd4fc
Merge remote-tracking branch 'origin/staging' into paynyms
...
# Conflicts:
# lib/services/coins/bitcoincash/bitcoincash_wallet.dart
2023-02-02 09:29:30 -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
16d4384525
possible putAddresses index violation error during full rescan fix
2023-02-02 09:03:57 -06:00
julian
68be62e3ef
bch fetch derivation by address fix
2023-02-01 10:38:49 -06:00
julian
588d715a61
only clear out wallet utxos on refresh
2023-01-31 19:26:23 -06:00
julian
a41f80ac55
add height change notify
2023-01-30 11:06:28 -06:00
julian
79db4f048c
use derive path type extension method per coin
2023-01-25 13:49:14 -06:00
julian
6b08acf225
single DerivePathType enum declaration
2023-01-25 12:08:48 -06:00
julian
f3325807e0
null address fix
2023-01-23 10:37:29 -06:00
julian
017719971b
isar init fix and renaming of init functions
2023-01-20 15:57:54 -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
8921302ee0
remove useless walletId param from db init
2023-01-19 14:07:08 -06:00
julian
db205b40e2
notify ui of tx changes and force refresh on rescan
2023-01-19 10:29:00 -06:00
julian
0a3c001845
fix all own addresses query
2023-01-18 17:20:23 -06:00
julian
575cce1a7d
update address in case of bad index from migrate or any other reason
2023-01-18 16:55:59 -06:00
julian
38453ceafb
delete old derivations when doing full rescan
2023-01-17 08:19:30 -06:00
julian
b348761bbe
bch cashaddr fix
2023-01-17 08:04:30 -06:00
julian
d1f237ae51
explicit isar model constructors
2023-01-16 16:37:00 -06:00
julian
5562c14527
WIP refactor to single main isar db
2023-01-16 15:04:03 -06:00
julian
8a7236b46d
clear out isar blockchain data per wallet when doing full rescan
2023-01-13 15:48:42 -06:00
julian
3414c71741
update other coin's parse transaction and db update
2023-01-13 15:36:19 -06:00
julian
52d5ab0d33
WIP tx parse + link address to transaction
2023-01-13 11:11:41 -06:00
julian
13e6fc6b47
restoring type fix
2023-01-13 09:26:37 -06:00
julian
8c67901c28
apply wallet cache mixin to rest of coin wallets and clean up hive code
2023-01-12 15:32:25 -06:00
julian
61a1ad551f
clean up print
2023-01-12 12:55:57 -06:00
julian
4ab090cb92
remove unused hive inits
2023-01-12 12:54:22 -06:00
julian
3f830218a4
extract wallet isar db to mixin
2023-01-12 12:46:01 -06:00
julian
ccb9f254bd
small bug fixes and added WalletCache mixin to handle balance cache etc
2023-01-12 12:15:28 -06:00
julian
e115ff1b41
only use the PaymentData 'data' once and do not generate p2sh data using p2wpkh unless required
2023-01-12 09:52:41 -06:00
julian
a73e18df75
expose wallet isar instance to Manager
2023-01-11 21:23:21 -06:00
julian
30d8f8b810
update isCancelled flag name to be consistent with other isar model bool values
2023-01-11 14:48:55 -06:00
julian
25a60920dd
migrate bitcoincash_wallet.dart to isar transactions, addresses, and utxos, as well as the cleaner balance model
2023-01-11 13:30:03 -06:00
julian
8ee9428758
add currentHeight getter
2023-01-10 17:50:22 -06:00
shillo
5accda7355
disable unsupported device locale on windows
2022-12-29 10:48:12 -06:00
ryleedavis
28f9fcaa0a
added another todo: check print
2022-12-19 09:29:47 -07:00
ryleedavis
390623560e
debugPrints that aren't needed ?
2022-12-12 17:17:02 -07:00
julian
d86f0de130
timeout check server features on wallet creation (allow offline new wallet creation on timeout)
2022-11-30 09:54:46 -06:00
julian
5c9664c667
Revert "do not check server features on wallet creation (allow offline new wallet creation)"
...
This reverts commit 745abe0f10
.
2022-11-30 09:46:28 -06:00
julian
745abe0f10
do not check server features on wallet creation (allow offline new wallet creation)
2022-11-30 09:22:58 -06:00
julian
adee71224b
Format coin amounts improvements, fixed fee rates display issue, use hard coded xmr estimates for now
2022-11-23 12:42:23 -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
bb260e3a23
hacky fix (due to current persistence design) to get sent transactions showing up right away for electrumx coins
2022-11-07 10:24:37 -06:00
julian
e87aa64e1b
isFavorite bandaid fix for https://github.com/cypherstack/stack_wallet/issues/203
2022-11-05 09:40:28 -06:00
julian
7dbc9d270b
temp bch send fix testnet and fix tests
2022-11-04 18:18:39 -06:00
julian
74b075328f
temp bch send fix
2022-11-04 17:42:45 -06:00
julian
ccd94fcf86
bch compare address type to constant names instead of int literals
2022-11-04 17:42:45 -06:00
julian
039a9a68f6
bch clean up linter warnings and unused variables
2022-11-04 17:42:45 -06:00