1
0
Commit Graph

12828 Commits

Author SHA1 Message Date
ThomasV
5bf47279e0 Merge pull request #6384 from verretor/clean-console
Clean console.py
2020-07-29 17:48:50 +02:00
ghost43
cdda1549e9 Merge pull request #6386 from benma/bitbox02_id
bitbox02: implement get_soft_device_id so multisig runs more smoothly
2020-07-23 00:15:26 +00:00
SomberNight
73cf007048 transaction: allow PSBT input to have both UTXO and WITNESS_UTXO
- make sure they are consistent
- only keep one of them internally (UTXO), and only serialise with UTXO (not both)

fixes #6429
2020-07-22 02:44:33 +02:00
Benoit Verret
c8a4c11a78 Remove __main__ from console.py
The Python console isn't meant to run as a standalone.
2020-07-17 13:59:55 -04:00
SomberNight
52f8aafb60 kivy: fix fx history rates defaults.
In kivy, if the user enabled fx rates but did not touch the fx history settings,
the GUI would show that history rates are enabled but in fact they would be disabled:
the GUI called fx.get_history_config(default=True) when displaying the checkbox,
but exchange_rate.py would not fetch history rates.
(it would only get fixed if the user touched the fx history checkbox)

Note: FxThread.run() calls fx.show_history(), which calls fx.get_history_config() without arguments.
2020-07-16 01:00:51 +02:00
SomberNight
a1baf860b6 wallet.set_up_to_date: (trivial) reduce log spam 2020-07-15 23:50:26 +02:00
SomberNight
67a5f2e09a kivy: fix fiat balance str if there are channels
btc and fiat balance was not consistent
2020-07-15 23:48:45 +02:00
Marko Bencun
061305cd97 bitbox02: add fingerprint to label
See comment in commit.
2020-07-15 15:41:27 +02:00
Marko Bencun
c0ad40b562 bitbox02: implement label()
So the device can be identified more easily in dialogs.
2020-07-15 15:41:27 +02:00
Marko Bencun
5457abfab5 bitbox02: drop unused wizard argument 2020-07-15 15:41:25 +02:00
Marko Bencun
106688ea54 bitbox02: implement get_soft_device_id so multisig runs more smoothly
Without it, if you have say a 1-of-2 multisig with two BitBox02s, you
would run into trouble if the first keystore would try to match to the
wrong inserted BitBox02 (wrong order, or the first one is not
inserted, etc. ).

With the soft device id, the device manager can figure it on its own
which keystore belongs to which connected bb02.
2020-07-15 15:41:09 +02:00
Johann Bauer
bf2c99ad89 Remove servers which are offline 2020-07-15 08:47:45 +02:00
Benoit Verret
c5577b0271 Clean console.py
Remove a nonessential line and fix a typo.
2020-07-14 09:24:34 -04:00
SomberNight
995250948a appimage build: pin glibc version in docker image, for reproducibility
fixes #6357
2020-07-08 23:54:54 +02:00
ThomasV
3b5b020941 Merge pull request #6333 from akshayaurora/remove_qdarkstyle
remove QDarkStyle from packages before building for android
4.0.2
2020-07-08 08:28:13 +02:00
ThomasV
999eaa778e prepare release 4.0.2 2020-07-08 08:25:49 +02:00
ThomasV
3442dcc461 Merge pull request #6350 from SomberNight/202007_walletdb_convert_version_32
invoices: rm old corrupted non-bip70 invoices
2020-07-08 08:19:31 +02:00
SomberNight
c66c54a254 android: handle on-chain/lightning URI on app open
fixes #6352
2020-07-08 04:16:30 +02:00
SomberNight
f1d54d3cd8 update locale submodule 2020-07-08 02:13:44 +02:00
SomberNight
1c9a6f5770 qt wizard: fix scanning qr code when restoring from xpub
fixes #6342
2020-07-08 01:51:14 +02:00
SomberNight
4961020e01 wallet: handle exception when deleting last addr from imported wallet
fixes #6347
2020-07-08 01:28:20 +02:00
SomberNight
a6b83edec9 qt lightning dialog: fix min size
fixes #6344
2020-07-08 01:23:50 +02:00
SomberNight
35dad3c10e qt history list: only offer "View Invoice" if still have invoice
fixes: #6343
2020-07-08 01:19:23 +02:00
SomberNight
307403a02c invoices: rm old corrupted non-bip70 invoices
fixes #6345
2020-07-08 00:57:23 +02:00
SomberNight
9b3f165212 qt channels tab: implement filtering items
fixes #6330
2020-07-07 23:33:57 +02:00
ThomasV
9700e6112b fix wording 2020-07-07 15:31:13 +02:00
akshauaurora
66fea5de20 exclude qdarkstyle for android build 2020-07-06 20:10:36 +05:30
ThomasV
daa8225ef0 Merge pull request #6337 from Tigerix/patch-1
Fix Blockchain.com Testnet-URL
2020-07-06 06:02:13 +02:00
ThomasV
205553a17a Merge pull request #6340 from michael1011/swapbox-wording
gui swap: fix swap wording
2020-07-06 06:01:18 +02:00
michael1011
1980d8db43 gui swap: fix swap wording 2020-07-05 23:24:09 +02:00
Tigerix
8539beb75e Update util.py
Fixed Blockchain.com Testnet-URL
2020-07-05 12:59:09 +02:00
ThomasV
392a648de5 Merge pull request #6326 from SomberNight/202007_fix_importedwallet_new_request
qt receive tab: fix creating new payreq with all used imported wallet
2020-07-03 21:45:08 +02:00
SomberNight
c54b9a6874 qt receive tab: fix creating new payreq with all used imported wallet
fixes #6325
2020-07-03 20:12:52 +02:00
ThomasV
0f6898ed90 release 4.0.1: prepare release notes, bump version number 4.0.1 2020-07-03 17:14:45 +02:00
ThomasV
d49fcf19d8 Merge pull request #6316 from SomberNight/202007_fix_android_back_button
android: fix back button not working (main surface loses focus)
2020-07-03 16:56:31 +02:00
SomberNight
da4edc8f74 android: fix back button not working (main surface loses focus)
fixes #6276
2020-07-03 16:10:36 +02:00
ThomasV
8d7370d897 Merge pull request #6315 from SomberNight/202007_interface_check_server_response
interface: check server response for some methods
2020-07-02 18:00:21 +02:00
SomberNight
d19ff43266 interface: check server response for some methods
some basic sanity checks

