Commit graph

82 commits

Author SHA1 Message Date
julian
c8139007e3 use new transaction nonce property 2023-03-31 10:18:51 -06:00
julian
b2b9accee1 add serialized amount string to transaction 2023-03-24 15:31:05 -06:00
julian
3e1e68237a Merge remote-tracking branch 'origin/staging' into add-ethereum
# Conflicts:
#	lib/models/isar/models/blockchain_data/address.dart
#	lib/pages/add_wallet_views/create_or_restore_wallet_view/create_or_restore_wallet_view.dart
#	lib/pages/settings_views/global_settings_view/appearance_settings_view.dart
#	lib/pages_desktop_specific/settings/settings_menu/appearance_settings.dart
#	lib/utilities/db_version_migration.dart
#	test/pages/send_view/send_view_test.mocks.dart
#	test/screen_tests/address_book_view/subviews/add_address_book_view_screen_test.mocks.dart
#	test/screen_tests/address_book_view/subviews/address_book_entry_details_view_screen_test.mocks.dart
#	test/screen_tests/address_book_view/subviews/edit_address_book_entry_view_screen_test.mocks.dart
#	test/screen_tests/exchange/exchange_view_test.mocks.dart
#	test/screen_tests/lockscreen_view_screen_test.mocks.dart
#	test/screen_tests/main_view_tests/main_view_screen_testA_test.mocks.dart
#	test/screen_tests/main_view_tests/main_view_screen_testB_test.mocks.dart
#	test/screen_tests/main_view_tests/main_view_screen_testC_test.mocks.dart
#	test/screen_tests/onboarding/backup_key_view_screen_test.mocks.dart
#	test/screen_tests/onboarding/backup_key_warning_view_screen_test.mocks.dart
#	test/screen_tests/onboarding/create_pin_view_screen_test.mocks.dart
#	test/screen_tests/onboarding/restore_wallet_view_screen_test.mocks.dart
#	test/screen_tests/onboarding/verify_backup_key_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/currency_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/network_settings_subviews/add_custom_node_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/network_settings_subviews/node_details_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/wallet_backup_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/wallet_settings_subviews/rescan_warning_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/wallet_settings_subviews/wallet_delete_mnemonic_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/wallet_settings_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_view_screen_test.mocks.dart
#	test/screen_tests/transaction_subviews/transaction_search_results_view_screen_test.mocks.dart
#	test/screen_tests/wallet_view/confirm_send_view_screen_test.mocks.dart
#	test/screen_tests/wallet_view/receive_view_screen_test.mocks.dart
#	test/screen_tests/wallet_view/send_view_screen_test.mocks.dart
#	test/screen_tests/wallet_view/wallet_view_screen_test.mocks.dart
#	test/widget_tests/managed_favorite_test.mocks.dart
#	test/widget_tests/table_view/table_view_row_test.mocks.dart
#	test/widget_tests/transaction_card_test.mocks.dart
#	test/widget_tests/wallet_info_row/sub_widgets/wallet_info_row_balance_future_test.mocks.dart
#	test/widget_tests/wallet_info_row/wallet_info_row_test.mocks.dart
2023-03-23 18:13:24 -06:00
julian
702054ac61 Merge remote-tracking branch 'origin/staging' into add-ethereum
# Conflicts:
#	assets/svg/themed/forest/ethereum.png
#	assets/svg/themed/forest/ethereum.svg
#	lib/pages/add_wallet_views/create_or_restore_wallet_view/create_or_restore_wallet_view.dart
#	lib/pages/receive_view/addresses/edit_address_label_view.dart
#	lib/pages/receive_view/addresses/receiving_addresses_view.dart
#	lib/pages/wallet_view/sub_widgets/wallet_navigation_bar.dart
#	lib/pages/wallet_view/wallet_view.dart
#	lib/route_generator.dart
#	lib/utilities/assets.dart
#	lib/utilities/constants.dart
#	lib/widgets/animated_widgets/rotate_icon.dart
#	pubspec.lock
#	pubspec.yaml
2023-03-22 08:54:25 -06:00
julian
ea933e0474 do not freeze notification tx change outputs 2023-03-20 09:23:33 -06:00
julian
d45caa47b3 block sent notification tx change output with reason 2023-03-09 15:49:23 -06:00
julian
0cace4d7bc partial derivation not found null fix 2023-03-09 15:08:13 -06:00
julian
c04723840f fix bug that can cause transaction broadcast to fail in the case where two or more input utxos come from the same parent transaction 2023-03-09 13:49:39 -06:00
julian
e6b5e847c3 coin control utxos fix 2023-03-09 10:30:10 -06:00
julian
b30f1db45b enable coin control for selected other coins 2023-03-08 16:11:46 -06:00
julian
16efeea1db project structure 2023-03-01 15:52:13 -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
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
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
3105c21c35 move paynym interface from doge to btc 2023-01-27 15:03:03 -06:00
julian
b09b3d0e1f restore all paynym history function 2023-01-27 14:43:38 -06:00
julian
451edbfc67 handle dropped mempool/blockchain transactions 2023-01-27 12:49:25 -06:00
julian
8b071e8774 ensure paynym notification address is generated and added to database on restore 2023-01-27 10:21:23 -06:00
julian
5159a61271 block paynym notification utxos 2023-01-27 10:20:26 -06:00
julian
6d7284d216 do not display incoming notification transaction in ui 2023-01-27 10:04:55 -06:00
julian
9b74f52ce9 add receiving address derivation to secure storage 2023-01-26 16:17:26 -06:00
julian
9cc0d74b16 check paynym receiving addresses based on payment code notification tx history 2023-01-26 15:25:53 -06:00
julian
fb3f430edc disable PaynymSupport extension and use PaynymWalletInterface instead 2023-01-25 15:49:57 -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
6253652c21 detect paynym notification transactions 2023-01-23 16:11:24 -06:00
julian
69dfbb5873 paynym clean up to use isar transaction and address upgrades 2023-01-23 12:19:13 -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
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
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