Commit graph

2712 commits

Author SHA1 Message Date
detherminal
95a0309b8b docs: add header to source code again 2023-05-27 00:21:16 +03:00
detherminal
ccf5e68fc6 Revert "docs: add copyright header to all source code"
This reverts commit 84ac798bb8.
2023-05-27 00:19:24 +03:00
detherminal
a347ddffc4 feat: add openalias support for xmr 2023-05-27 00:17:09 +03:00
detherminal
97e25a73be docs: explain and comment code 2023-05-26 22:25:59 +03:00
julian
8b0c1e4f9a debugging 2023-05-26 12:48:10 -06:00
fossephate
3586383f93 balance fixes, sync status working, and transaction view working 2023-05-26 14:47:50 -04:00
Rylee Davis
ec3c16d5db Custom pin length (#555)
* WIP: pinCount stuff

* pin decoration + and pinCount is 0

* pin length tweaks

* fixes error when backspacing pin + add icon to flushbar

* removed Constants.pinLength + changes to "change pin" setting

* testing pin output

* WIP: tests pass + commented out isRandom pin 1234

* removed pin output

---------

Co-authored-by: ryleedavis <rylee@cypherstack.com>
Co-authored-by: julian <julian@cypherstack.com>
2023-05-26 10:48:56 -06:00
fossephate
e0efbe669d fix for open blocks + fix for new wallet creation 2023-05-26 12:47:11 -04:00
detherminal
84ac798bb8 docs: add copyright header to all source code 2023-05-26 19:33:04 +03:00
julian
28e4764ec4 fix: namecoin tx signing 2023-05-26 08:59:20 -06:00
julian
4cf098c17b fix: wrap connect in mutex protect to prevent race condition opening multiple sockets 2023-05-25 16:34:03 -06:00
julian
c348230322 clean up log spam 2023-05-25 15:55:57 -06:00
julian
c8b7d3aab8 Merge remote-tracking branch 'origin_SW/staging' into persistence 2023-05-25 15:41:11 -06:00
julian
e9309bc281 remove unneeded mutex and clean up unneeded async 2023-05-25 15:40:30 -06:00
julian
e72e59a50a some clean up 2023-05-25 15:29:23 -06:00
Josh Babb
72c00cbea7 remove comment
did the TODO
2023-05-25 15:59:43 -05:00
Josh Babb
69a085e9a6 rpc2.dart -> rpc.dart 2023-05-25 15:52:07 -05:00
Josh Babb
73312cb920 after socket closes, complete pending requests with errors 2023-05-25 15:51:27 -05:00
julian
e0e4ffe0f4 fix: cached electrumx constructor usage 2023-05-25 14:37:34 -06:00
Josh Babb
5eec303476 do not send next available request from doneHandler 2023-05-25 15:35:55 -05:00
Josh Babb
6be59b6760 add todo note 2023-05-25 15:29:14 -05:00
Josh Babb
30c860d8c3 nullify socket
better safe than sorry!
2023-05-25 15:28:44 -05:00
julian
7718a93059 convert cached electrumx into a simple wrapper 2023-05-25 14:27:58 -06:00
Josh Babb
ba41094ed2 send next available request in queue if isNotEmpty 2023-05-25 13:56:18 -05:00
Josh Babb
6ca51c99c9 destroy socket when done 2023-05-25 13:49:14 -05:00
Josh Babb
6749bc2f06 change exception message
:)
2023-05-25 11:29:46 -05:00
Josh Babb
b82ed502ca replace rpc.dart with rpc2.dart 2023-05-25 11:27:35 -05:00
julian
6a92657f50 fix: Firo total displayed on managed favourite list card 2023-05-25 10:10:07 -06:00
julian
3189203419 fix: Firo total displayed on favourite card 2023-05-25 10:05:20 -06:00
julian
74d3175d87 fix: Handle sent to self transactions when sent to a change address 2023-05-25 09:24:07 -06:00
julian
2b9f4c85f9 queued json rpc requests per socket connection 2023-05-24 17:35:45 -06:00
Josh Babb
6b9337ee10 remove unused requestQueue 2023-05-24 16:23:45 -05:00
Josh Babb
535c400a69 re-add mutex; release in doneHandler 2023-05-24 16:06:56 -05:00
Josh Babb
3cb894e7c6 add getBlockHeadTip response/error checking 2023-05-24 16:05:59 -05:00
Josh Babb
d8a7c8d5ad null awareness 2023-05-24 15:56:08 -05:00
Josh Babb
64caffce79 console logging 2023-05-24 15:55:55 -05:00
Josh Babb
39b99e6900 comments 2023-05-24 15:55:36 -05:00
Josh Babb
866b7c4e88 comment mutex code 2023-05-24 15:55:24 -05:00
fossephate
c5f2480634 receive nano transactions 2023-05-24 15:09:00 -04:00
julian
35b631f329 fix: block possible ordinal containing utxos 2023-05-24 13:07:44 -06:00
julian
d7aa8134d3 block possible ordinal containing utxos 2023-05-24 13:02:36 -06:00
Josh Babb
7bb74455cd comment 2023-05-24 13:40:19 -05:00
Josh Babb
73ecbf15d5 move dataHandler and errorHandler up in scope 2023-05-24 13:39:21 -05:00
julian
4c12e870b1 stream subscription 2023-05-24 12:27:19 -06:00
fossephate
97ecb72ecf Merge branch 'add_nano' of https://github.com/cypherstack/stack_wallet into add-nano 2023-05-24 14:20:38 -04:00
fossephate
b6ace4ef27 save 2023-05-24 14:19:49 -04:00
Josh Babb
81689426e2 add logs 2023-05-24 13:15:19 -05:00
Josh Babb
2762490e6d add todo 2023-05-24 13:15:10 -05:00
Josh Babb
281a04654c reuse socket var where possible 2023-05-24 13:14:56 -05:00
Josh Babb
2428dd7d12 move socket var up in scope 2023-05-24 13:14:21 -05:00
Josh Babb
1e11fdd6fe make vars final 2023-05-24 13:12:54 -05:00
julian
feabebcce5 amount fix 2023-05-24 12:11:33 -06:00
julian
bc868a7d38 fix: merge clean up 2023-05-24 12:08:32 -06:00
julian
553e035ca7 Merge remote-tracking branch 'origin_SW/staging' into add_nano
# Conflicts:
#	lib/models/isar/stack_theme.dart
#	lib/models/isar/stack_theme.g.dart
#	lib/pages/settings_views/global_settings_view/manage_nodes_views/add_edit_node_view.dart
#	lib/services/coins/firo/firo_wallet.dart
#	lib/themes/coin_icon_provider.dart
#	lib/themes/coin_image_provider.dart
#	lib/utilities/constants.dart
#	lib/utilities/enums/coin_enum.dart
2023-05-24 11:37:37 -06:00
julian
0933546806 fix: various eCash tweaks + 0 conf 2023-05-24 11:00:54 -06:00
julian
da522128de fix: eCash display name 2023-05-24 10:51:57 -06:00
julian
1a8aefa45c fix: quick hack to show incoming joinsplit txns 2023-05-24 10:25:13 -06:00
fossephate
03d69d44ce small cleanup 2023-05-24 12:12:28 -04:00
fossephate
7a95c20645 nano sending + minor sats constants refactor 2023-05-24 11:56:44 -04:00
julian
e7db6739ec disable wownero on linux 2023-05-23 17:47:52 -06:00
julian
206a460cfa fix: update theme button 2023-05-23 17:19:16 -06:00
julian
6065c29e0d add update theme button 2023-05-23 15:13:56 -06:00
julian
ee128810b5 fix debug address details view on desktop 2023-05-23 10:53:06 -06:00
julian
40dfced949 fix: default to 0 mint index if none saved 2023-05-23 10:43:08 -06:00
julian
a77c8c02fd ensure skipping tx if it is a jmint 2023-05-23 10:11:44 -06:00
julian
73d877654b add tx subtype to tx details view in debug mode 2023-05-23 09:52:48 -06:00
julian
304675351a WIP: firo tx parsing clean up and fixes 2023-05-23 09:46:34 -06:00
julian
efd2742184 dev feat: pretty print json helper util 2023-05-23 09:36:55 -06:00
julian
ee830a4788 Merge remote-tracking branch 'origin_SW/staging' into firo_cleanup 2023-05-23 07:32:12 -06:00
julian
141c3f34c9 temp fix 2023-05-19 16:58:44 -06:00
julian
523fd96929 Revert "re enable git versions"
This reverts commit ab02950f03.
2023-05-19 16:53:10 -06:00
julian
69a850b9db fix: anonymize more option icon 2023-05-19 16:44:57 -06:00
julian
6b68ab53b0 fix: anonymize more option icon temporarily 2023-05-19 16:44:55 -06:00
julian
9d76b60d00 fix: paynym unclaimed asset 2023-05-19 16:44:52 -06:00
julian
b7619c3108 default to 12 word seeds for new wallets 2023-05-19 16:44:49 -06:00
julian
78d2627064 fix: assets display 2023-05-19 16:44:46 -06:00
julian
ab02950f03 re enable git versions 2023-05-19 16:41:13 -06:00
julian
e2d7c8ee53 fix: anonymize more option icon 2023-05-19 15:51:47 -06:00
julian
438bfcb39c fix: anonymize more option icon temporarily 2023-05-19 15:42:53 -06:00
julian
68fdaeff13 fix: paynym unclaimed asset 2023-05-19 14:11:01 -06:00
julian
8540bd36fa default to 12 word seeds for new wallets 2023-05-19 14:08:57 -06:00
julian
5acf74e260 fix: assets display 2023-05-19 13:42:11 -06:00
julian
b7bb62653e no wow/xmr startup on windows 2023-05-19 13:33:51 -06:00
julian
9949b8788b fix: missing import from merge 2023-05-19 13:32:49 -06:00
julian
64c509c847 Merge remote-tracking branch 'origin_SW/add-ecash' into windows
# Conflicts:
#	lib/pages_desktop_specific/desktop_menu.dart
#	lib/pages_desktop_specific/password/delete_password_warning_view.dart
#	lib/services/coins/bitcoin/bitcoin_wallet.dart
#	lib/services/coins/bitcoincash/bitcoincash_wallet.dart
#	lib/services/coins/dogecoin/dogecoin_wallet.dart
#	lib/services/coins/firo/firo_wallet.dart
#	lib/services/coins/litecoin/litecoin_wallet.dart
#	lib/services/coins/namecoin/namecoin_wallet.dart
#	lib/services/coins/particl/particl_wallet.dart
#	lib/services/locale_service.dart
#	lib/utilities/stack_file_system.dart
#	scripts/setup.sh
2023-05-19 12:54:20 -06:00
julian
6c691e26f5 fix: trocador swap status link 2023-05-19 08:44:15 -06:00
detherminal
8f89f19b91 feat: add nano 2023-05-19 13:20:16 +03:00
julian
d7fa52e9cd add ecash to price fetch service 2023-05-18 17:01:58 -06:00
julian
1991cdb6b2 add version check for default installed themes and some clean up 2023-05-18 17:00:23 -06:00
julian
f0e16fc7da fix: coin icons for testnet wallets 2023-05-18 16:13:52 -06:00
julian
b946bba01b v2 theme assets 2023-05-18 12:52:48 -06:00
julian
c82564c96c disable ecash assets in prep for dynamic theme coin assets migrate 2023-05-18 09:35:12 -06:00
ryleedavis
bc6185801d corrected ecash json path 2023-05-18 09:02:37 -06:00
julian
98ce9701a5 ecash from ticker fix 2023-05-18 08:23:42 -06:00
julian
37259643ab unwrap optionals 2023-05-18 07:33:54 -06:00
julian
ee21a2dbb5 WIP prepare for ecash assets 2023-05-17 16:57:38 -06:00
julian
4f3a2830c5 debug address details info 2023-05-17 15:55:36 -06:00
julian
a3422696ba fix 2023-05-17 15:55:17 -06:00
julian
dfc283c757 ecashaddrs working? 2023-05-17 13:14:16 -06:00
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
140e5c279f Merge branch 'firo_cleanup' into ui-fixes 2023-05-16 16:30:12 -06:00
julian
ab78e3fbca clean up _getUnspentCoins() 2023-05-16 15:59:06 -06:00
ryleedavis
e463560a5f fix support page icon color 2023-05-16 15:38:18 -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
ryleedavis
bb5ada8178 fix eye icon overflow error on desktop 2023-05-16 13:36:59 -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
939e10248b fix: grammar 2023-05-16 11:04:45 -06:00
julian
e843065278 fix: contact id access fixes 2023-05-16 09:33:28 -06:00
julian
ba33aee395 fix: token view summary icon asset loading 2023-05-15 16:31:03 -06:00
julian
f6ab07787f Merge remote-tracking branch 'origin_SW/staging' into ui-fixes 2023-05-15 15:34:30 -06:00
julian
f5ff1c4016 fix: grammar 2023-05-15 15:34:07 -06:00
julian
63035aabf0 feat: desktop custom block explorers 2023-05-15 15:33:32 -06:00
julian
a2c15ac332 fix: missing updated data version 2023-05-15 14:21:09 -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
9764ad0d14 fix: added new color to fix orange theme issue 2023-05-15 10:43:23 -06:00
julian
7aeab97151 fix: text color of more options 2023-05-15 09:32:40 -06:00
julian
100b3085eb fix: wallet nav bar swap icon 2023-05-15 08:34:30 -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
9820aed1ff show flush bar on desktop instead of dialog 2023-05-12 15:20:47 -06:00
julian
664a8212fd fix: alignment 2023-05-12 15:06:38 -06:00
julian
b715cf9535 fix: selected theme on deleting themes changing 2023-05-12 15:05:40 -06:00
julian
147914f650 fix: fix show theme preview in incognito without network loading 2023-05-12 14:49:20 -06:00
julian
451e5e1259 fix: show theme preview in incognito without network loading 2023-05-12 14:13:15 -06:00
julian
4a5ca30b6f fix: tests 2023-05-12 14:02:04 -06:00
julian
c713de3e79 pass bytes around instead 2023-05-12 13:51:15 -06:00
julian
fe0155edc7 Merge remote-tracking branch 'origin_SW/staging' into themes 2023-05-12 11:16:32 -06:00
julian
e032e90957 update theme schema to add support for preview assets 2023-05-12 10:19:15 -06:00
julian
63fff1d644 Add desktop custom theme selection and download ui. As well fixed a couple bugs on the mobile version 2023-05-12 09:32:35 -06:00
julian
fcecb0d6b2 Hacked Textfield layout. Needs correct colors for hover/active/disabled etc. Fixes cursor height issue 2023-05-11 18:07:27 -06:00
julian
bcb5075fb2 add install theme button to app bar 2023-05-11 11:34:14 -06:00
julian
6f97b06569 incognito theme management 2023-05-11 11:28:37 -06:00
julian
ee29025364 add manual theme installation 2023-05-11 10:33:10 -06:00
julian
0ec891b439 fix: listen for theme changes 2023-05-11 09:36:45 -06:00
julian
7c1d909b27 add uninstall button 2023-05-11 09:30:51 -06:00
julian
7131632044 fix: background 2023-05-11 09:30:15 -06:00
julian
b16e96fc6d ask to load themes if in incognito mode 2023-05-11 09:10:02 -06:00
julian
6990d60b9b various fixes, layout tweaks, and refactoring 2023-05-10 16:49:56 -06:00
julian
6ed6ffb18b add previewImageUrl property 2023-05-10 13:25:17 -06:00
julian
7c4237f8f8 check fetched theme data sha256 hash 2023-05-10 13:21:08 -06:00
julian
9e39d995e2 fetch themes from server logic 2023-05-10 13:02:35 -06:00
julian
6e381ef280 fix: mobile system default theme options 2023-05-10 11:01:25 -06:00
julian
2f895c12a7 switch themes using new theming method 2023-05-10 10:16:49 -06:00
julian
e1e1397f17 theme installed check 2023-05-10 08:53:46 -06:00
julian
436a15cfbe fix: merge fixes 2023-05-10 07:39:00 -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
71992ea0c8 fix: use SvgPicture.file constructors for themed assets located in the filesystem 2023-05-09 17:59:26 -06:00
julian
f8e6b060e6 encapsulate themes dir across platforms 2023-05-09 17:27:48 -06:00
julian
3757385b81 WIP install default themes on startup 2023-05-09 17:18:44 -06:00
julian
4fe014287c fix: assets paths 2023-05-09 17:18:27 -06:00
julian
604e4cfde7 install theme from zip archive functionality 2023-05-09 17:18:13 -06:00
julian
7e277a829e fix: notification wrapper bug 2023-05-09 17:16:12 -06:00
julian
e53e7e5055 set up installing of themes and including default themes 2023-05-09 15:58:42 -06:00
julian
60af990c1f remove a couple more hard coded assets 2023-05-09 14:59:21 -06:00
julian
6d502ac01d temp comment out some code 2023-05-09 14:59:16 -06:00
julian
2984b49178 use themeId strings 2023-05-09 14:59:16 -06:00
julian
9de6d0619d fix: ThemeAssets embedded constructor and generate Isar schema 2023-05-09 14:59:16 -06:00
julian
136207c179 pull gifs out of bundled assets 2023-05-09 14:59:16 -06:00
julian
d182fd2740 replace ThemeType enum with themeId Strings 2023-05-09 14:20:29 -06:00
julian
80a23c4bee update stack theme class to parse json properly 2023-05-09 14:04:48 -06:00
julian
39a749d522 remove background image path 2023-05-09 13:59:31 -06:00
julian
0c305c4911 delete color theme files 2023-05-09 13:59:09 -06:00
julian
5f9c68e534 move notifications wrapper 2023-05-09 12:01:55 -06:00
julian
b66e43f788 comment out erroring code for now 2023-05-09 11:56:24 -06:00
julian
511ac393b6 untested notifications wrapper 2023-05-09 11:54:15 -06:00
julian
aae766cdba update a few more assets and added missing background asset to theme class 2023-05-09 10:59:55 -06:00
julian
fae467440c update text styles 2023-05-09 10:53:15 -06:00
julian
7da7302e63 fix: added missing assets to theme and updated more references to use theme provided assets 2023-05-09 10:51:30 -06:00
julian
e92501c38d fix: load secondary (ex. chan kiss) gif properly if exists 2023-05-09 10:36:01 -06:00
julian
87bafa77c5 fix: load gif properly if exists 2023-05-09 10:32:36 -06:00
julian
8f5da9c4da fix: add missing buy image to theme and fix a couple other asset refs 2023-05-09 10:30:06 -06:00
julian
bd476a04a0 pass theme id 2023-05-09 10:24:37 -06:00
julian
efec395c79 fix: import 2023-05-09 10:24:11 -06:00
julian
789029a11f some clean up of assets.dart 2023-05-09 10:23:39 -06:00
julian
7da9f3b6e1 add secondary images to differentiate between chan plain and kiss coin gifs 2023-05-09 09:48:28 -06:00
julian
f3da99fd00 use id given by server 2023-05-09 09:26:19 -06:00
julian
236b895ae4 fix: delete themed assets from bundle and remove remaining references to assets.dart for themed icon assets 2023-05-09 09:21:04 -06:00
julian
575ec170f8 fix: added missing exchange status icon assets 2023-05-09 09:14:48 -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
julian-CStack
a73f5a1b3d remove unnecessary cast 2023-05-08 12:03:38 -06:00
julian-CStack
11268d980c comment out unused vars 2023-05-08 11:58:36 -06:00
julian-CStack
f9f6d749ef Merge remote-tracking branch 'origin_SW/staging' into themes 2023-05-08 10:55:11 -06:00
julian
3f5cfcbfaf clean up unused code, imports, and formatting 2023-05-08 08:36:05 -06:00
julian
c8655d56bc Merge remote-tracking branch 'origin_SW/staging' into custom_block_explorers 2023-05-08 08:20:52 -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
detherminal
47df2a8a7a feat: use isar instead of hive 2023-05-05 20:30:22 +03:00