Previously if the server sent back a malformed response, it could partially corrupt a wallet file.
(as sometimes the response would get persisted, and issues would only arise later when the values were used)
2020-07-02 15:41:39 +02:00
SomberNight
3393ff757e qt PreviewTxDialog: change feerounding_icon to be a QToolButton
QPushButtons with dark theme have a huge min width (they have text in mind)

related: #6300
2020-07-02 13:49:54 +02:00
SomberNight
8f96a92e75 qt PreviewTxDialog: if not enough funds due to fee, fallback to zero fee
fixes #6306

scenario: confirm tx dialog open, not enough funds (but only due to fees),
user clicks advanced, dialog half-empty.

note: the preview dialog is only half-empty if it never managed to create a tx.
if it did but it cannot now due to the current fee settings, then it will just
show that fee is too high (red text, buttons disabled) and show the last tx with the prev fee
2020-07-02 13:29:51 +02:00
SomberNight
844bbd103a qt PreviewTxDialog: check for "not enough funds" also when shortcutting
see https://github.com/spesmilo/electrum/issues/6306#issuecomment-652424363

scenario: user saves invoice for more money than they have, has advanced_preview
in config enabled, tries to pay it, half-empty tx preview dialog opens
2020-07-02 13:25:31 +02:00
SomberNight
27d03441d3 frozen deps: update bitbox02 and ledger libs
related: #6309, #6293
2020-07-02 13:01:07 +02:00
ghost43
4aed1df0e8 Merge pull request #6293 from btchip/ledger_segwit_trustedinputs
Ledger : Remove warning on Segwit inputs and newer Bitcoin application, use generic signing for P2SH inputs
2020-07-02 10:47:32 +00:00
SomberNight
b042c4118f ledger: speed-up sign_transaction
really slow to scan usb devices for e.g. every tx input...
if user disconnects mid-signing, we would fail anyway.
2020-07-02 12:45:42 +02:00
SomberNight
48993118ad ledger: bump min btchip-python version
and minor simplification
2020-07-02 12:45:38 +02:00
SomberNight
6d2aee18d0 dnssec: fix compat with dnspython 1.16 2020-07-02 11:12:38 +02:00
SomberNight
9fa666f179 fix channel backups with old "cryptography" module
closes #6314
2020-07-02 11:07:10 +02:00
ghost43
db063517ec Merge pull request #6309 from benma/bitbox02
plugins/bitbox02: fix compatibility with bitbox02-4.0.0
2020-07-01 16:49:03 +00:00
Marko Bencun
b1e756ac96 plugins/bitbox02: fix compatibility with bitbox02-4.0.0 2020-07-01 17:49:53 +02:00
zebra-lucky
949b247b19 fix raise UserCacnelled calls (#6304) 2020-07-01 15:37:31 +00:00