author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
630,992
22.09.2022 11:54:14
-7,200
5681311fc212e5c99cb269b5fe99e357cda0b116
fix request_status callback not passing the correct request key
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qeinvoicelistmodel.py", "new_path": "electrum/gui/qml/qeinvoicelistmodel.py", "diff": "@@ -155,7 +155,7 @@ class QERequestListModel(QEAbstractInvoiceListModel):\ndef invoice_to_model(self, invoice: Invoice):\nitem = super().invoice_to_model(in...
Python
MIT License
spesmilo/electrum
fix request_status callback not passing the correct request key
630,969
22.09.2022 17:37:07
-7,200
30dfecc5dca608046eebabad2e1987d431bc22d7
wallet: check whether address can be reused in get_request_by_addr
[ { "change_type": "MODIFY", "old_path": "electrum/wallet.py", "new_path": "electrum/wallet.py", "diff": "@@ -1054,9 +1054,11 @@ class Abstract_Wallet(ABC, Logger, EventListener):\nreturn invoices\ndef _init_requests_rhash_index(self):\n+ # self._requests_addr_to_key may contain addresses that can be ...
Python
MIT License
spesmilo/electrum
wallet: check whether address can be reused in get_request_by_addr
630,969
22.09.2022 18:26:02
-7,200
fe6a83d6c1af6484b569a54ffddfa53300aae9fc
fix test_fail_pending_htlcs_on_shutdown: poll number of htlcs
[ { "change_type": "MODIFY", "old_path": "electrum/tests/test_lnpeer.py", "new_path": "electrum/tests/test_lnpeer.py", "diff": "@@ -1234,19 +1234,17 @@ class TestPeer(TestCaseForTestnet):\ngraph.workers['bob'].enable_htlc_forwarding = False # Bob will hold forwarded HTLCs\nassert graph.workers['alice'...
Python
MIT License
spesmilo/electrum
fix test_fail_pending_htlcs_on_shutdown: poll number of htlcs
630,969
23.09.2022 11:25:49
-7,200
e8a4e287e92a38205cfcd7703fdd04c57629d2b5
cleanup old non-static_remotekey code (follow-up 1f403d1ca1)
[ { "change_type": "MODIFY", "old_path": "electrum/lnpeer.py", "new_path": "electrum/lnpeer.py", "diff": "@@ -600,9 +600,6 @@ class Peer(Logger):\ndef is_shutdown_anysegwit(self):\nreturn self.features.supports(LnFeatures.OPTION_SHUTDOWN_ANYSEGWIT_OPT)\n- def is_static_remotekey(self):\n- return self....
Python
MIT License
spesmilo/electrum
cleanup old non-static_remotekey code (follow-up 1f403d1ca1)
630,969
23.09.2022 12:41:42
-7,200
6e429ebf9a8d6e3ebb060b65100aa1d0aff9f5a6
test_lnpeer: instead of sleeping for 0.2s, wait until peers are initialized this should fix
[ { "change_type": "MODIFY", "old_path": "electrum/tests/test_lnpeer.py", "new_path": "electrum/tests/test_lnpeer.py", "diff": "@@ -878,7 +878,8 @@ class TestPeer(TestCaseForTestnet):\nfor peer in peers:\nawait group.spawn(peer._message_loop())\nawait group.spawn(peer.htlc_switch())\n- await asyncio.s...
Python
MIT License
spesmilo/electrum
test_lnpeer: instead of sleeping for 0.2s, wait until peers are initialized this should fix https://cirrus-ci.com/task/6585628493086720
630,870
23.09.2022 16:36:17
0
c43e0000ce8f1e0bb2bb1c082420462e81764e82
Qt ConfirmTxDialog: disconnect timer when closing dialog fixes
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/confirm_tx_dialog.py", "new_path": "electrum/gui/qt/confirm_tx_dialog.py", "diff": "@@ -67,6 +67,9 @@ class TxEditor:\nself.update()\nself.needs_update = False\n+ def stop_editor_updates(self):\n+ self.main_window.gui_object.timer.timeout.disco...
Python
MIT License
spesmilo/electrum
Qt ConfirmTxDialog: disconnect timer when closing dialog fixes https://github.com/spesmilo/electrum/issues/6791
630,870
23.09.2022 16:37:35
0
9ed5b092e4b11fc4ef77e0e501f0b494c43360b4
coinchooser: (trivial) add some type hints
[ { "change_type": "MODIFY", "old_path": "electrum/coinchooser.py", "new_path": "electrum/coinchooser.py", "diff": "# SOFTWARE.\nfrom collections import defaultdict\nfrom math import floor, log10\n-from typing import NamedTuple, List, Callable, Sequence, Union, Dict, Tuple\n+from typing import NamedTu...
Python
MIT License
spesmilo/electrum
coinchooser: (trivial) add some type hints
630,870
23.09.2022 17:08:16
0
1478d9d87805b3c03b261908aa125beb711e46ba
Qt CompletionTextEdit: cast KeyboardModifiers to int closes
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/completion_text_edit.py", "new_path": "electrum/gui/qt/completion_text_edit.py", "diff": "@@ -84,7 +84,7 @@ class CompletionTextEdit(ButtonsTextEdit):\nif self.isReadOnly(): # if field became read-only *after* keyPress, exit now\nreturn\n- ctrl...
Python
MIT License
spesmilo/electrum
Qt CompletionTextEdit: cast KeyboardModifiers to int closes https://github.com/spesmilo/electrum/issues/7979
630,969
26.09.2022 17:02:30
-7,200
444dc7fb7f6792450ce2ad89df26cca89d46940e
wallet: fix race condition that inhibits proper call of set_up_to_date
[ { "change_type": "MODIFY", "old_path": "electrum/wallet.py", "new_path": "electrum/wallet.py", "diff": "@@ -353,6 +353,7 @@ class Abstract_Wallet(ABC, Logger, EventListener):\n# true when synchronized. this is stricter than adb.is_up_to_date():\n# to-be-generated (HD) addresses are also considered h...
Python
MIT License
spesmilo/electrum
wallet: fix race condition that inhibits proper call of set_up_to_date
630,921
23.09.2022 15:27:00
14,400
7de1c604c6403ba065d76425950cf07e3c78df94
Add yadio.io api to exchange rate
[ { "change_type": "MODIFY", "old_path": "electrum/currencies.json", "new_path": "electrum/currencies.json", "diff": "],\n\"Walltime\": [\n\"BRL\"\n+ ],\n+ \"Yadio\": [\n+ \"AED\",\n+ \"ANG\",\n+ \"AOA\",\n+ \"ARS\",\n+ \"AUD\",\n+ \"AZN\",\n+ \"BDT\",\n+ \"BHD\",\n+ \"BMD\",\n+ \"BOB\",\n+ \"BRL\",\n...
Python
MIT License
spesmilo/electrum
Add yadio.io api to exchange rate
630,870
26.09.2022 17:57:50
0
77c2d4ec06095fdff7adbb9e1d9430a1b11a42f7
mac build: note in README: pyinstaller picks up extraneous brew pkgs ThomasV had libffi installed via brew, and this side-effected the built electrum dmg. `('libffi.8.dylib', '/usr/local/opt/libffi/lib/libffi.8.dylib', 'BINARY')` this was the cause of
[ { "change_type": "MODIFY", "old_path": "contrib/osx/README.md", "new_path": "contrib/osx/README.md", "diff": "@@ -57,6 +57,9 @@ Before starting, you should install [`brew`](https://brew.sh/).\n$ xcrun --show-sdk-path\n/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk\n```\n+- Installing extra...
Python
MIT License
spesmilo/electrum
mac build: note in README: pyinstaller picks up extraneous brew pkgs ThomasV had libffi installed via brew, and this side-effected the built electrum dmg. `('libffi.8.dylib', '/usr/local/opt/libffi/lib/libffi.8.dylib', 'BINARY')` this was the cause of https://github.com/spesmilo/electrum/commit/019d213325312badc55d95...
630,870
26.09.2022 18:21:30
0
10a2a846ef3e4a1e540c17b88cdae3bb4071489a
build: update pinned protobuf (partial rerun freeze_packages) closes
[ { "change_type": "MODIFY", "old_path": "contrib/deterministic-build/requirements-hw.txt", "new_path": "contrib/deterministic-build/requirements-hw.txt", "diff": "@@ -138,31 +138,30 @@ noiseprotocol==0.3.1 \\\npip==22.0.4 \\\n--hash=sha256:b3a9de2c6ef801e9247d1527a4b16f92f2cc141cd1489f3fffaf6a9e96729...
Python
MIT License
spesmilo/electrum
build: update pinned protobuf (partial rerun freeze_packages) closes https://github.com/spesmilo/electrum/pull/7990
630,870
26.09.2022 20:10:44
0
d94c934e479b3a5c75deb09244b810387e52e9b0
qt main_window: _coroutines_scheduled needs locking window.run_coroutine_from_thread starts a coroutine on the asyncio loop, which, when finishing, pops from the dict. The for loop in clean_up is running on the Qt thread. fixes
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/main_window.py", "new_path": "electrum/gui/qt/main_window.py", "diff": "@@ -189,6 +189,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger, QtEventListener):\nLogger.__init__(self)\nself._coroutines_scheduled = {} # type: Dict[concur...
Python
MIT License
spesmilo/electrum
qt main_window: _coroutines_scheduled needs locking window.run_coroutine_from_thread starts a coroutine on the asyncio loop, which, when finishing, pops from the dict. The for loop in clean_up is running on the Qt thread. fixes https://github.com/spesmilo/electrum/issues/7983
630,992
27.09.2022 10:01:20
-7,200
0f02c54c773710b64cd7d2cea2de59241146f144
qml: fix qerequestdetails.py signal, remove qr scan loop logging
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qeqr.py", "new_path": "electrum/gui/qml/qeqr.py", "diff": "@@ -44,7 +44,7 @@ class QEQRParser(QObject):\nself._busy = True\nself.busyChanged.emit()\n- self.logImageStats(image)\n+ # self.logImageStats(image)\nself._parseQR(image)\ndef logImage...
Python
MIT License
spesmilo/electrum
qml: fix qerequestdetails.py signal, remove qr scan loop logging
630,969
27.09.2022 13:50:03
-7,200
f8f77c14a2c35bba2cdf5b3e6746808e7c1ee963
release.sh: store signing password
[ { "change_type": "MODIFY", "old_path": "contrib/android/make_apk", "new_path": "contrib/android/make_apk", "diff": "@@ -53,12 +53,12 @@ fi\nif [[ \"$3\" == \"release\" ]] ; then\n# do release build, and sign the APKs.\nTARGET=\"release\"\n- echo -n Keystore Password:\n- read -s password\nexport P4A_...
Python
MIT License
spesmilo/electrum
release.sh: store signing password
630,870
27.09.2022 13:25:11
0
f174b9164c0e6e8e09d0ae98363d20447fa8415f
build scripts: minor formatting clean-up follow-up
[ { "change_type": "MODIFY", "old_path": "contrib/android/make_apk", "new_path": "contrib/android/make_apk", "diff": "@@ -55,7 +55,7 @@ if [[ \"$3\" == \"release\" ]] ; then\nTARGET=\"release\"\nexport P4A_RELEASE_KEYSTORE=~/.keystore\nexport P4A_RELEASE_KEYALIAS=electrum\n- if [ ! $P4A_RELEASE_KEYSTO...
Python
MIT License
spesmilo/electrum
build scripts: minor formatting clean-up follow-up f8f77c14a2c35bba2cdf5b3e6746808e7c1ee963
630,870
27.09.2022 13:34:03
0
1cecd2c6e89941e1afbea734118d088762ea82f3
contrib: rename some shell scripts to have ".sh" extension The extension gives formatting hints to some editors. (especially if they support .editorconfig)
[ { "change_type": "MODIFY", "old_path": ".cirrus.yml", "new_path": ".cirrus.yml", "diff": "@@ -177,7 +177,7 @@ task:\ncpu: 2\nmemory: 2G\nbuild_script:\n- - ./contrib/android/make_apk kivy arm64-v8a debug\n+ - ./contrib/android/make_apk.sh kivy arm64-v8a debug\nbinaries_artifacts:\npath: \"dist/*\"\n...
Python
MIT License
spesmilo/electrum
contrib: rename some shell scripts to have ".sh" extension The extension gives formatting hints to some editors. (especially if they support .editorconfig)
630,870
27.09.2022 14:55:22
0
b5900eae983114b1d893917a3d086d194bb079ad
contrib: reformat most shell scripts Mostly just indentations. For consistency, to conform to .editorconfig.
[ { "change_type": "MODIFY", "old_path": "contrib/build-linux/appimage/make_appimage.sh", "new_path": "contrib/build-linux/appimage/make_appimage.sh", "diff": "@@ -18,8 +18,7 @@ PYTHON_VERSION=3.9.11\nPY_VER_MAJOR=\"3.9\" # as it appears in fs paths\nPKG2APPIMAGE_COMMIT=\"a9c85b7e61a3a883f4a35c41c5dec...
Python
MIT License
spesmilo/electrum
contrib: reformat most shell scripts Mostly just indentations. For consistency, to conform to .editorconfig.
630,969
27.09.2022 20:12:02
-7,200
dc78ba3c04ef0fa79c0e81a733c344b08fb3a776
android: pass keystore password as argument to make_apk. export does not work because it runs in a container. also, check password using keytool
[ { "change_type": "MODIFY", "old_path": "contrib/android/make_apk.sh", "new_path": "contrib/android/make_apk.sh", "diff": "@@ -53,6 +53,8 @@ fi\nif [[ \"$3\" == \"release\" ]] ; then\n# do release build, and sign the APKs.\nTARGET=\"release\"\n+ export P4A_RELEASE_KEYSTORE_PASSWD=\"$4\"\n+ export P4A...
Python
MIT License
spesmilo/electrum
android: pass keystore password as argument to make_apk. export does not work because it runs in a container. also, check password using keytool
630,992
23.09.2022 12:14:19
-7,200
15c76114c6d66bb1bfaaace5f37cc7b5a39e11a6
replace swipeview, send & receive now dialogs send mostly working, though no user entered payment yet
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Constants.qml", "new_path": "electrum/gui/qml/components/Constants.qml", "diff": "@@ -27,6 +27,8 @@ Item {\nproperty color colorCredit: \"#ff80ff80\"\nproperty color colorDebit: \"#ffff8080\"\nproperty color mutedForeground: 'gray' ...
Python
MIT License
spesmilo/electrum
replace swipeview, send & receive now dialogs send mostly working, though no user entered payment yet
630,992
26.09.2022 13:21:53
-7,200
d4df633f223fd937d928b675db7c3fe990c27ec7
move request details into separate dialog
[ { "change_type": "ADD", "old_path": null, "new_path": "electrum/gui/qml/components/ReceiveDetailsDialog.qml", "diff": "+import QtQuick 2.6\n+import QtQuick.Layouts 1.0\n+import QtQuick.Controls 2.14\n+import QtQuick.Controls.Material 2.0\n+import QtQml.Models 2.1\n+\n+import org.electrum 1.0\n+\n+im...
Python
MIT License
spesmilo/electrum
move request details into separate dialog
630,992
26.09.2022 13:55:54
-7,200
cabf8e0644ef273475a51cefe1354762eb97d544
support stacking dialogs
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/controls/ElDialog.qml", "new_path": "electrum/gui/qml/components/controls/ElDialog.qml", "diff": "@@ -9,9 +9,9 @@ Dialog {\nonOpenedChanged: {\nif (opened) {\n- app.activeDialog = abstractdialog\n+ app.activeDialogs.push(abstractdia...
Python
MIT License
spesmilo/electrum
support stacking dialogs
630,992
26.09.2022 15:41:16
-7,200
58e3e0c235e68f2cfb089e3b6aa4ccc81618fcd0
add manual input option
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/SendDialog.qml", "new_path": "electrum/gui/qml/components/SendDialog.qml", "diff": "@@ -2,7 +2,6 @@ import QtQuick 2.6\nimport QtQuick.Controls 2.14\nimport QtQuick.Layouts 1.0\nimport QtQuick.Controls.Material 2.0\n-import QtQml.Mo...
Python
MIT License
spesmilo/electrum
add manual input option
630,992
26.09.2022 15:47:04
-7,200
b963c482389fcb0941598fdfb9b80967466816dd
remove old Send and Receive pages
[ { "change_type": "DELETE", "old_path": "electrum/gui/qml/components/Receive.qml", "new_path": null, "diff": "-import QtQuick 2.6\n-import QtQuick.Layouts 1.0\n-import QtQuick.Controls 2.14\n-import QtQuick.Controls.Material 2.0\n-import QtQml.Models 2.1\n-\n-import org.electrum 1.0\n-\n-import \"con...
Python
MIT License
spesmilo/electrum
remove old Send and Receive pages
630,992
26.09.2022 16:11:52
-7,200
10a1f11a533761129042e6a5e8ba25227a90c4dc
re-add copy and share buttons
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/ReceiveDialog.qml", "new_path": "electrum/gui/qml/components/ReceiveDialog.qml", "diff": "@@ -151,9 +151,41 @@ ElDialog {\ncolor: Material.accentColor\n}\n+ RowLayout {\n+ Layout.alignment: Qt.AlignHCenter\n+ Button {\n+ icon.source...
Python
MIT License
spesmilo/electrum
re-add copy and share buttons
630,992
27.09.2022 09:55:06
-7,200
d50d83e186a9dfdee1913e44c882bd6ebd6930ea
icons, buttons, receivedialog lifecycle
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/MessageDialog.qml", "new_path": "electrum/gui/qml/components/MessageDialog.qml", "diff": "@@ -17,8 +17,9 @@ ElDialog {\nparent: Overlay.overlay\nmodal: true\n- x: (parent.width - width) / 2\n- y: (parent.height - height) / 2\n+\n+ a...
Python
MIT License
spesmilo/electrum
icons, buttons, receivedialog lifecycle
630,992
27.09.2022 11:43:28
-7,200
dd58328534016bd7e22364c260c8e0fa953fbef7
ui, fix payment failed
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/ReceiveDetailsDialog.qml", "new_path": "electrum/gui/qml/components/ReceiveDetailsDialog.qml", "diff": "@@ -11,18 +11,16 @@ import \"controls\"\nElDialog {\nid: dialog\n+ title: qsTr('Edit payment request details')\n+\nproperty alia...
Python
MIT License
spesmilo/electrum
ui, fix payment failed
630,992
27.09.2022 12:25:21
-7,200
5f9068d7b0de51973e8a0bdbf1fa335e3397b943
add default request expiry to preferences/config
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Preferences.qml", "new_path": "electrum/gui/qml/components/Preferences.qml", "diff": "@@ -148,6 +148,18 @@ Pane {\n}\n}\n+ Label {\n+ text: qsTr('Default request expiry')\n+ Layout.fillWidth: false\n+ }\n+\n+ RequestExpiryComboBox {...
Python
MIT License
spesmilo/electrum
add default request expiry to preferences/config
630,992
27.09.2022 15:09:06
-7,200
fb68931a8d725988aa9115e537868b07e1912b1e
allow zero amount invoices, add edit amount option for invoices
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/InvoiceDialog.qml", "new_path": "electrum/gui/qml/components/InvoiceDialog.qml", "diff": "@@ -15,9 +15,6 @@ ElDialog {\nsignal doPay\n- width: parent.width\n- height: parent.height\n-\ntitle: qsTr('Invoice')\nstandardButtons: invoic...
Python
MIT License
spesmilo/electrum
allow zero amount invoices, add edit amount option for invoices
630,992
27.09.2022 17:10:05
-7,200
d65a7e7efcc868578b6b1c6ea16ea2ba4b52992c
change address-only handling: create amount=0 onchain invoice invoicedialog auto enables edit mode when amount is 0
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/InvoiceDialog.qml", "new_path": "electrum/gui/qml/components/InvoiceDialog.qml", "diff": "@@ -325,5 +325,7 @@ ElDialog {\nif (invoice_key != '') {\ninvoice.initFromKey(invoice_key)\n}\n+ if (invoice.amount.satsInt == 0)\n+ amountCon...
Python
MIT License
spesmilo/electrum
change address-only handling: create amount=0 onchain invoice invoicedialog auto enables edit mode when amount is 0
630,992
27.09.2022 17:16:09
-7,200
2778a1bc20376661041c0d3ed38fd0c3ee327f9a
fix dialog stack handling when closing from outside
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/main.qml", "new_path": "electrum/gui/qml/components/main.qml", "diff": "@@ -229,10 +229,11 @@ ApplicationWindow\nonClosing: {\nif (activeDialogs.length > 0) {\n- console.log('dialog on top')\n- var activeDialog = activeDialogs.pop()...
Python
MIT License
spesmilo/electrum
fix dialog stack handling when closing from outside
630,992
28.09.2022 18:05:45
-7,200
8437e136664412e0b731a24e34d917284f017bd0
add initial lnurl-pay
[ { "change_type": "ADD", "old_path": null, "new_path": "electrum/gui/qml/components/LnurlPayRequestDialog.qml", "diff": "+import QtQuick 2.6\n+import QtQuick.Layouts 1.0\n+import QtQuick.Controls 2.14\n+import QtQuick.Controls.Material 2.0\n+\n+import org.electrum 1.0\n+\n+import \"controls\"\n+\n+El...
Python
MIT License
spesmilo/electrum
add initial lnurl-pay
630,992
29.09.2022 11:57:34
-7,200
95b2f6fd6374f6cacf9e381663b96bcceafe6af5
qml: use Lightning, URI and Address for type names in ReceiveDialog
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/ReceiveDialog.qml", "new_path": "electrum/gui/qml/components/ReceiveDialog.qml", "diff": "@@ -118,7 +118,7 @@ ElDialog {\nspacing: constants.paddingLarge\nLabel {\nid: bolt11label\n- text: qsTr('BOLT11')\n+ text: qsTr('Lightning')\n...
Python
MIT License
spesmilo/electrum
qml: use Lightning, URI and Address for type names in ReceiveDialog
630,969
29.09.2022 12:05:34
-7,200
4366055ada8bdaee9818db4c08dba30aba9df703
Remove old trampoline compatibility bits from invoices bits 50/51 are now used on the network (as option_zeroconf)
[ { "change_type": "MODIFY", "old_path": "electrum/lnutil.py", "new_path": "electrum/lnutil.py", "diff": "@@ -1097,20 +1097,6 @@ class LnFeatures(IntFlag):\n_ln_feature_contexts[OPTION_TRAMPOLINE_ROUTING_REQ] = (LNFC.INIT | LNFC.NODE_ANN | LNFC.INVOICE)\n_ln_feature_contexts[OPTION_TRAMPOLINE_ROUTING_...
Python
MIT License
spesmilo/electrum
Remove old trampoline compatibility bits from invoices bits 50/51 are now used on the network (as option_zeroconf)
630,992
29.09.2022 13:18:13
-7,200
ae15c0527b40aec4929ccf1eb65433b14bc6a435
qml: expose bolt11_fallback in preferences
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Preferences.qml", "new_path": "electrum/gui/qml/components/Preferences.qml", "diff": "@@ -222,6 +222,17 @@ Pane {\nConfig.useGossip = currentValue == 'gossip'\n}\n}\n+\n+ Switch {\n+ id: useFallbackAddress\n+ text: qsTr('Use onchain...
Python
MIT License
spesmilo/electrum
qml: expose bolt11_fallback in preferences
630,992
30.09.2022 09:27:55
-7,200
fd791f4fb1b664df031eaf12a8ff43999275d3fd
qml: make request types clickable, some fixes
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/InvoiceDialog.qml", "new_path": "electrum/gui/qml/components/InvoiceDialog.qml", "diff": "@@ -227,7 +227,7 @@ ElDialog {\nLabel {\nvisible: invoice.invoiceType == Invoice.LightningInvoice\nLayout.fillWidth: true\n- text: invoice.lnp...
Python
MIT License
spesmilo/electrum
qml: make request types clickable, some fixes
630,992
30.09.2022 14:01:18
-7,200
e73993dba53757218014b594d0e795fa4e52e266
lnurl: add support for comments (LNURL12)
[ { "change_type": "MODIFY", "old_path": "electrum/lnurl.py", "new_path": "electrum/lnurl.py", "diff": "@@ -45,6 +45,7 @@ class LNURL6Data(NamedTuple):\nmax_sendable_sat: int\nmin_sendable_sat: int\nmetadata_plaintext: str\n+ comment_allowed: int\n#tag: str = \"payRequest\"\n@@ -84,6 +85,7 @@ async de...
Python
MIT License
spesmilo/electrum
lnurl: add support for comments (LNURL12)
630,992
30.09.2022 14:37:14
-7,200
68b630a2e9bf943e56d41b879cb510075c28a89b
qml: unify dialog headers
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/GenericShareDialog.qml", "new_path": "electrum/gui/qml/components/GenericShareDialog.qml", "diff": "@@ -14,6 +14,7 @@ ElDialog {\nproperty string text_help\ntitle: ''\n+\nparent: Overlay.overlay\nmodal: true\nstandardButtons: Dialog...
Python
MIT License
spesmilo/electrum
qml: unify dialog headers
630,992
30.09.2022 14:40:35
-7,200
8538bfe49b2ace1214792a7f2d9a502514336bb4
qml: add lnurl-pay comment feature
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/LnurlPayRequestDialog.qml", "new_path": "electrum/gui/qml/components/LnurlPayRequestDialog.qml", "diff": "@@ -11,10 +11,9 @@ ElDialog {\nid: dialog\ntitle: qsTr('LNURL Payment request')\n+ iconSource: '../../../icons/link.png'\n- //...
Python
MIT License
spesmilo/electrum
qml: add lnurl-pay comment feature
630,992
30.09.2022 14:48:24
-7,200
5a64d62b248cea8edcf1f36ef2262679505a18a7
qml: lnurl comment only when allowed by server
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/LnurlPayRequestDialog.qml", "new_path": "electrum/gui/qml/components/LnurlPayRequestDialog.qml", "diff": "@@ -60,6 +60,7 @@ ElDialog {\nTextArea {\nid: comment\n+ visible: invoiceParser.lnurlData['comment_allowed'] > 0\nLayout.colum...
Python
MIT License
spesmilo/electrum
qml: lnurl comment only when allowed by server
630,992
03.10.2022 11:40:43
-7,200
ce068eb8fc84614e7b68cd5d4c5fbaf4e3127597
qml: no need for an active wallet to access server/proxy settings
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/NetworkStats.qml", "new_path": "electrum/gui/qml/components/NetworkStats.qml", "diff": "@@ -18,7 +18,6 @@ Pane {\naction: Action {\ntext: qsTr('Server Settings');\nonTriggered: menu.openPage(sc_comp);\n- enabled: Daemon.currentWalle...
Python
MIT License
spesmilo/electrum
qml: no need for an active wallet to access server/proxy settings
630,992
03.10.2022 17:36:38
-7,200
54b69348f4ab8f2303834a118546b5b795000186
qml: scroll-drag in history, fix a few more assumptions w.r.t positioning of listview and size of indicator
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/History.qml", "new_path": "electrum/gui/qml/components/History.qml", "diff": "@@ -78,7 +78,7 @@ Pane {\nwidth: constants.paddingXXLarge\ndrag.target: dragb\nonPressedChanged: if (pressed) {\n- dragb.y = mouseY - dragb.height/2\n+ dr...
Python
MIT License
spesmilo/electrum
qml: scroll-drag in history, fix a few more assumptions w.r.t positioning of listview and size of indicator
630,969
29.09.2022 15:53:16
-7,200
ff5ba7cca420705da85116cbaf6e735ec38a6152
rbf: fix issues with bump_frr_through_decreasing_change break from loop if target is reached recompute delta if there is no next iteration.
[ { "change_type": "MODIFY", "old_path": "electrum/wallet.py", "new_path": "electrum/wallet.py", "diff": "@@ -1948,6 +1948,8 @@ class Abstract_Wallet(ABC, Logger, EventListener):\nfor o in s:\ntarget_fee = int(math.ceil(tx.estimated_size() * new_fee_rate))\ndelta = target_fee - tx.get_fee()\n+ if delt...
Python
MIT License
spesmilo/electrum
rbf: fix issues with bump_frr_through_decreasing_change - break from loop if target is reached - recompute delta if there is no next iteration.
630,992
04.10.2022 10:40:09
-7,200
b4d13ffb41ab9ae50e3928ba252178b068687094
qml: show balance summary on top
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/BalanceSummary.qml", "new_path": "electrum/gui/qml/components/BalanceSummary.qml", "diff": "@@ -5,7 +5,7 @@ import QtQuick.Controls.Material 2.0\nFrame {\nid: root\n- height: layout.height\n+\nfont.pixelSize: constants.fontSizeMediu...
Python
MIT License
spesmilo/electrum
qml: show balance summary on top
630,969
03.10.2022 17:29:13
-7,200
8867387847c66706821dc12d842cc77b3d01f453
lnworker: fix stuck payment loop (fixes If the short_channel_id of a channel update received with update_fail_htlc does not match the channel in our route, blacklist the channel in our route.
[ { "change_type": "MODIFY", "old_path": "electrum/lnrouter.py", "new_path": "electrum/lnrouter.py", "diff": "@@ -433,6 +433,8 @@ class LNPathFinder(Logger):\nself.logger.info(f\"report {r.short_channel_id} to be unable to forward {amount_msat} msat\")\nself.liquidity_hints.update_cannot_send(r.start_...
Python
MIT License
spesmilo/electrum
lnworker: fix stuck payment loop (fixes #7995) If the short_channel_id of a channel update received with update_fail_htlc does not match the channel in our route, blacklist the channel in our route.
630,992
04.10.2022 12:34:24
-7,200
98c747ea6eaf1413515e9abda5a713ddd8479692
qml: use -w command line parameter to open wallet, if specified
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qedaemon.py", "new_path": "electrum/gui/qml/qedaemon.py", "diff": "@@ -143,6 +143,8 @@ class QEDaemon(AuthMixin, QObject):\n@pyqtSlot(str, str)\ndef load_wallet(self, path=None, password=None):\nif path == None:\n+ self._path = self.daemon.con...
Python
MIT License
spesmilo/electrum
qml: use -w command line parameter to open wallet, if specified
630,992
04.10.2022 14:14:03
-7,200
e5951bbd2dc662e3db6e00043965761e2a4cb0ae
qml: expose RbF in config/preferences
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Preferences.qml", "new_path": "electrum/gui/qml/components/Preferences.qml", "diff": "@@ -233,6 +233,16 @@ Pane {\n}\n}\n+ Switch {\n+ id: useRbf\n+ text: qsTr('Use Replace-By-Fee')\n+ Layout.columnSpan: 2\n+ onCheckedChanged: {\n+ ...
Python
MIT License
spesmilo/electrum
qml: expose RbF in config/preferences
630,992
04.10.2022 14:20:46
-7,200
dff435a745c57eac781080bf816147bd7a8ed302
qml: expose use_recoverable_channels in config/preferences
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Preferences.qml", "new_path": "electrum/gui/qml/components/Preferences.qml", "diff": "@@ -148,6 +148,16 @@ Pane {\n}\n}\n+ Switch {\n+ id: useRbf\n+ text: qsTr('Use Replace-By-Fee')\n+ Layout.columnSpan: 2\n+ onCheckedChanged: {\n+ ...
Python
MIT License
spesmilo/electrum
qml: expose use_recoverable_channels in config/preferences
630,992
04.10.2022 14:34:48
-7,200
8184093a34ffddcedd08017e764f76499f2b496b
qml: start new wallet wizard immediately after network wizard on initial start
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/NewWalletWizard.qml", "new_path": "electrum/gui/qml/components/NewWalletWizard.qml", "diff": "@@ -15,8 +15,6 @@ Wizard {\nproperty alias path: walletdb.path\n- enter: null // disable transition\n-\n// State transition functions. The...
Python
MIT License
spesmilo/electrum
qml: start new wallet wizard immediately after network wizard on initial start
630,992
04.10.2022 15:09:37
-7,200
6dab3de1f2fccf85b33216d939c0c35776b1d4ac
qml: start new wallet wizard if no wallets exist, create/open button opens wizard if no wallets exist
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/WalletMainView.qml", "new_path": "electrum/gui/qml/components/WalletMainView.qml", "diff": "@@ -89,7 +89,17 @@ Item {\ntext: qsTr('Open/Create Wallet')\nLayout.alignment: Qt.AlignHCenter\nonClicked: {\n+ if (Daemon.availableWallets....
Python
MIT License
spesmilo/electrum
qml: start new wallet wizard if no wallets exist, create/open button opens wizard if no wallets exist
630,992
04.10.2022 16:33:22
-7,200
de83a10c20371c1f55dbc9c2e13dcb20f44caacc
qml: restore Save button in InvoiceDialog, restore invoice list view, now from menu
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/InvoiceDialog.qml", "new_path": "electrum/gui/qml/components/InvoiceDialog.qml", "diff": "@@ -30,13 +30,6 @@ ElDialog {\nheight: parent.height\ncolumns: 2\n- Rectangle {\n- height: 1\n- Layout.fillWidth: true\n- Layout.columnSpan: 2...
Python
MIT License
spesmilo/electrum
qml: restore Save button in InvoiceDialog, restore invoice list view, now from menu
630,992
04.10.2022 16:35:28
-7,200
2118eb57bd9bd17f88b7e01ce3eb647631fb5cd5
qml: follow-up
[ { "change_type": "ADD", "old_path": null, "new_path": "electrum/gui/qml/components/Invoices.qml", "diff": "+import QtQuick 2.6\n+import QtQuick.Layouts 1.0\n+import QtQuick.Controls 2.3\n+import QtQuick.Controls.Material 2.0\n+import QtQml.Models 2.1\n+import QtQml 2.6\n+\n+import \"controls\"\n+\n+...
Python
MIT License
spesmilo/electrum
qml: follow-up de83a10c20371c1f55dbc9c2e13dcb20f44caacc
630,992
04.10.2022 21:47:28
-7,200
090706bfd6861a8dd95e18f3ba48aa012adb9a19
qml: fix crashes on tx finalizing
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qechannelopener.py", "new_path": "electrum/gui/qml/qechannelopener.py", "diff": "@@ -35,7 +35,7 @@ class QEChannelOpener(QObject, AuthMixin):\nconflictingBackup = pyqtSignal([str], arguments=['message'])\nchannelOpening = pyqtSignal([str], arg...
Python
MIT License
spesmilo/electrum
qml: fix crashes on tx finalizing
630,992
05.10.2022 11:07:40
-7,200
488600788e3bf12a2466b586bd20da7d80f76b4f
qml: open invoices list after saving invoice, add invoice to model instead of reloading the whole list
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/InvoiceDialog.qml", "new_path": "electrum/gui/qml/components/InvoiceDialog.qml", "diff": "-import QtQuick 2.6\n+import QtQuick 2.12\nimport QtQuick.Layouts 1.0\nimport QtQuick.Controls 2.14\nimport QtQuick.Controls.Material 2.0\n@@ ...
Python
MIT License
spesmilo/electrum
qml: open invoices list after saving invoice, add invoice to model instead of reloading the whole list
630,870
07.10.2022 20:28:52
0
34b594ea40aac5ab66e1fe06f09df14c28898f6e
android: add setting to enable debug logs If enabled, we log to stderr, which can get inspected via logcat. Not user-friendly at all - but previously there was no way to get logs from a release build. closes
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/main_window.py", "new_path": "electrum/gui/kivy/main_window.py", "diff": "@@ -208,6 +208,10 @@ class ElectrumWindow(App, Logger, EventListener):\nself.network.run_from_another_thread(\nself.network.stop_gossip())\n+ enable_debug_logs = Boolea...
Python
MIT License
spesmilo/electrum
android: add setting to enable debug logs If enabled, we log to stderr, which can get inspected via logcat. Not user-friendly at all - but previously there was no way to get logs from a release build. closes https://github.com/spesmilo/electrum/issues/7409
630,870
10.10.2022 18:56:48
0
656fd1bca1925e41c06adacc395ab0a840e7c6c5
android readme: expand "Access datadir from desktop" section
[ { "change_type": "MODIFY", "old_path": "contrib/android/Readme.md", "new_path": "contrib/android/Readme.md", "diff": "@@ -117,6 +117,8 @@ $ run-as org.electrum.electrum ls /data/data/org.electrum.electrum/files/data\n$ run-as org.electrum.electrum cp /data/data/org.electrum.electrum/files/data/walle...
Python
MIT License
spesmilo/electrum
android readme: expand "Access datadir from desktop" section
630,969
12.10.2022 10:06:56
-7,200
47c480be499d97ebac8611be744ea2015bb59f70
check_scriptpubkey_template_and_dust: support anysegwit. fix
[ { "change_type": "MODIFY", "old_path": "electrum/transaction.py", "new_path": "electrum/transaction.py", "diff": "@@ -476,6 +476,8 @@ def check_scriptpubkey_template_and_dust(scriptpubkey, amount: Optional[int]):\ndust_limit = bitcoin.DUST_LIMIT_P2WSH\nelif match_script_against_template(scriptpubkey...
Python
MIT License
spesmilo/electrum
check_scriptpubkey_template_and_dust: support anysegwit. fix #8012
630,870
08.08.2022 18:10:43
-7,200
328455bc8c627b747b5b45ca786cf16b23b1633c
freeze_packages: restrict some requirements files to source-only pkgs
[ { "change_type": "MODIFY", "old_path": "contrib/freeze_packages.sh", "new_path": "contrib/freeze_packages.sh", "diff": "@@ -20,13 +20,15 @@ which virtualenv > /dev/null 2>&1 || { echo \"Please install virtualenv\" && exit\n${SYSTEM_PYTHON} -m hashin -h > /dev/null 2>&1 || { ${SYSTEM_PYTHON} -m pip i...
Python
MIT License
spesmilo/electrum
freeze_packages: restrict some requirements files to source-only pkgs
630,870
05.10.2022 15:24:10
0
5f83538f05385d063c3df2c87a4d4929f6cf12e3
requirements: pin protobuf "<4" also in "req..-hw.txt" related:
[ { "change_type": "MODIFY", "old_path": "contrib/requirements/requirements-hw.txt", "new_path": "contrib/requirements/requirements-hw.txt", "diff": "@@ -11,3 +11,7 @@ ckcc-protocol>=0.7.7\nbitbox02>=6.0.0\ncbor>=1.0.0,<2.0.0\npyserial>=3.5.0,<4.0.0\n+\n+# prefer older protobuf (see #7922)\n+# (pulled...
Python
MIT License
spesmilo/electrum
requirements: pin protobuf "<4" also in "req..-hw.txt" related: https://github.com/spesmilo/electrum/commit/52b73880f95be5cf51742fec10cde0a2e4b23de4 https://github.com/spesmilo/electrum/issues/7922
630,870
05.10.2022 15:46:16
0
6d01dbcc5cf9c86bd87718445eea03b58dfa19c4
android build: "req..-build-android.txt" to only use source pkgs
[ { "change_type": "MODIFY", "old_path": "contrib/android/Dockerfile", "new_path": "contrib/android/Dockerfile", "diff": "@@ -155,7 +155,7 @@ COPY contrib/deterministic-build/requirements-build-base.txt /opt/deterministic-\nCOPY contrib/deterministic-build/requirements-build-android.txt /opt/determini...
Python
MIT License
spesmilo/electrum
android build: "req..-build-android.txt" to only use source pkgs
630,870
16.10.2022 15:10:46
0
4b8790c9198fe2578e2b8fe769101c18a89dd0be
qt 2fa: show different status-bar icon for "2fa disabled" wallet related:
[ { "change_type": "ADD", "old_path": "electrum/gui/icons/trustedcoin-status-disabled.png", "new_path": "electrum/gui/icons/trustedcoin-status-disabled.png", "diff": "Binary files /dev/null and b/electrum/gui/icons/trustedcoin-status-disabled.png differ\n" }, { "change_type": "MODIFY", "ol...
Python
MIT License
spesmilo/electrum
qt 2fa: show different status-bar icon for "2fa disabled" wallet related: https://github.com/spesmilo/electrum/issues/8018
630,992
17.10.2022 11:34:32
-7,200
5042d9971c5793d1d00ce575b38a66d5f2df1097
qml: update history when LN payment arrives
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qewallet.py", "new_path": "electrum/gui/qml/qewallet.py", "diff": "@@ -8,7 +8,7 @@ from PyQt5.QtCore import pyqtProperty, pyqtSignal, pyqtSlot, QObject, QTimer\nfrom electrum import bitcoin\nfrom electrum.i18n import _\n-from electrum.invoices...
Python
MIT License
spesmilo/electrum
qml: update history when LN payment arrives
630,992
04.10.2022 16:41:11
-7,200
922fa1adbca0e0a60d0fe0cd89ef5cd396dd6e6f
ci: add QML Android CI builds for arm64 and arm32 architectures conservatively only builds on tagged commits, or any commit on the ci-qml-beta branch
[ { "change_type": "MODIFY", "old_path": ".cirrus.yml", "new_path": ".cirrus.yml", "diff": "@@ -171,7 +171,7 @@ task:\nCIRRUS_DOCKER_CONTEXT: contrib/build-wine\ntask:\n- name: Android build\n+ name: Android build (Kivy arm64)\ncontainer:\ndockerfile: contrib/android/Dockerfile\ncpu: 2\n@@ -181,6 +181...
Python
MIT License
spesmilo/electrum
ci: add QML Android CI builds for arm64 and arm32 architectures conservatively only builds on tagged commits, or any commit on the ci-qml-beta branch
630,992
17.10.2022 12:14:02
-7,200
f64d344dcd45a0c160f6a04e99653bbf0adae3a6
qml: Remove key exist check in lnworker.payment_info We don't use its result, and I've seen one occasion where a payment exists in history, but not in payment_info dict
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qelnpaymentdetails.py", "new_path": "electrum/gui/qml/qelnpaymentdetails.py", "diff": "@@ -87,10 +87,6 @@ class QELnPaymentDetails(QObject):\nself._logger.error('wallet undefined')\nreturn\n- if self._key not in self._wallet.wallet.lnworker.pa...
Python
MIT License
spesmilo/electrum
qml: Remove key exist check in lnworker.payment_info We don't use its result, and I've seen one occasion where a payment exists in history, but not in payment_info dict
630,992
17.10.2022 15:44:27
-7,200
0c163a53226884a0d3403493f194cb36aab32267
qml: don't duplicate invoice (e.g. when scanned twice) also add invoice to invoiceModel from python, not qml
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/WalletMainView.qml", "new_path": "electrum/gui/qml/components/WalletMainView.qml", "diff": "@@ -191,10 +191,6 @@ Item {\nvar dialog = lnurlPayDialog.createObject(app, { invoiceParser: invoiceParser })\ndialog.open()\n}\n-\n- onInvoi...
Python
MIT License
spesmilo/electrum
qml: don't duplicate invoice (e.g. when scanned twice) also add invoice to invoiceModel from python, not qml
630,992
17.10.2022 15:46:36
-7,200
26534094dbc902ca3e831b95391133fca5a51c37
qml: invoicemodel and requestmodel update invoice status via event listener
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qeinvoicelistmodel.py", "new_path": "electrum/gui/qml/qeinvoicelistmodel.py", "diff": "@@ -7,6 +7,7 @@ from electrum.logging import get_logger\nfrom electrum.util import Satoshis, format_time\nfrom electrum.invoices import Invoice\n+from .util...
Python
MIT License
spesmilo/electrum
qml: invoicemodel and requestmodel update invoice status via event listener
630,992
17.10.2022 16:43:38
-7,200
80f2bf7c0933db14b89ee5e0d47eafa6e871ca1f
qml: incoming flag not always correct for determining debit/credit. Use 'value' instead
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/controls/HistoryItemDelegate.qml", "new_path": "electrum/gui/qml/components/controls/HistoryItemDelegate.qml", "diff": "@@ -84,7 +84,7 @@ Item {\nfont.pixelSize: constants.fontSizeMedium\nLayout.alignment: Qt.AlignRight\nfont.bold: ...
Python
MIT License
spesmilo/electrum
qml: incoming flag not always correct for determining debit/credit. Use 'value' instead
630,992
17.10.2022 17:24:46
-7,200
3a8cfcd5b8b34dc72efdd2d30fce04c3b2563f15
qml: add total balance, fix initialization of create recoverable channels setting
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Preferences.qml", "new_path": "electrum/gui/qml/components/Preferences.qml", "diff": "@@ -270,5 +270,6 @@ Pane {\nuseFallbackAddress.checked = Config.useFallbackAddress\nenableDebugLogs.checked = Config.enableDebugLogs\nuseRbf.check...
Python
MIT License
spesmilo/electrum
qml: add total balance, fix initialization of create recoverable channels setting
630,992
18.10.2022 18:31:59
-7,200
49037ecc859a97c38c0e6b58e00a317bd187bd98
qml: handle bitcoin: and lightning: uri intents
[ { "change_type": "MODIFY", "old_path": "contrib/android/Dockerfile", "new_path": "contrib/android/Dockerfile", "diff": "@@ -175,8 +175,8 @@ RUN cd /opt \\\n&& git remote add sombernight https://github.com/SomberNight/python-for-android \\\n&& git remote add accumulator https://github.com/accumulator...
Python
MIT License
spesmilo/electrum
qml: handle bitcoin: and lightning: uri intents
630,992
19.10.2022 10:00:56
-7,200
bb3f3991e8652a794feb28a0d5e866582dadd5ee
qml: detect request paid status on receive dialog
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/ReceiveDialog.qml", "new_path": "electrum/gui/qml/components/ReceiveDialog.qml", "diff": "@@ -19,6 +19,8 @@ ElDialog {\nproperty bool _render_qr: false // delay qr rendering until dialog is shown\n+ property bool _ispaid: false\n+\n...
Python
MIT License
spesmilo/electrum
qml: detect request paid status on receive dialog
630,992
19.10.2022 12:27:19
-7,200
717b6dd5fb6a2eb671d295c639a9577215dc8656
only create lightning invoice if the wallet has channels in a suitable state
[ { "change_type": "MODIFY", "old_path": "electrum/wallet.py", "new_path": "electrum/wallet.py", "diff": "@@ -81,6 +81,7 @@ from .interface import NetworkException\nfrom .mnemonic import Mnemonic\nfrom .logging import get_logger, Logger\nfrom .lnworker import LNWallet\n+from .lnchannel import ChannelS...
Python
MIT License
spesmilo/electrum
only create lightning invoice if the wallet has channels in a suitable state
630,870
19.10.2022 14:14:24
0
60769e47692d06adc6351d33aa584bcfd359c6bb
be more robust to "electrum/www" missing
[ { "change_type": "MODIFY", "old_path": "electrum/daemon.py", "new_path": "electrum/daemon.py", "diff": "@@ -359,14 +359,22 @@ class WatchTowerServer(AuthenticatedServer):\nclass PayServer(Logger, EventListener):\n+ WWW_DIR = os.path.join(os.path.dirname(__file__), 'www')\n+\ndef __init__(self, daemo...
Python
MIT License
spesmilo/electrum
be more robust to "electrum/www" missing
630,870
19.10.2022 16:15:12
0
eb00012c951e10855841d9e9daa19125cb3c04a2
invoices: fix is_paid for zero-amount onchain pay reqs fixes
[ { "change_type": "MODIFY", "old_path": "electrum/invoices.py", "new_path": "electrum/invoices.py", "diff": "@@ -128,7 +128,10 @@ class Invoice(StoredObject):\nif self.is_lightning():\naddress = self.get_address()\namount = self.get_amount_sat()\n- outputs = [PartialTxOutput.from_address_and_value(ad...
Python
MIT License
spesmilo/electrum
invoices: fix is_paid for zero-amount onchain pay reqs fixes https://github.com/spesmilo/electrum/issues/8022
630,870
19.10.2022 17:22:23
0
1f5ab5cb8d303c53d3d8dae654fb357d724af2a6
qt AmountEdit: small refactor
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/amountedit.py", "new_path": "electrum/gui/qt/amountedit.py", "diff": "@@ -85,14 +85,21 @@ class AmountEdit(SizedFreezableLineEdit):\npainter.setPen(ColorScheme.GRAY.as_color())\npainter.drawText(textRect, int(Qt.AlignRight | Qt.AlignVCenter), s...
Python
MIT License
spesmilo/electrum
qt AmountEdit: small refactor
630,870
19.10.2022 17:58:05
0
c5d17183f795c6ffedb96920824493d0121f3244
qt BTCAmountEdit: clamp field to <=21 million bitcoins fixes
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/amountedit.py", "new_path": "electrum/gui/qt/amountedit.py", "diff": "@@ -11,6 +11,10 @@ from .util import char_width_in_lineedit, ColorScheme\nfrom electrum.util import (format_satoshis_plain, decimal_point_to_base_unit_name,\nFEERATE_PRECISIO...
Python
MIT License
spesmilo/electrum
qt BTCAmountEdit: clamp field to <=21 million bitcoins fixes https://github.com/spesmilo/electrum/issues/5223
630,992
20.10.2022 17:18:46
-7,200
65250e69d83d42a613a3d33c42d13129f13eeeb8
qml: add max amount option in invoice dialog and show in invoice delegate
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/InvoiceDialog.qml", "new_path": "electrum/gui/qml/components/InvoiceDialog.qml", "diff": "@@ -26,6 +26,8 @@ ElDialog {\ncolor: \"#aa000000\"\n}\n+ property bool _canMax: invoice.invoiceType == Invoice.OnchainInvoice\n+\nColumnLayout...
Python
MIT License
spesmilo/electrum
qml: add max amount option in invoice dialog and show in invoice delegate
630,992
21.10.2022 13:01:45
-7,200
a1fac70ebc7521fb3c71509e7f5624ce38646aca
qml: fix bug with lingering info text from previous shown invoice
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/InvoiceDialog.qml", "new_path": "electrum/gui/qml/components/InvoiceDialog.qml", "diff": "@@ -296,6 +296,7 @@ ElDialog {\nInfoTextArea {\nLayout.columnSpan: 2\nLayout.alignment: Qt.AlignHCenter\n+ Layout.preferredWidth: parent.width...
Python
MIT License
spesmilo/electrum
qml: fix bug with lingering info text from previous shown invoice
630,992
21.10.2022 13:24:39
-7,200
b37262f2327c3cc30ffd2d5e9aab6163c79b75ac
qml: proper check for max amount onchain. move max amount lightning to superclass
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/InvoiceDialog.qml", "new_path": "electrum/gui/qml/components/InvoiceDialog.qml", "diff": "@@ -115,7 +115,7 @@ ElDialog {\nLabel {\nwidth: parent.width\n- text: invoice.lnprops ? invoice.lnprops.pubkey : ''\n+ text: 'pubkey' in invoi...
Python
MIT License
spesmilo/electrum
qml: proper check for max amount onchain. move max amount lightning to superclass
630,992
22.09.2022 12:40:36
-7,200
a4195267ff8cd67c91417970eafa48ace13a2afd
new wizard approach
[ { "change_type": "ADD", "old_path": null, "new_path": "electrum/gui/wizard.py", "diff": "+import copy\n+\n+from typing import List, TYPE_CHECKING, Tuple, NamedTuple, Any, Dict, Optional, Union\n+\n+from electrum.logging import get_logger\n+\n+class WizardViewState(NamedTuple):\n+ view: str\n+ wizard...
Python
MIT License
spesmilo/electrum
new wizard approach
630,992
22.09.2022 14:41:29
-7,200
e0a3efe5b520099394059f680f1a73f521843679
move wallet creation from wizard to ui agnostic NewWalletWizard
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/NewWalletWizard.qml", "new_path": "electrum/gui/qml/components/NewWalletWizard.qml", "diff": "@@ -26,7 +26,7 @@ Wizard {\nonAccepted: {\nconsole.log('Finished new wallet wizard')\n- wiz.create_storage(wizard_data, Daemon.singlePassw...
Python
MIT License
spesmilo/electrum
move wallet creation from wizard to ui agnostic NewWalletWizard
630,992
29.09.2022 13:47:37
-7,200
e579f5b8a5b01954427270eb06d2db5621e80515
properly remember wallet password and pass to tx signing call
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qedaemon.py", "new_path": "electrum/gui/qml/qedaemon.py", "diff": "@@ -161,7 +161,9 @@ class QEDaemon(AuthMixin, QObject):\nif not password:\npassword = self._password\n- if self._path not in self.daemon._wallets:\n+ wallet_already_open = self...
Python
MIT License
spesmilo/electrum
properly remember wallet password and pass to tx signing call
630,992
29.09.2022 18:05:06
-7,200
20c95b26ea16d9ffda9548758f95ee0bf5c96783
wip otp on pay
[ { "change_type": "ADD", "old_path": null, "new_path": "electrum/gui/qml/components/OtpDialog.qml", "diff": "+import QtQuick 2.6\n+import QtQuick.Layouts 1.0\n+import QtQuick.Controls 2.14\n+import QtQuick.Controls.Material 2.0\n+\n+import org.electrum 1.0\n+\n+import \"controls\"\n+\n+ElDialog {\n+ ...
Python
MIT License
spesmilo/electrum
wip otp on pay
630,992
30.09.2022 15:40:05
-7,200
acb88f21c12f8d1ce13f872b5ea75639752f5d50
implement success and failure paths, keep dialog over multiple tries
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/OtpDialog.qml", "new_path": "electrum/gui/qml/components/OtpDialog.qml", "diff": "@@ -10,13 +10,13 @@ import \"controls\"\nElDialog {\nid: dialog\n- title: qsTr('OTP auth')\n+ title: qsTr('Trustedcoin')\n+ iconSource: '../../../icon...
Python
MIT License
spesmilo/electrum
implement success and failure paths, keep dialog over multiple tries
630,992
30.09.2022 15:47:18
-7,200
255f5085745d23c2f93a6a213a2def1a81ddef49
remove unused, add type checking imports
[ { "change_type": "MODIFY", "old_path": "electrum/plugins/trustedcoin/qml.py", "new_path": "electrum/plugins/trustedcoin/qml.py", "diff": "import threading\nimport socket\n+from typing import TYPE_CHECKING\nfrom PyQt5.QtCore import QObject, pyqtSignal, pyqtProperty, pyqtSlot\n@@ -16,6 +17,10 @@ from ...
Python
MIT License
spesmilo/electrum
remove unused, add type checking imports
630,992
04.10.2022 12:00:50
-7,200
6ea3a16cc84d9bce178ea4b7bf7bac2b82a221ba
add wallet type imported addresses/private keys to wizard
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Wallets.qml", "new_path": "electrum/gui/qml/components/Wallets.qml", "diff": "@@ -153,9 +153,14 @@ Pane {\nLabel { text: 'has Seed'; color: Material.accentColor }\nLabel { text: Daemon.currentWallet.hasSeed }\n- Label { Layout.colum...
Python
MIT License
spesmilo/electrum
add wallet type imported addresses/private keys to wizard
630,992
04.10.2022 19:47:29
-7,200
15e2ed4f5823d80ddd584568e8ebcbb39e6b3abe
rewrite server connect wizard to new wizard style 'last' property on WizardComponents is now queried from UI, not from the wizard. This allows the content of the WizardComponent itself to be taken into account.
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/NewWalletWizard.qml", "new_path": "electrum/gui/qml/components/NewWalletWizard.qml", "diff": "@@ -15,9 +15,7 @@ Wizard {\nproperty string path\n- enter: null // disable transition\n-\n- property QtObject wiz: Daemon.newWalletWizard\...
Python
MIT License
spesmilo/electrum
rewrite server connect wizard to new wizard style 'last' property on WizardComponents is now queried from UI, not from the wizard. This allows the content of the WizardComponent itself to be taken into account.
630,992
04.10.2022 21:10:17
-7,200
c6496d02efd6c4cf003b51dd17b0c50ce649efd8
add recovery paths (disable and confirm/reset OTP) for 2FA
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qewizard.py", "new_path": "electrum/gui/qml/qewizard.py", "diff": "@@ -73,7 +73,7 @@ class QENewWalletWizard(NewWalletWizard, QEAbstractWizard):\nself._path = path\nself.pathChanged.emit()\n- def last_if_single_password(self, view, wizard_data...
Python
MIT License
spesmilo/electrum
add recovery paths (disable and confirm/reset OTP) for 2FA
630,992
06.10.2022 09:20:02
-7,200
28b5103d93f417c9de7e4691427375efeccc4404
remove qml_test plugin, remove plugin settings test
[ { "change_type": "DELETE", "old_path": "electrum/plugins/qml_test/__init__.py", "new_path": null, "diff": "-from electrum.i18n import _\n-\n-fullname = 'QML Plugin Test'\n-description = '%s\\n%s' % (_(\"Plugin to test QML integration from plugins.\"), _(\"Note: Used for development\"))\n-available_f...
Python
MIT License
spesmilo/electrum
remove qml_test plugin, remove plugin settings test
630,992
11.10.2022 11:59:31
-7,200
6ca733a12f621904816488aa10a1b85d711292c1
move /gui/wizard.py to /wizard.py
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qewizard.py", "new_path": "electrum/gui/qml/qewizard.py", "diff": "@@ -4,7 +4,7 @@ from PyQt5.QtCore import pyqtProperty, pyqtSignal, pyqtSlot, QObject\nfrom PyQt5.QtQml import QQmlApplicationEngine\nfrom electrum.logging import get_logger\n-f...
Python
MIT License
spesmilo/electrum
move /gui/wizard.py to /wizard.py
630,992
21.10.2022 14:00:35
-7,200
daffa1a731ab25af1ca56fea9a33ff8339b39a9a
qml: ui swapdialog
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/SwapDialog.qml", "new_path": "electrum/gui/qml/components/SwapDialog.qml", "diff": "@@ -22,18 +22,19 @@ ElDialog {\ncolor: \"#aa000000\"\n}\n- GridLayout {\n- id: layout\n+ padding: 0\n+\n+ ColumnLayout {\nwidth: parent.width\nheigh...
Python
MIT License
spesmilo/electrum
qml: ui swapdialog
630,992
21.10.2022 14:11:14
-7,200
cf005a0f2a4371d43f337efd78b0d86c012f3539
qml: ui close channel dialog
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/CloseChannelDialog.qml", "new_path": "electrum/gui/qml/components/CloseChannelDialog.qml", "diff": "@@ -26,18 +26,28 @@ ElDialog {\nclosePolicy: Popup.NoAutoClose\n- GridLayout {\n- id: layout\n+ padding: 0\n+\n+ ColumnLayout {\nwid...
Python
MIT License
spesmilo/electrum
qml: ui close channel dialog
630,992
21.10.2022 14:15:59
-7,200
d65ee1710075713e6aeb952a50d3fc1701d6df45
qml: ui confirm tx dialog
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/ConfirmTxDialog.qml", "new_path": "electrum/gui/qml/components/ConfirmTxDialog.qml", "diff": "@@ -175,6 +175,8 @@ ElDialog {\nInfoTextArea {\nLayout.columnSpan: 2\n+ Layout.preferredWidth: parent.width * 3/4\n+ Layout.alignment: Qt....
Python
MIT License
spesmilo/electrum
qml: ui confirm tx dialog
630,992
21.10.2022 18:45:12
-7,200
6e536d2d916ca61b0a134b344d198fc5a7d82393
add invoice status to invoice_status callback * add invoice status to invoice_status callback * debug statement fails tests * removed commented lines, added progress/attempt counter comment in lnworker.pay_to_node, and update the invoice_status event handler in qeinvoicelistmodel.py
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/main_window.py", "new_path": "electrum/gui/kivy/main_window.py", "diff": "@@ -288,13 +288,12 @@ class ElectrumWindow(App, Logger, EventListener):\nself._trigger_update_history()\n@event_listener\n- def on_event_invoice_status(self, wallet, ke...
Python
MIT License
spesmilo/electrum
add invoice status to invoice_status callback (#8020) * add invoice status to invoice_status callback * debug statement fails tests * removed commented lines, added progress/attempt counter comment in lnworker.pay_to_node, and update the invoice_status event handler in qeinvoicelistmodel.py
630,870
22.10.2022 15:55:38
0
32ce64faa52fc03b8a3c93289d43c30bd94c2a84
merchant www: allow symlinks for vendored libs debian packager would like to replace vendored libs with system provided ones (using symlinks). This requires "follow_symlinks=True". discussion of security implications: to minimise attack surface, we only set this option for the "vendor/" directory. related:
[ { "change_type": "MODIFY", "old_path": "electrum/daemon.py", "new_path": "electrum/daemon.py", "diff": "@@ -393,6 +393,10 @@ class PayServer(Logger, EventListener):\napp.add_routes([web.get('/api/get_invoice', self.get_request)])\napp.add_routes([web.get('/api/get_status', self.get_status)])\napp.ad...
Python
MIT License
spesmilo/electrum
merchant www: allow symlinks for vendored libs debian packager would like to replace vendored libs with system provided ones (using symlinks). This requires "follow_symlinks=True". discussion of security implications: https://serverfault.com/q/244592 to minimise attack surface, we only set this option for the "vendo...
630,992
24.10.2022 10:38:43
-7,200
0a9c100382e9eb5801a313660199777730b79a27
force subclassing of self.last_if_single_password in NewWalletWizard
[ { "change_type": "MODIFY", "old_path": "electrum/wizard.py", "new_path": "electrum/wizard.py", "diff": "@@ -179,7 +179,7 @@ class NewWalletWizard(AbstractWizard):\nreturn self._current\ndef last_if_single_password(self, view, wizard_data):\n- return False # TODO: self._daemon.config.get('single_pass...
Python
MIT License
spesmilo/electrum
force subclassing of self.last_if_single_password in NewWalletWizard
630,992
24.10.2022 12:42:45
-7,200
fac4003354bcbbfdeba027a50279d03177d1738a
qml: fix wizard_data not available to 'last' check on have seed wizard page also refactor seed verification, split off seed_variant from seed_type (partial disambiguation), fix bip39 wallet creation
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/wizard/WCBIP39Refine.qml", "new_path": "electrum/gui/qml/components/wizard/WCBIP39Refine.qml", "diff": "@@ -51,10 +51,9 @@ WizardComponent {\nclip:true\ninteractive: height < contentHeight\n- GridLayout {\n+ ColumnLayout {\nid: main...
Python
MIT License
spesmilo/electrum
qml: fix wizard_data not available to 'last' check on have seed wizard page also refactor seed verification, split off seed_variant from seed_type (partial disambiguation), fix bip39 wallet creation
630,992
24.10.2022 13:04:46
-7,200
2adf03477109f774b92e87529b06fd3b71861c8c
use apply() function on every wizard page, making sure wizard_data is always available to wizard navigation evaluation
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/wizard/WCBIP39Refine.qml", "new_path": "electrum/gui/qml/components/wizard/WCBIP39Refine.qml", "diff": "@@ -10,10 +10,11 @@ import \"../controls\"\nWizardComponent {\nvalid: false\n- onAccept: {\n+ function apply() {\nwizard_data['s...
Python
MIT License
spesmilo/electrum
use apply() function on every wizard page, making sure wizard_data is always available to wizard navigation evaluation
630,992
24.10.2022 17:08:57
-7,200
87ee3030a8d3bc25ea0f1efdb680767d8a9f24f6
qml: actually use rbf selection
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/ConfirmTxDialog.qml", "new_path": "electrum/gui/qml/components/ConfirmTxDialog.qml", "diff": "@@ -188,6 +188,10 @@ ElDialog {\nLayout.columnSpan: 2\nchecked: finalizer.rbf\nvisible: finalizer.canRbf\n+ onCheckedChanged: {\n+ if (act...
Python
MIT License
spesmilo/electrum
qml: actually use rbf selection
630,864
24.10.2022 15:45:44
0
fffbccff3b74a937306fdf593dbbbc9b884393f0
make it easier to troubleshoot config parse errors Change the logging message displayed when the config file can't be parsed: include the underlying exception text, so that a user who is attepting to edit the config manually can find and fix any errors.
[ { "change_type": "MODIFY", "old_path": "electrum/simple_config.py", "new_path": "electrum/simple_config.py", "diff": "@@ -717,8 +717,8 @@ def read_user_config(path):\nwith open(config_path, \"r\", encoding='utf-8') as f:\ndata = f.read()\nresult = json.loads(data)\n- except:\n- _logger.warning(f\"Ca...
Python
MIT License
spesmilo/electrum
make it easier to troubleshoot config parse errors Change the logging message displayed when the config file can't be parsed: include the underlying exception text, so that a user who is attepting to edit the config manually can find and fix any errors.
630,870
24.10.2022 18:08:51
0
98d29cba5660228320c76a364721cd3bf81d5cb8
wine build: build win-iconv-mingw-w64-dev, instead of using debian sid This commit reintroduces which was previously reverted due to making the build non-reproducible. I have found building with "make -j1" seems to work. see closes related
[ { "change_type": "MODIFY", "old_path": "contrib/build-wine/Dockerfile", "new_path": "contrib/build-wine/Dockerfile", "diff": "@@ -24,12 +24,12 @@ RUN dpkg --add-architecture i386 && \\\nmake \\\nmingw-w64 \\\nmingw-w64-tools \\\n- win-iconv-mingw-w64-dev \\\nautotools-dev \\\nautoconf \\\nautopoint ...
Python
MIT License
spesmilo/electrum
wine build: build win-iconv-mingw-w64-dev, instead of using debian sid This commit reintroduces b8240bec3ef531167c794e48453770fc9ac63e4e, which was previously reverted due to making the build non-reproducible. I have found building with "make -j1" seems to work. see https://github.com/win-iconv/win-iconv/issues/42 cl...