Commit graph

888 commits

Author SHA1 Message Date
julian
23a6236b4c update branch 2023-05-17 12:16:38 -06:00
julian
0d7a0a8fb9 Merge branch 'staging' into add-ecash
# Conflicts:
#	lib/utilities/assets.dart
#	lib/utilities/theme/color_theme.dart
2023-05-17 12:11:08 -06:00
julian
e406374796 clean up and optimizations 2023-05-17 11:34:40 -06:00
julian
d270ea38a2 clean up tx count function 2023-05-17 08:37:27 -06:00
julian
ab78e3fbca clean up _getUnspentCoins() 2023-05-16 15:59:06 -06:00
julian
9725ed32be WIP rework of anon balance calc 2023-05-16 15:15:08 -06:00
julian
02fe1103cb fix assignment issue 2023-05-16 14:43:52 -06:00
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
59c1a49ee7 Merge branch 'ui-fixes' into address_book_isar
# Conflicts:
#	lib/pages_desktop_specific/address_book_view/subwidgets/desktop_contact_details.dart
#	lib/utilities/db_version_migration.dart
2023-05-15 14:15:34 -06:00
julian
52bffbac08 add contacts migration from hive to isar and remove contact class conversion 2023-05-15 14:12:06 -06:00
julian
8351821c89 disable xpubs temporarily 2023-05-15 11:15:35 -06:00
julian
127564f2ac fix: bch remove bad address type 2023-05-15 07:48:50 -06:00
detherminal
524f4c5514 feat: move address books to isar 2023-05-14 18:06:47 +03:00
julian
539dec13f5 clean up and fixed bugs found while porting themes to duo 2023-05-13 21:25:46 -06:00
julian
fe0155edc7 Merge remote-tracking branch 'origin_SW/staging' into themes 2023-05-12 11:16:32 -06:00
julian
4213eca928 Merge remote-tracking branch 'origin_SW/staging' into themes
# Conflicts:
#	lib/db/isar/main_db.dart
2023-05-09 18:00:17 -06:00
julian
511ac393b6 untested notifications wrapper 2023-05-09 11:54:15 -06:00
likho
f57ec039b2 Stop epicbox listener when wallet is syncing 2023-05-09 11:49:20 +02:00
julian
2cf7d6de93 fix: more bch zero conf special case fixes 2023-05-08 16:15:39 -06:00
Diego Salazar
6efa5597bf
Merge pull request #520 from cypherstack/add-epic-send-to-address
fix: Add send to address for epic when sending
2023-05-05 16:16:56 -06:00
julian
0ab96ad6a1 fix: some exchange api error propagation 2023-05-05 10:25:56 -06:00
likho
4d785e113c Merge branch 'staging' into add-epic-send-to-address 2023-05-05 14:01:02 +02:00
likho
affee53ca6 Add send to address for epic when sending 2023-05-05 13:58:53 +02:00
julian
34d9360f20 delete empty/unused files 2023-05-04 12:20:08 -06:00
julian-CStack
87ed2af7ce remove empty file 2023-05-04 08:57:24 -06:00
julian
3a97623e5b WIP exchange screen state refactor 2023-05-03 14:03:31 -06:00
julian
3564426248 show trocador provider options 2023-05-02 10:22:35 -06:00
julian
e81521e374 WIP exchange process refactor to handle multiple sub providers per exchange provider 2023-05-01 16:26:12 -06:00
julian
34f7d80051 Merge branch 'ui-fixes' into trocador 2023-05-01 13:50:27 -06:00
julian
e05caa589f bch block height showing as pending in ui fix 2023-05-01 13:41:53 -06:00
julian
b9211ad2c3 pass abi parsing errors (or other token init errors) up and show a simple dialog 2023-05-01 11:20:40 -06:00
julian
d14fd88e01 trocador debug prints 2023-04-28 15:27:38 -06:00
julian
33ec3f5a25 hack to isolate Trocador exchange name 2023-04-28 14:40:36 -06:00
julian
73b7af77f6 add trocador currencies to loading/caching process 2023-04-28 14:32:44 -06:00
julian
05c4d01ee4 initial Trocador integration 2023-04-28 14:31:26 -06:00
julian
da9b921ddc pass around estimate instead of just rateId 2023-04-28 14:29:10 -06:00
julian
da9b679d3c trocador api tweaks and clean up 2023-04-28 14:26:51 -06:00
julian
9c414068d3 trocador api and response DTOs 2023-04-28 10:30:31 -06:00
julian
1e9642ec94 gap check fix ported from btc to bch 2023-04-27 09:01:14 -06:00
julian
cce4336f43 ensure all addresses with history have been generated before scanning for tx history on restore 2023-04-26 17:05:45 -06:00
julian
5a50f7d256 ensure notification address is added to local db 2023-04-26 16:19:24 -06:00
julian
9749443472 clean up notif node calls 2023-04-26 16:12:24 -06:00
julian
b14263eca5 clean up root node calls 2023-04-26 16:11:28 -06:00
julian
1dc2a3ce15 fix signing paynym received inputs 2023-04-26 15:12:36 -06:00
julian
d0bb0183f3 btc all own addresses query fix 2023-04-26 13:11:56 -06:00
julian
a236316291 unused code cleanup 2023-04-26 13:11:24 -06:00
julian
8018a887cf paynym address generation clean up 2023-04-26 12:27:29 -06:00
julian
ce01269dbe clean up unneeded code 2023-04-26 09:28:04 -06:00
julian
2bfce21058 btc restore gap fix 2023-04-26 09:27:29 -06:00
julian
fea0aeea64 paynym amount fixes 2023-04-25 15:08:00 -06:00
julian
8c3fffde9d segwit paynym.is updates and fixes 2023-04-25 15:06:12 -06:00
julian
cf694d6cdd init fix 2023-04-25 11:32:57 -06:00
julian
5ad161e6a9 add initial segwit paynym support 2023-04-25 10:45:02 -06:00
julian
6fb93b00ff organize constants 2023-04-25 09:24:14 -06:00
julian
573668a333 bch testnet send fix 2023-04-24 12:10:46 -06:00
julian
f9aac8ea36 clean up remaining add derivation stuff in btc and paynyms 2023-04-20 18:47:07 -06:00
julian
0734d9ee8a move to cleaner tx signing and stop adding derivations on address generation as we now have the info we need in the Address class. Old derivations should still be checked as not all old addresses are guaranteed to had a derivation path property 2023-04-20 18:36:43 -06:00
julian
58bc67f9ea some derivations additions cleaned up in btc 2023-04-20 18:00:08 -06:00
julian
6c3cddb48a clean up bch restore process 2023-04-20 17:53:09 -06:00
julian
8e73e3ecba pass bip32 root node is available to save generation time 2023-04-20 12:35:08 -06:00
julian
703ceee86d clean up btc restore, stop storing derivations as they aren't needed anymore, and ensure all previous unused addresses are saved. 2023-04-20 12:34:31 -06:00
julian
1714e2a7d8 set wow confs to 15 2023-04-20 11:00:52 -06:00
julian-CStack
2ff27956d1 init cache db no matter what on startup 2023-04-18 16:51:50 -06:00
julian
9a6dcba631 Merge branch 'ui-fixes' into add-ecash 2023-04-17 15:55:09 -06:00
julian
9974f60b4c zero conf possible null fix 2023-04-17 15:44:50 -06:00
julian
154ad80137 reformat auto save 2023-04-17 15:36:16 -06:00
julian
8b76ef4f30 ecash derivation path 2023-04-17 12:58:34 -06:00
julian
f87c5e8aa7 duplicate code clean up 2023-04-17 09:47:51 -06:00
julian
e01b422573 check server version 2023-04-17 09:42:55 -06:00
julian
9df5bc4f36 non batched tx history fetching if server doesn't support batching 2023-04-17 09:28:02 -06:00
julian
9c5c0cb179 non batched tx count if server doesn't support batching 2023-04-17 09:18:50 -06:00
julian
ba77b40674 non batched utxo fetch if server doesn't support batching 2023-04-17 08:27:44 -06:00
julian-CStack
93b040bc5f WIP e-cash 2023-04-17 07:53:39 -06:00
julian
788d1f5205 set min wownero confirmations to 4 2023-04-15 12:00:28 -06:00
julian
1e71e3d615 epic amount type cast error fix 2023-04-12 08:09:04 -06:00
julian
b36c98f003 better error handling 2023-04-11 16:09:18 -06:00
julian
b5a58064ac eth gas tracker fixes and token send tweaks 2023-04-11 15:36:37 -06:00
julian
723ec64354 eth fixes 2023-04-11 14:25:13 -06:00
julian
eae2ad1651 delete unused file 2023-04-11 13:17:49 -06:00
julian
e72f2018d0 missed firo amount 2023-04-11 11:20:57 -06:00
julian
ce67673a94 duplicated lower cased eth address fix 2023-04-11 09:53:26 -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
5262bd8933 Merge remote-tracking branch 'stack_wallet_origin/ui-fixes' into firo/spend-mints 2023-04-10 16:05:52 -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
051eb6c924 change now token contract "fix" 2023-04-10 14:14:03 -06:00
julian
0ea4517952 quicker token wallet loading 2023-04-10 12:00:23 -06:00
julian
004c39102c token balance fix 2023-04-10 12:00:23 -06:00
julian
5bf678d41a Balance class clean up 2023-04-10 12:00:23 -06:00
julian
c0105a2058 available balance fix 2023-04-09 13:07:09 -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
51211b34f5 eth token fee parsing fix 2023-04-07 16:02:28 -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
ecc075d5fc Merge remote-tracking branch 'origin/staging' into add-ethereum
# Conflicts:
#	lib/utilities/theme/forest_colors.dart
2023-04-06 12:42:05 -06:00
julian
81c612ddd7 WIP use Amount 2023-04-05 16:06:31 -06:00
Diego Salazar
366c152521
Merge pull request #455 from cypherstack/epic/2-confs
Reduce Epic Cash minimum confirmations to 3
2023-04-03 17:19:32 -06:00
sneurlax
a6c2a30af4
bump min confs to 3 2023-04-03 14:36:06 -05:00
sneurlax
74344168f2 reduce MINIMUM_CONFIRMATIONS to 2 2023-04-03 14:30:36 -05:00
julian
87aab96e58 get real nonce for eth txns 2023-04-03 11:25:56 -06:00
julian
563799feee Merge remote-tracking branch 'origin/staging' into add-ethereum 2023-04-03 10:37:51 -06:00
julian
b1e6ee8d47 Revert "disabled mb"
This reverts commit c9eba36f31.
2023-04-01 09:04:34 -06:00
julian
9a86a6fe9e remove value from estimate for token tx 2023-03-31 18:30:32 -06:00
julian
e584070b96 Merge remote-tracking branch 'origin/staging' into add-ethereum 2023-03-31 17:19:31 -06:00
julian
6704d82889 eth + token send fixes 2023-03-31 17:17:15 -06:00
julian
1de0eec6cc get current address nonce 2023-03-31 16:31:19 -06:00
julian
d4cba56e81 fetch raw tx call 2023-03-31 15:38:22 -06:00
julian
bcadb07e9b temp debugging print 2023-03-31 15:14:45 -06:00
likho
516a916b9d Fix Epiccash sendAll not enough funds error 2023-03-31 20:27:27 +02:00
julian
c8139007e3 use new transaction nonce property 2023-03-31 10:18:51 -06:00
julian
8d0dcafccf WIP token send logic 2023-03-31 09:26:43 -06:00
julian
b3c4e690c7 move confirmSend to a nicer place 2023-03-31 09:25:08 -06:00
julian
a04223e0b7 eth gas tracker updated 2023-03-30 14:55:51 -06:00
julian
61894c9e8e price service token tweaks 2023-03-30 10:41:28 -06:00
julian
b7eaf9a8c2 fetch correct proxy token ABI 2023-03-29 15:57:52 -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
bfeb3e0d30 WIP eth fees 2023-03-29 12:49:12 -06:00
julian
5e5730d5a5 eth token wallet general ui and wallet selection interface 2023-03-28 16:18:11 -06:00
julian
24904f3476 Merge remote-tracking branch 'origin/staging' into add-ethereum
# Conflicts:
#	lib/utilities/show_loading.dart
2023-03-28 12:37:09 -06:00
julian
b4a344ebad firo balance bug fix 2023-03-28 08:14:48 -06:00
Diego Salazar
36d222ebd8
Merge pull request #436 from cypherstack/disable_mb
Disable mb
2023-03-27 14:58:58 -06:00
julian
21e0113439 sync getter 2023-03-27 14:29:08 -06:00
julian
e29d8dc047 Merge remote-tracking branch 'origin/staging' into add-ethereum
# Conflicts:
#	lib/pages/add_wallet_views/add_wallet_view/add_wallet_view.dart
2023-03-27 08:50:10 -06:00
julian
6612dde2ef show only token transfers in token tx history (for now) 2023-03-27 08:43:35 -06:00
julian
4bd87e8dce start using Amount 2023-03-27 08:41:59 -06:00
julian
c9eba36f31 disabled mb 2023-03-25 19:27:42 -06:00
julian
951c9638f3 bch zero conf fixes 2023-03-24 16:44:25 -06:00
julian
678a926ff3 bch zero conf fixes 2023-03-24 16:43:34 -06:00
julian
b2b9accee1 add serialized amount string to transaction 2023-03-24 15:31:05 -06:00
julian
e53683ac68 WIP token tx parsing 2023-03-24 10:11:18 -06:00
julian
361d3a8095 get token info fix 2023-03-24 08:37:47 -06:00
julian
af2c674809 remove unused variable 2023-03-23 18:26:55 -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
b27b90c08a WIP eth token abi fetch and parsing 2023-03-23 18:05:35 -06:00
julian
85c416fb50 eth trueblocks fetch token abi call 2023-03-23 18:04:47 -06:00
julian
c51ef8ee26 edit wallet token list 2023-03-23 16:28:20 -06:00
julian
1fd7e129e2 empty token tx check 2023-03-23 13:51:56 -06:00
julian
09b2c68cd5 get token contract info updates and fixes 2023-03-23 13:48:38 -06:00
julian
40cceed8e6 use trueblocks api to grab transactions 2023-03-23 12:19:51 -06:00