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
97604a792f
fix offline wallet creation for namecoin and particl
2023-02-02 15:48:06 -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
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
ef9205a0a9
particl isar tx parse fixes
2023-01-17 16:11:04 -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
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
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
275e3ab4cb
WIP migrate particl_wallet.dart to isar transactions, addresses, and utxos, as well as the cleaner balance model
2023-01-11 20:09:08 -06:00
shillo
5accda7355
disable unsupported device locale on windows
2022-12-29 10:48:12 -06:00
Likho
ff1f746a76
Particl fixes ( #273 )
...
* WIP: Fix particl for non standart txs send
* Use stackwallet default node and fix txs all appearing as received with incorrect amounts
* Clean up logging, fix all txs showing as received
2022-12-22 20:05:01 -06:00
sneurlax
7ec0606b08
account for ct_fee
2022-12-08 17:37:57 -06:00
sneurlax
028e77baf4
detect and handle ct and ringct transactions accordingly
...
and hopefully catch staking outputs as well
2022-12-08 13:51:49 -06:00
likho
0f7a5cb5e6
Clean up
2022-12-08 13:27:17 +02:00
likho
20dbb86742
Update pubspec.yaml to use commit for Particl flag in bitcoindart
2022-12-07 17:47:55 +02:00
likho
9309a86cfd
Add back bip44, ensure we're using default bip84 addresses
2022-12-07 15:25:48 +02:00
likho
76c57eef64
Fix fetch tx error after broadcast
2022-12-07 14:46:53 +02:00
likho
b890fe61db
Fix trailing bytes issue
2022-12-06 20:22:14 +02:00
likho
d4f494bbaa
Use bip44 change addresses and remove trailing zeros from tx
2022-12-06 18:02:46 +02:00
likho
03ac0f2778
Commit before change address to bip84
2022-12-06 14:46:08 +02:00
likho
e18aa8bd3a
Default to P2WPKH to get witnessScript
2022-12-05 16:53:21 +02:00
likho
bc5e7fcaac
Remove P2SH
2022-12-05 12:52:59 +02:00
likho
b1d2d1ce26
Remove default bip84 for address to get bubKey type addresses and WIP: Fix TX signing
2022-12-04 16:17:41 +02:00
likho
8e2c8c8b53
WIP: trim hex at beginning
2022-12-02 20:52:38 +02:00