Commit graph

126 commits

Author SHA1 Message Date
julian
755115b848 temporarily force refresh bip47 notification tx history on txns refresh 2023-02-16 08:05:41 -06:00
julian
7e2276394c ensure utxos are fetched after refreshing transactions to ensure bip47 notification utxos are not included in balances 2023-02-15 17:26:44 -06:00
sneurlax
2bee017cb8 Merge branch 'null-mnemonic-passphrase' into paynyms 2023-02-13 17:02:22 -06:00
sneurlax
efbfe4def7 apply null mnemonic passphrase error log to other relevant coins 2023-02-13 16:53:28 -06:00
julian
903b39c454 semi graceful paynym.is call failure during btc recover 2023-02-13 15:29:12 -06:00
julian
197a2a1f19 do not check addresses until refresh initiated 2023-02-13 12:13:30 -06:00
julian
9b4dee76a5 add derivationPath to Address constructor as required 2023-02-03 17:30:32 -06:00
julian
ad0059508c move wallet constructors below class declaration 2023-02-03 16:48:16 -06:00
julian
5b5ee30e41 centralized and cleaned up bip32 utils, and added mnemonic password functionality 2023-02-03 16:34:06 -06:00
julian
b0c00d8ec7 db refactor and added address labels 2023-02-03 13:22:21 -06:00
julian
f0a8d65b3e show sent tx immediately in history 2023-02-02 16:19:14 -06:00
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
ce5586d675 extra percent notifier 2023-02-01 16:46:27 -06:00
julian
9dc5f91a04 add logging to fee btc calc 2023-02-01 15:37:58 -06:00
julian
72cb62774c revert and modify tx size calc for two outputs 2023-02-01 15:20:49 -06:00
julian
588d715a61 only clear out wallet utxos on refresh 2023-01-31 19:26:23 -06:00
julian
19bf4c0df6 scan following/followers for paynym history 2023-01-31 17:26:10 -06:00
julian
6df782647e btc send exact value of output fix 2023-01-31 13:44:56 -06:00
julian
0a264a97c5 pass p2pkh change address to paynym interface 2023-01-31 10:37:53 -06:00
julian
a41f80ac55 add height change notify 2023-01-30 11:06:28 -06:00
julian
17cbc390e4 pass in correct values 2023-01-30 08:28:54 -06:00
julian
3985674525 dirty payment code obfuscation 2023-01-27 18:18:58 -06:00
julian
3105c21c35 move paynym interface from doge to btc 2023-01-27 15:03:03 -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
165021ca2e Merge branch 'isar_migrate' into paynyms 2023-01-20 17:27:18 -06:00
julian
017719971b isar init fix and renaming of init functions 2023-01-20 15:57:54 -06:00
julian
5c66b0380b move standard electrum x transaction parsing function into a mixin 2023-01-20 12:16:27 -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
686c897515 remove unused param from constructor 2023-01-19 11:41:59 -06:00
julian
db205b40e2 notify ui of tx changes and force refresh on rescan 2023-01-19 10:29:00 -06:00
julian
7d061866bd btc tx fetch fetch fix 2023-01-18 18:13:08 -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
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
ea212b3dd8 useless print 2023-01-13 17:00:05 -06:00
julian
3414c71741 update other coin's parse transaction and db update 2023-01-13 15:36:19 -06:00
julian
e14c362574 rename var 2023-01-13 14:59:47 -06:00
julian
5e7bd0d8ae fix bitcoin transaction refresh 2023-01-13 14:50:43 -06:00
julian
cb382e213f separate tx note from transaction object to ensure total separation of blockchain data from other user to ease rescanning the blockchain 2023-01-13 13:33:46 -06:00
julian
94e6ebf53b insert inputs/outputs after finishing tx parse 2023-01-13 13:25:09 -06:00
julian
6310f0b1c7 only update missing or unconfirmed transactions 2023-01-13 12:00:25 -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
1170f742e9 use balance caching in all wallets 2023-01-12 13:21:03 -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
a73e18df75 expose wallet isar instance to Manager 2023-01-11 21:23:21 -06:00
julian
493bf09578 migrate bitcoin_wallet.dart to isar transactions, addresses, and utxos, as well as the cleaner balance model 2023-01-11 12:24:16 -06:00
shillo
5accda7355 disable unsupported device locale on windows 2022-12-29 10:48:12 -06: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
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
cd80e9f4d2 Merge branch 'implement-name-coin' into testing 2022-09-16 12:31:47 -06:00
julian
8b4215c6a1 Update required btc confirms to 1 2022-09-14 15:52:25 -06:00
Likho
567d549747 WIP: Update namecoin network 2022-09-13 12:58:04 +02:00
julian
4ad5bd6e6d linter warning clean up 2022-09-09 11:14:38 -06:00
Marco
d8bc213749 between 2-4x speed increase for restore, first refresh, and nth refresh 2022-09-09 23:07:27 +08:00
julian
f8c8dcabfc update btc dust limit 2022-09-07 08:20:32 -06:00
julian
d6618518ad receive screen redesign and added generate new address button 2022-09-05 19:18:45 -06:00
julian
2e459ffb9f add an await in btc rescan 2022-08-31 12:49:44 -06:00
julian
f63c5e5cc7 add some detail to logging 2022-08-31 11:49:19 -06:00
Marco
b41d31fd32 first commit 2022-08-26 16:11:35 +08:00