Commit graph

836 commits

Author SHA1 Message Date
Craig Raw
8914acff68 minor followup 2021-06-10 17:02:32 +02:00
Craig Raw
4a0ecba716 add keystone hww import and export 2021-06-10 16:37:41 +02:00
Craig Raw
e99b1d4171 upgrade to hwi 2.0.2 and relocate hwi to sparrow home folder on osx to avoid partial installation deletions in tmpdir 2021-06-10 14:06:14 +02:00
Craig Raw
a59d5d3086 introduce database persistence with automatic migration of existing wallets 2021-06-10 12:08:35 +02:00
Craig Raw
600a77da3a allow psbts without utxo data to be loaded if utxos are provided in an existing psbt 2021-05-28 11:09:23 +02:00
Haakon Nilsen
4cbde7e7aa When entering mnemonic words, don't close dropdown when a prefix is encountered, and move focus to the next field upon completion 2021-05-27 10:56:47 +02:00
Haakon Nilsen
e740c6d162 Disable transaction saving menu items after a transaction tab is closed and no other tabs are open 2021-05-27 09:15:36 +02:00
Haakon Nilsen
f7f5852476 Disable the "Save transaction" menu item when starting app without any open tabs 2021-05-26 18:57:07 +02:00
Haakon Nilsen
447e2ab264 Disable the keyboard shortcut for saving PSBT binary when its parent menu is disabled 2021-05-26 18:54:20 +02:00
Haakon Nilsen
c096327be4 Close "About" and "Introduction" when Escape key is pressed 2021-05-25 22:13:51 +02:00
Craig Raw
911153e1aa fix receive to address context menu actions 2021-05-25 08:21:17 +02:00
Craig Raw
a60eadf8fc add export to specter diy 2021-05-24 14:20:08 +02:00
Craig Raw
9ebbf2557f support electrs batching and improve batching read timeout handling 2021-05-24 13:39:06 +02:00
Craig Raw
42b279d22a add specter desktop reimport usb wallets warning 2021-05-24 12:29:57 +02:00
Craig Raw
1a452db4cf add tooltip to send utxos button with directions on how to select multiple utxos 2021-05-24 12:27:30 +02:00
Craig Raw
c1cf5be616 add mempool.bisq.services as a broadcaster, broadcast tx twice if possible on mainnet, handle different network broadcaster network capabilities 2021-05-21 11:48:13 +02:00
Craig Raw
dd146210ba set send amount to total utxo value when sending selected utxos before an address or label is added 2021-05-21 09:53:00 +02:00
Craig Raw
94088f795c handle invalid values from mempool.get_fee_histogram 2021-05-21 08:44:55 +02:00
Craig Raw
c5b09189df explicitly place decorationpane in the scene graph to avoid app resizing issues 2021-05-20 17:27:33 +02:00
Craig Raw
197c44bb07 update null and empty labels, clear script hash cache on increasing gap limit 2021-05-20 14:49:16 +02:00
Craig Raw
c202a941b9 add mempool.emzy.de as another broadcaster 2021-05-20 14:48:01 +02:00
Craig Raw
383594b03c v1.4.1 2021-05-20 12:32:15 +02:00
Craig Raw
42bfe572ef calculate and cache script hashes statuses on wallet load to avoid unnecessary initial history fetching 2021-05-20 09:52:02 +02:00
Craig Raw
1677c47500 request payjoin transactions (over tor if available) in background thread 2021-05-19 12:24:46 +02:00
Craig Raw
53a447c72d fix cpu usage on spreadsheetview 2021-05-19 09:51:55 +02:00
Craig Raw
f23a891ece add send to many dialog 2021-05-19 08:41:15 +02:00
Craig Raw
0e42c657b3 broadcast transactions over tor to a broadcasting service where tor proxy available 2021-05-18 09:37:59 +02:00
Craig Raw
b17c15f702 request new change address in the transaction diagram 2021-05-17 13:21:56 +02:00
Craig Raw
c9cdf6e77d handle partial rbf, fix cursor reset on payment label 2021-05-17 11:58:12 +02:00
Craig Raw
4f6ead842d fix txtree selection bug when preselecting a txi/txo on opening the editor for the first time 2021-05-17 10:53:26 +02:00
Craig Raw
adcddfa84d various minor utxo screen improvements, including hiding the utxo chart 2021-05-17 10:09:19 +02:00
Craig Raw
d67c5c5218 update related address, tx, txi and txo labels when null, set tx, txi, txo labels to address label on receive, add paste label to context menu 2021-05-14 18:03:46 +02:00
Craig Raw
fb72010bdf refactor storage to handle different persistence strategies 2021-05-14 12:55:12 +02:00
Craig Raw
8bc8bdb2f2 dont backup wallets outside of wallets folder 2021-05-12 14:52:19 +02:00
Craig Raw
8f4cf9f2a0 add unique4j classes to avoid module dependency issue 2021-05-12 14:28:56 +02:00
Craig Raw
ed323a8388 ensure aopp window is always on top 2021-05-12 09:19:49 +02:00
Craig Raw
d559b437b3 bring window to front one external file load 2021-05-12 09:02:39 +02:00
Craig Raw
6155306acc always try obtain application lock on startup 2021-05-12 08:46:24 +02:00
Craig Raw
6f35d86890 bring opened file window to foreground 2021-05-11 12:58:11 +02:00
Craig Raw
cbf32a36c6 follow up #2 2021-05-11 12:40:20 +02:00
Craig Raw
574209c837 ensure file and uri opening on original app instance 2021-05-11 12:31:36 +02:00
Craig Raw
74c83fc5e1 fade animation on server toggle while connecting 2021-05-11 08:52:45 +02:00
Craig Raw
a4ddc11bab Merge branch 'master' of github.com:sparrowwallet/sparrow 2021-05-10 14:34:57 +02:00
Craig Raw
3bf480234f fix aopp alert dialog on windows 2021-05-10 14:25:16 +02:00
Craig Raw
29811ca5de handle uri and psbt opening on linux 2021-05-10 14:22:24 +02:00
Craig Raw
b7522420cf cleanup windows install 2021-05-10 13:41:46 +02:00
Craig Raw
f7d1e22e4e use custom wix installation file 2021-05-10 13:39:40 +02:00
Craig Raw
e0c38031b1 add aopp registry keys on windows install 2021-05-10 12:17:52 +02:00
Craig Raw
e046512e86 open files or uris from commandline arguments 2021-05-10 11:44:06 +02:00
Craig Raw
7cba0de268 check if opening uris is supported 2021-05-10 08:42:50 +02:00
Craig Raw
425e476f20 add aopp proof of address ownership support 2021-05-07 16:24:28 +02:00
Craig Raw
e5dd33d5a1 register and add bitcoin: uri handler, register aopp: handler 2021-05-06 14:21:56 +02:00
Craig Raw
07012615ff 2nd fix to alert height 2021-05-05 14:59:53 +02:00
Craig Raw
23f3ae51db hide alert on clicking link 2021-05-05 14:43:33 +02:00
Craig Raw
10514b8039 shorten mitm message to avoid alert height ellipsis 2021-05-05 14:35:43 +02:00
Craig Raw
19637fd706 handle missing webcam dependency on windows showing error alert with link to resolve 2021-05-05 14:31:28 +02:00
Craig Raw
dd56e2b42e handle windows with owner only file and directory creation 2021-05-05 12:05:48 +02:00
Craig Raw
e0b6530275 only save tmp backup wallet if connected 2021-05-05 11:34:45 +02:00
Craig Raw
a0d3f3b745 ensure config, wallet dirs and wallets are owner read/write only 2021-05-05 11:25:25 +02:00
Craig Raw
438c13fe2d add wallet transactions loading log viewer, and improve loading messages 2021-05-04 15:17:57 +02:00
Craig Raw
c067300ee8 fix empty addresses table bug after requesting many new addresses 2021-05-04 10:42:18 +02:00
Craig Raw
020ca2f312 always use 8 fraction digits when displaying btc amounts, use a fixed width font for numbers on osx 2021-05-04 10:23:35 +02:00
Craig Raw
5ede1dd97d ensure wallet export file streams are always closed 2021-04-30 14:03:58 +02:00
Craig Raw
45f6ae214a add icons to wallet context menu items where they appear as action buttons 2021-04-30 13:19:53 +02:00
Craig Raw
45a9093055 ensure import file stream is closed 2021-04-29 20:58:04 +02:00
Craig Raw
d6c7a0b757 cache fetched script hash status and dont retrieve history again until it changes 2021-04-29 13:21:52 +02:00
Craig Raw
55181165c8 use read timeout to improve disconnection behaviour, especially while refreshing a wallet 2021-04-29 08:02:56 +02:00
Craig Raw
b6f7483bf9 v1.4.0 2021-04-28 13:10:06 +02:00
Craig Raw
0593c764b6 remove socket read timeout 2021-04-28 13:03:58 +02:00
Craig Raw
11a3bfd893 make welcome dialog server toggle uneditable and add tooltip to indicate demonstration only 2021-04-28 12:33:18 +02:00
Craig Raw
f1d7fc656c set mnemonic enter words button to number of chosen words when dropdown item clicked 2021-04-28 12:18:35 +02:00
Craig Raw
ec918b78ed followup to public server change on wallet history failure 2021-04-28 11:46:46 +02:00
Craig Raw
6f5ee7c695 handle server error conditions better, and if using public server try another 2021-04-28 11:23:17 +02:00
Craig Raw
e4264d0199 support toggling trezor passphrase on and off in status bar usb menu 2021-04-27 13:56:32 +02:00
Craig Raw
9feefe8203 show file open/save dialogs on the same screen as the currently focussed window 2021-04-27 12:52:42 +02:00
Craig Raw
93f9539f7b show dialogs on the same screen as the currently focussed window 2021-04-27 12:22:39 +02:00
Craig Raw
8865f4946a follow up to previous commit 2021-04-27 09:44:56 +02:00
Craig Raw
65e13d7b50 fix adding new payment tabs, update last used label on connection 2021-04-27 08:17:30 +02:00
Craig Raw
11189bc605 create wallet transaction in background thread to keep ui responsive, and indicate if long running 2021-04-26 16:45:17 +02:00
Craig Raw
40faaec31e handle user defined fee amount better by requiring a fee rate of 1 sat/vb for utxo selectors 2021-04-26 14:40:11 +02:00
Craig Raw
b5b384f5da update transaction tree with final txid when transaction is extracted 2021-04-24 09:04:28 +02:00
Craig Raw
23c802bb5f cpfp follow up 2021-04-24 08:40:48 +02:00
Craig Raw
4567f62ef8 hide show derivation link to fix linux width issue 2021-04-23 12:16:20 +02:00
Craig Raw
cd00535212 add create cpfp transaction functionality 2021-04-23 12:05:30 +02:00
Craig Raw
3ff626e2aa always set server toggle tooltip on connection to handle bwt startup 2021-04-22 12:24:09 +02:00
Craig Raw
deee63c701 dont revert to tx broadcast state when verbose tx fetch fails 2021-04-22 12:12:42 +02:00
Craig Raw
b465b9fdaf various minor ui fixes including update screens after includemempooloutputs changed 2021-04-21 13:09:31 +02:00
Craig Raw
f377f97931 add submit bug report to help menu 2021-04-21 10:37:41 +02:00
Craig Raw
58bee33383 always display fresh unused address on startup and when address has been used 2021-04-21 10:23:48 +02:00
Craig Raw
18075e0686 improve variable naming for utxo selection criteria 2021-04-21 09:37:19 +02:00
Craig Raw
b836774289 if allow unconfirmed, include mempool outputs in balance #2 2021-04-20 11:57:22 +02:00
Craig Raw
f2f15208bf if allow unconfirmed, include mempool outputs in balance 2021-04-20 11:55:43 +02:00
Craig Raw
164742387f disable receive address field once used 2021-04-20 11:46:36 +02:00
Craig Raw
e62b44bbbe allow external unconfirmed utxos to be spent 2021-04-20 11:08:44 +02:00
Craig Raw
e9d0491b42 move insufficient funds label to below amount field 2021-04-20 10:08:07 +02:00
Craig Raw
3fc2127337 import and support master private key keystores 2021-04-20 08:28:16 +02:00
Craig Raw
702d92d4f2 handle failure to retrieve broadcasted transaction from mempool, allow retry 2021-04-19 10:34:47 +02:00
Craig Raw
a440c22455 deduct unconfirmed transactions with negative values from balance 2021-04-19 09:50:09 +02:00
Craig Raw
1c2e635650 spacing followup 2021-04-19 09:34:28 +02:00
Craig Raw
7b856f32a2 add insufficient inputs feedback label 2021-04-19 09:29:19 +02:00
Craig Raw
42b96e042b improve bip39 keystore import ux 2021-04-19 08:41:46 +02:00
Craig Raw
f8023e9a72 add (non-final) suffix to fee rate field when tx is lacking signatures 2021-04-16 14:05:53 +02:00
Craig Raw
7b9b78684c show tx hex tooltip input, output and witness indexes 2021-04-16 14:00:12 +02:00
Craig Raw
10d6fb8b2b fix npe on fee rates selection toggle 2021-04-16 12:30:59 +02:00
Craig Raw
1556b8930c null-safe testing of device needspin and needspassphrase 2021-04-16 11:38:01 +02:00
Craig Raw
d52bade085 various minor ui improvements 2021-04-16 10:53:05 +02:00
Craig Raw
2c98c8606c add transaction hex tooltips 2021-04-15 15:18:00 +02:00
Craig Raw
a8430c79eb allow manual configuration of hwi executable path 2021-04-14 11:25:40 +02:00
Craig Raw
3fe5fd89c4 fix qr display dialog sizing 2021-04-14 10:20:23 +02:00
Craig Raw
78406b3110 use cryptopsbt encoding 2021-04-14 09:17:42 +02:00
Craig Raw
2dfdbd6d78 support ur:crypto-output scan and display of wallet output descriptor 2021-04-13 17:27:42 +02:00
Craig Raw
2e86840e92 reduce opacity for unconfirmed txes 2021-04-12 16:27:10 +02:00
Craig Raw
9600d5707c when importing electrum wallets retrieve tx labels from address labels 2021-04-12 16:16:07 +02:00
Craig Raw
497cf333b0 ensure wallet cannot have negative balance with same block tx ordering 2021-04-12 15:47:45 +02:00
Craig Raw
eb55b9420a add option to strip sensitive info from psbt serialization 2021-04-12 13:42:36 +02:00
Craig Raw
3b3e46983f deduplicate output descriptors for bwt 2021-04-12 12:22:51 +02:00
Craig Raw
31fb527218 color transaction values which deduct from wallet balance in red 2021-04-12 09:16:49 +02:00
Craig Raw
685fef6b76 shorten labels for linux 2021-04-08 09:20:35 +02:00
Craig Raw
9a4eb22396 v1.3.2 2021-04-08 08:38:16 +02:00
Craig Raw
57eb3a77e7 reduce error logging when fee and exchanges rate sources are unavailable 2021-04-08 08:34:31 +02:00
Craig Raw
8388a7fed5 reduce camera cpu usage through sleeping webcam capture threads to match 10fps 2021-04-07 13:34:06 +02:00
Craig Raw
d5830399b7 upgrade to hwi 2.0.1 2021-04-07 11:50:52 +02:00
Craig Raw
38b8fa3b86 add view menu item to switch hd capture 2021-04-07 10:36:18 +02:00
Craig Raw
6f26c7e138 update passport import descriptions 2021-04-07 10:01:44 +02:00
Craig Raw
9e869ae69b handle no camera detected better 2021-04-07 09:56:51 +02:00
Craig Raw
4a7b0b20ad tray changes for windows 2021-04-07 09:45:52 +02:00
Craig Raw
8fc971c07c add minimize to system tray functionality 2021-04-07 09:32:01 +02:00
Craig Raw
cb884d97cb request strongest instance of securerandom when generating a seed 2021-04-06 11:46:51 +02:00
Craig Raw
942db9df48 edit passport wallet export description 2021-04-06 09:34:05 +02:00
Craig Raw
193f88b88f implement changes to export addresses functionality 2021-04-06 09:27:51 +02:00
craigraw
6785bccf0e
Merge pull request #89 from jimbojw/export-addresses
Export Addresses to CSV File
2021-04-06 08:40:43 +02:00
Craig Raw
579b9a685b automatically switch between internal and external tor proxy as required when connecting to server 2021-04-05 14:56:23 +02:00
Jimbo
57b3fd99bc Correcting address column in exported CSV, removing Derivation column. 2021-04-05 07:00:04 -04:00
Craig Raw
c3ae98f3d1 add passport multisig wallet export 2021-04-05 12:19:18 +02:00
Craig Raw
d635815607 reduce java-based cpu usage when scanning 2021-04-05 11:29:13 +02:00
Craig Raw
e524396aaf add trezor one passphrase toggle capability 2021-04-02 15:26:43 +02:00
Craig Raw
08edc04c6d save psbts in binary format by default, add file submenu item for base64 2021-04-02 14:12:48 +02:00
Jimbo
e88d6265b4 Adding export button for saving addresses as CSV 2021-04-02 06:29:15 -04:00
Craig Raw
5d91f033c0 add ssl server certificate pinning 2021-04-02 12:27:04 +02:00
Craig Raw
771bd1545c fix export of sparrow wallet from settings screen 2021-04-01 12:41:27 +02:00
Craig Raw
563af71ed2 log errors on failed qr psbt parsing 2021-04-01 09:52:19 +02:00
Craig Raw
f8fa929166 upgrade to hummingbird 1.5.4 which handles legacy encoding in uppercase 2021-03-24 14:37:06 +02:00
Craig Raw
6aaf532051 v1.3.1 2021-03-24 13:33:41 +02:00
Craig Raw
fb59bdfff4 update fee rate priority as fee prediction changes 2021-03-24 13:26:23 +02:00
Craig Raw
c8aa1b0a19 increase tab icon size by 1pt 2021-03-24 13:17:49 +02:00
Craig Raw
11a201b3f5 fix webcam opening/closing issues, display progress bar for qr animation scanning progress 2021-03-24 12:59:33 +02:00
Craig Raw
b74741bccb add sparrow wallet file export, dont unnecessarily ask for password when exporting 2021-03-22 14:39:58 +02:00
Craig Raw
ff43db0842 retain messages from rpc errors when loading wallets with bwt 2021-03-20 11:49:17 +02:00
Craig Raw
8ddac9acba reduce target blocks range, predicting too far ahead leads to incorrect estimates 2021-03-19 18:34:53 +02:00
Craig Raw
0c2554da72 add export button to wallet settings 2021-03-19 14:34:29 +02:00
Craig Raw
1274d56fce ensure fees decrease as target blocks increase, show priority on target blocks slider track 2021-03-19 13:35:59 +02:00
Craig Raw
8d9e253f93 update wallet in walletform on label and keystore source changes, detect threshold change 2021-03-19 12:27:08 +02:00
Craig Raw
9166160008 always show wallet name on password dialog 2021-03-18 11:59:59 +02:00
Craig Raw
35eb8fcdf9 add suffix to rbf transaction labels to indicate transaction has been replaced 2021-03-18 11:34:50 +02:00
Craig Raw
d34c8b8bde add menu command to install udev rules via hwi on linux 2021-03-17 13:53:38 +02:00
Craig Raw
80a079cbee upgrade to hwi 2.0.0-final 2021-03-17 12:58:22 +02:00
Craig Raw
5d181d1abb upgrade to bwt 0.2.3 2021-03-17 12:39:55 +02:00
Craig Raw
6fbd332b4d add preference option to load recent wallets 2021-03-17 11:59:58 +02:00
Craig Raw
211e5952aa various minor ui improvements 2021-03-17 11:39:46 +02:00
Craig Raw
4078c61d6b add tab label icons, show loading and failure status there 2021-03-16 12:07:55 +02:00
Craig Raw
8b7d1e6888 try proxy setting if internal tor cant start 2021-03-15 14:07:48 +02:00
Craig Raw
7c6daf2e11 scan and import connected devices from import wallet dialog 2021-03-15 13:03:09 +02:00
Craig Raw
e1f405d886 default to hd capture on new osx installs 2021-03-15 11:25:30 +02:00
Craig Raw
1d73956853 fixes to minimum and pay then replace fee rates 2021-03-15 10:34:18 +02:00
Craig Raw
205f78151a revert to original hwi file permissions 2021-03-15 09:53:20 +02:00
Craig Raw
5853eb01f5 unpack hwi to all executable file permissions 2021-03-14 12:59:01 +02:00
Craig Raw
1a5e71f852 remove debug on logging config 2021-03-12 18:42:59 +02:00
Craig Raw
5bee26a8cc followup to jul logging bridge 2021-03-12 18:29:04 +02:00
Craig Raw
b9caff352b actually quieten logs by redirecting jul logging to slf4j 2021-03-12 18:14:07 +02:00
Craig Raw
34080ae8b3 try to quieten logs with spurious css warnings 2021-03-12 17:29:13 +02:00
Craig Raw
307c7d53f8 add error logging when enumerate fails 2021-03-12 17:19:54 +02:00
Craig Raw
577e570c99 update to hwi-2.0.0-rc.3 to fix trezor usage with passphrase 2021-03-12 17:14:23 +02:00
Craig Raw
3e287bfb2d dont start version check service if not on mainnet 2021-03-12 10:46:59 +02:00
Craig Raw
9872fc9221 v1.3.0 2021-03-11 14:48:41 +02:00
Craig Raw
84d2db427c dont allow scheduled enumerate to run while interactive commands are running 2021-03-11 14:37:19 +02:00
Craig Raw
cfbf9187e6 update linux and windows hwi binaries to post rc.2 HEAD 2021-03-11 14:01:00 +02:00
Craig Raw
5478ac05b8 show error when importing tpubs from usb on mainnet etc 2021-03-11 11:39:19 +02:00
Craig Raw
836bd6bc40 display error on sendpin correctly 2021-03-11 11:13:30 +02:00
Craig Raw
1bab07fc5f dont allow duplicate loading wallet references 2021-03-11 10:37:30 +02:00
Craig Raw
4b3de044c3 remove unused --addr_type parameter when using hwi displayaddress with --desc 2021-03-11 10:36:44 +02:00
Craig Raw
f2c2fc6071 fix exception on debug logging when sending from two or more utxos on the same derivation 2021-03-11 10:33:51 +02:00
Craig Raw
4dd52eb9dd handle csv export with mempool txes 2021-03-11 10:08:41 +02:00
Craig Raw
e45fdc72a0 reduce log level on electrs notification errors to quieten logs 2021-03-10 14:17:40 +02:00
Craig Raw
d67dd515c4 stop progress bar when loading wallet is closed 2021-03-10 13:49:21 +02:00
Craig Raw
ff962aa5f0 add overpaid indicator to fee priority 2021-03-10 13:16:08 +02:00
Craig Raw
c0e44b2c55 show online docs and log file from help menu 2021-03-10 12:51:17 +02:00
Craig Raw
f0c239d625 upgrade to hwi-2.0.0-rc.2, display addresses on usb devices for multisig wallets 2021-03-10 11:31:19 +02:00
Craig Raw
58a31f435e show tooltips on fee priority label, minor ui improvements 2021-03-10 11:30:06 +02:00
Craig Raw
c49439d541 add menu item to show introduction again 2021-03-08 17:00:32 +02:00
Craig Raw
0070cbfb1e use and display fractional tx virtual size, indicate sizes on unfinalized txes may change 2021-03-08 16:22:22 +02:00
Craig Raw
7ed75fc83d add fee rate priority indicator 2021-03-08 15:25:03 +02:00
Craig Raw
13d701b0a7 indicate when initially loading a wallets transactions in status bar 2021-03-08 10:45:29 +02:00
Craig Raw
07ed9c857b improve placeholder text for private electrum url hostname 2021-03-08 09:36:21 +02:00
Craig Raw
32ab53ba03 append tor debug output to test results 2021-03-08 09:35:21 +02:00
Craig Raw
68344e981c set fiat value on scanning payment uri 2021-03-08 09:21:04 +02:00
Craig Raw
10c1574a4a provide framework for application logging 2021-03-08 09:18:48 +02:00
Craig Raw
3a853e2ab1 fix text width issue with overlay on linux 2021-03-05 13:18:24 +02:00
Craig Raw
0f639dc2c2 clear transport on a failed test connection, try ssl or vice-versa on electrum connection failure 2021-03-05 09:16:00 +02:00
Craig Raw
a801773545 max button retains state to adjust amount as fee changes 2021-03-04 13:00:39 +02:00
Craig Raw
ffbf4bb0db default to mempool size fee rates selection if not configured 2021-03-03 15:36:33 +02:00