Commit graph

162 commits

Author SHA1 Message Date
julian
01999e4f29 revert if pointless or breaks things? 2023-05-16 14:38:24 -06:00
Josh Babb
7d8f03dd20 add warning 2023-05-16 15:20:18 -05:00
julian
eac4ee54f1 logging on possible bad data 2023-05-16 14:17:12 -06:00
julian
a513e90082 make function easier to read: Part 2 2023-05-16 14:13:14 -06:00
julian
87507585b8 make function easier to read 2023-05-16 14:08:25 -06:00
julian
d0c53c2673 Strongly typed used serials list 2023-05-16 13:29:48 -06:00
julian
1b92f2b36b no more derivations stored for firo 2023-05-16 11:33:00 -06:00
julian
511ac393b6 untested notifications wrapper 2023-05-09 11:54:15 -06:00
julian
e72f2018d0 missed firo amount 2023-04-11 11:20:57 -06:00
julian
b3efbda2e4 some amount sending fixes 2023-04-11 09:17:58 -06:00
sneurlax
aeff2f82ae remove typo 2023-04-10 16:58:07 -05:00
sneurlax
af1993cc01 amount-related ui fixes for firo/spend-mints 2023-04-10 16:56:17 -05:00
sneurlax
d883aaf602 Merge remote-tracking branch 'stack_wallet_origin/ui-fixes' into firo/spend-mints 2023-04-10 16:04:14 -05:00
sneurlax
80ca2f2d2c check if mint txs are confirmed 2023-04-10 15:58:56 -05:00
sneurlax
d3db4e6868 instead of assuming mint = confirmed, move logic down so isUnconfirmed has an exception 2023-04-10 15:35:25 -05:00
sneurlax
77b1e23144 assume mints listed in lelantus txs are confirmed
TODO make sure that mints/_mintTxnData only contains confirmed tx / filter unconfirmed
2023-04-10 15:21:33 -05:00
julian
5bf678d41a Balance class clean up 2023-04-10 12:00:23 -06:00
julian
72d6e636f0 Merge remote-tracking branch 'origin/staging' into ui-fixes
# Conflicts:
#	lib/services/coins/manager.dart
2023-04-07 18:56:59 -06:00
julian
839ee314a2 xpub refactor to include coin network type in generation 2023-04-07 18:44:43 -06:00
julian
94896dfd60 Amount fixes 2023-04-06 17:49:13 -06:00
julian
25ff880280 move amount.dart file 2023-04-06 15:24:56 -06:00
julian
81c612ddd7 WIP use Amount 2023-04-05 16:06:31 -06:00
julian
c8139007e3 use new transaction nonce property 2023-03-31 10:18:51 -06:00
julian
f69f9a5038 Merge remote-tracking branch 'origin/staging' into add-ethereum
# Conflicts:
#	lib/widgets/wallet_card.dart
2023-03-29 14:09:23 -06:00
julian
b4a344ebad firo balance bug fix 2023-03-28 08:14:48 -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
sneurlax
68bf6a6565 add mint/anonymization txs to balance
currently breaks when a mint/anonymization tx is correctly recognized as a send but not correctly recognized as isUsed
2023-03-22 18:05:52 -05:00
sneurlax
79706d51f5 increment mint index by 1 2023-03-22 17:29:20 -05: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
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
16efeea1db project structure 2023-03-01 15:52:13 -06:00
julian
1c812b0bf2 extra firo logging 2023-02-13 17:22:47 -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
sneurlax
00c99cbcc5 Merge remote-tracking branch 'cypherstack/paynyms' into fix/firo 2023-02-13 16:39:06 -06:00
sneurlax
7666a9383d putAddresses->updateOrPutAddresses
should solve isar unique index violation error
2023-02-13 14:02:52 -06:00
julian
197a2a1f19 do not check addresses until refresh initiated 2023-02-13 12:13:30 -06:00
julian
d4499ac3bc firo bug fix and test update 2023-02-03 19:04:43 -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
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
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
95b9e6170f firo mint tx migrate fix 2023-01-19 09:16:30 -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
9bb71b0e13 firo isar index and null address fix 2023-01-17 12:31:07 -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
0223a75d95 putAll 2023-01-16 12:58:10 -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
94e6ebf53b insert inputs/outputs after finishing tx parse 2023-01-13 13:25:09 -06:00
julian
52d5ab0d33 WIP tx parse + link address to transaction 2023-01-13 11:11:41 -06:00
julian
5c70cf7967 add mixins to firo_wallet.dart and remove directly interacting with hive therein 2023-01-12 15:20:57 -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
90bf6a2bb2 migrate firo_wallet.dart to isar transactions, addresses, and utxos, as well as the cleaner balance model 2023-01-11 18:16:17 -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
096d2c007e Merge branch 'desktop' of https://github.com/cypherstack/stack_wallet into desktop 2022-12-14 13:56:13 -07:00
julian
4f4d6f8e9d remove cached anon set server call 2022-12-13 11:21:46 -06: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
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
Marco
d2120cd171 firo public send fix 2022-10-18 13:15:57 -06:00
Marco
604c2b4a63 increase firo mint search gap 2022-10-18 11:28:14 -06:00
Marco Salazar
9df7894142
Merge pull request #137 from cypherstack/ui-fixes
firo mint notification description
2022-10-15 16:53:54 -06:00
Marco
c7d4c4fc70 fix null error bug, firo restores faster again 2022-10-15 14:49:52 -06:00
julian
b4b9e09a0e firo mint notification description 2022-10-15 11:57:00 -06:00
Marco
3c29b9acdf temp fix for firo infinite fee estimate 2022-10-13 13:01:49 -06:00
julian
2d5b73c45e firo private send vsize check 2022-09-24 10:55:01 -06:00
julian
ea17eb5676 updated firo tests to reflect speedup modifications 2022-09-12 09:22:05 -06: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
1e89f4e58b fetch server cached anonymity sets for huge increase in firo restore speed 2022-09-08 14:02:07 -06:00
Marco
519cba2b1e get anon set http post call 2022-09-09 00:25:41 +08:00
Marco
d672c2bd17 send all for private funds in firo, and bug fix for failing to load wallets 2022-09-08 20:45:38 +08:00
julian
16cd9b6cee received jsplit not showing as confirmed in ui fix 2022-09-07 16:14:10 -06:00
julian
88df57177b public firo fee estimate and firo fee ui updates 2022-09-07 10:58:54 -06:00
julian
15c4d0e617 non lelantus firo sends 2022-09-07 09:56:10 -06:00