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,870
11.07.2022 18:56:04
-7,200
955986d024155e6c00a82e187a94b46d1507e66a
qt: PayToEdit and OverlayControlMixin: move around input buttons
[ { "change_type": "ADD", "old_path": "electrum/gui/icons/menu_vertical.png", "new_path": "electrum/gui/icons/menu_vertical.png", "diff": "Binary files /dev/null and b/electrum/gui/icons/menu_vertical.png differ\n" }, { "change_type": "ADD", "old_path": "electrum/gui/icons/menu_vertical_wh...
Python
MIT License
spesmilo/electrum
qt: PayToEdit and OverlayControlMixin: move around input buttons
630,969
12.07.2022 10:13:19
-7,200
02e45690868bd1fd86b92329697cf9539edb8747
auto-remove redeemed channel backups. fix indentation.
[ { "change_type": "MODIFY", "old_path": "electrum/lnchannel.py", "new_path": "electrum/lnchannel.py", "diff": "@@ -282,9 +282,12 @@ class AbstractChannel(Logger, ABC):\nif funding_height.height == TX_HEIGHT_LOCAL:\nself.update_unfunded_state()\nelif closing_height.height == TX_HEIGHT_LOCAL:\n- self.u...
Python
MIT License
spesmilo/electrum
auto-remove redeemed channel backups. fix indentation.
630,992
12.07.2022 13:51:35
-7,200
f83c944f0eafc4487fe287d4323b478c24e9742e
qml: properly set keystore password when creating new wallet
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qedaemon.py", "new_path": "electrum/gui/qml/qedaemon.py", "diff": "@@ -150,6 +150,8 @@ class QEDaemon(AuthMixin, QObject):\nself._use_single_password = self.daemon.update_password_for_directory(old_password=password, new_password=password)\nse...
Python
MIT License
spesmilo/electrum
qml: properly set keystore password when creating new wallet
630,992
12.07.2022 14:01:04
-7,200
d0a9420c8772c910a9014f0ffa3313821c0b3023
qml: fix initial focus wallet name in new wallet wizard
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/wizard/WCWalletName.qml", "new_path": "electrum/gui/qml/components/wizard/WCWalletName.qml", "diff": "@@ -22,6 +22,6 @@ WizardComponent {\n}\nComponent.onCompleted: {\n- wallet_name.selectAll()\n+ wallet_name.forceActiveFocus()\n}\n...
Python
MIT License
spesmilo/electrum
qml: fix initial focus wallet name in new wallet wizard
630,969
12.07.2022 14:16:49
-7,200
46cfe781e3eafa1fe361cf35c36ca008593d94e6
initial release notes for 4.3
[ { "change_type": "MODIFY", "old_path": "RELEASE-NOTES", "new_path": "RELEASE-NOTES", "diff": "+# Release 4.3.0 - (not released yet)\n+\n+ This version introduces a set of UX modifications, that aim at\n+ simplifying the use of Lightning. The goal is to abstract payments\n+ from the payment layer, an...
Python
MIT License
spesmilo/electrum
initial release notes for 4.3
630,870
12.07.2022 15:33:28
-7,200
44655bcca2421e75cc8fff1e555c7efb747fce18
qt qrtextedit: also show icon in ShowQRTextEdit.contextMenu follow-up
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/qrtextedit.py", "new_path": "electrum/gui/qt/qrtextedit.py", "diff": "@@ -19,7 +19,7 @@ class ShowQRTextEdit(ButtonsTextEdit):\ndef contextMenuEvent(self, e):\nm = self.createStandardContextMenu()\n- m.addAction(_(\"Show as QR code\"), self.on_...
Python
MIT License
spesmilo/electrum
qt qrtextedit: also show icon in ShowQRTextEdit.contextMenu follow-up https://github.com/spesmilo/electrum/commit/955986d024155e6c00a82e187a94b46d1507e66a
630,870
12.07.2022 15:38:54
-7,200
056de017f055e236998cd091f3f001e844f82f60
wallet: use `get_request(addr)` instead of `receive_requests[addr]` since "invoice unification", requests are often keyed by rhash
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/main_window.py", "new_path": "electrum/gui/kivy/main_window.py", "diff": "@@ -269,7 +269,7 @@ class ElectrumWindow(App, Logger, EventListener):\ndef on_event_request_status(self, wallet, key, status):\nif wallet != self.wallet:\nreturn\n- req...
Python
MIT License
spesmilo/electrum
wallet: use `get_request(addr)` instead of `receive_requests[addr]` since "invoice unification", requests are often keyed by rhash
630,870
12.07.2022 15:46:47
-7,200
d067e0e3148999fa5d3a6ae711e0bcf756328855
wallet: make "invoices" and "receive_requests" private Other modules should use getters such as "get_request(key)" or "get_unpaid_requests()", direct access is error-prone.
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/invoice_list.py", "new_path": "electrum/gui/qt/invoice_list.py", "diff": "@@ -82,7 +82,7 @@ class InvoiceList(MyTreeView):\ndef refresh_row(self, key, row):\nassert row is not None\n- invoice = self.wallet.invoices.get(key)\n+ invoice = self.wa...
Python
MIT License
spesmilo/electrum
wallet: make "invoices" and "receive_requests" private Other modules should use getters such as "get_request(key)" or "get_unpaid_requests()", direct access is error-prone.
630,870
12.07.2022 12:47:52
-7,200
79fec3417aeea48b5760a758e9cfe14ae98600a7
crypto.py: rm {En,De}codeAES_base64. instead use {En,De}codeAES_bytes
[ { "change_type": "MODIFY", "old_path": "electrum/crypto.py", "new_path": "electrum/crypto.py", "diff": "@@ -167,12 +167,6 @@ def aes_decrypt_with_iv(key: bytes, iv: bytes, data: bytes) -> bytes:\nraise InvalidPassword()\n-def EncodeAES_base64(secret: bytes, msg: bytes) -> bytes:\n- \"\"\"Returns bas...
Python
MIT License
spesmilo/electrum
crypto.py: rm {En,De}codeAES_base64. instead use {En,De}codeAES_bytes
630,870
12.07.2022 16:50:49
-7,200
430a61eb429a501d839c8135a0e22db8b7dfe09d
qt QRDialog: try to fix layout-sizing issues related closes
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/qrcodewidget.py", "new_path": "electrum/gui/qt/qrcodewidget.py", "diff": "@@ -116,7 +116,6 @@ class QRDialog(WindowModalDialog):\nhelp_text = data if show_text else help_text\nif help_text:\n- qr_hbox.setContentsMargins(0, 0, 0, 44)\ntext_label...
Python
MIT License
spesmilo/electrum
qt QRDialog: try to fix layout-sizing issues related https://github.com/spesmilo/electrum/pull/7218 closes https://github.com/spesmilo/electrum/pull/7223
630,992
12.07.2022 16:49:07
-7,200
70cf44ccece2598fc1122e7961bc6cf9eec61170
qml: wip single password
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/OpenWallet.qml", "new_path": "electrum/gui/qml/components/OpenWallet.qml", "diff": "@@ -108,6 +108,7 @@ Pane {\nunlockButton.enabled = false\n_unlockClicked = true\nwallet_db.password = password.text\n+ wallet_db.verify()\nopenwalle...
Python
MIT License
spesmilo/electrum
qml: wip single password
630,992
12.07.2022 17:34:52
-7,200
63fed38305590bbad18eb2c098b233e85b04e9e4
qml: skip wallet password entry when single_password and password is known
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/NewWalletWizard.qml", "new_path": "electrum/gui/qml/components/NewWalletWizard.qml", "diff": "@@ -44,6 +44,8 @@ Wizard {\ncase 'haveseed':\npage = _loadNextComponent(components.haveseed, wizard_data)\npage.next.connect(function() {h...
Python
MIT License
spesmilo/electrum
qml: skip wallet password entry when single_password and password is known
630,992
12.07.2022 18:58:36
-7,200
894495aa921f0ecd11121b0e4e32f1afa9a646f0
qml: clean up
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qeapp.py", "new_path": "electrum/gui/qml/qeapp.py", "diff": "@@ -97,7 +97,9 @@ class QEAppController(QObject):\n+ '/../icons/electrum.png')\nnotification.notify('Electrum', message, app_icon=icon, app_name='Electrum')\nexcept ImportError:\n- s...
Python
MIT License
spesmilo/electrum
qml: clean up
630,969
13.07.2022 10:14:34
-7,200
f5abd4f1d1457c1aa5560dc366261348dbffd359
add command line for rebalancing channels
[ { "change_type": "MODIFY", "old_path": "electrum/commands.py", "new_path": "electrum/commands.py", "diff": "@@ -1232,6 +1232,24 @@ class Commands:\n\"\"\" return the local watchtower's ctn of channel. used in regtests \"\"\"\nreturn await self.network.local_watchtower.sweepstore.get_ctn(channel_poin...
Python
MIT License
spesmilo/electrum
add command line for rebalancing channels
630,870
15.07.2022 18:26:13
-7,200
ed65f335bd44c3430581c47e78db0a041540aa5c
wallet_db upgrade: fix possible corruption of invoice amounts see
[ { "change_type": "MODIFY", "old_path": "electrum/wallet.py", "new_path": "electrum/wallet.py", "diff": "@@ -943,6 +943,7 @@ class Abstract_Wallet(ABC, Logger, EventListener):\namount_msat = '!'\nbreak\nelse:\n+ assert isinstance(x.value, int), f\"{x.value!r}\"\namount_msat += x.value * 1000\ntimesta...
Python
MIT License
spesmilo/electrum
wallet_db upgrade: fix possible corruption of invoice amounts see https://github.com/spesmilo/electrum/pull/7774
630,969
18.07.2022 14:09:50
-7,200
1568c10ca0a137fa8694abe7b4a840e0d05479d4
fix 'view log' menu (follow-up 2d68350900dedd14f0a235461b1e0a22b96a6981)
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/history_list.py", "new_path": "electrum/gui/qt/history_list.py", "diff": "@@ -712,7 +712,7 @@ class HistoryList(MyTreeView, AcceptFileDragDrop):\nkey = tx_item['payment_hash']\nlog = self.wallet.lnworker.logs.get(key)\nif log:\n- menu.addAction...
Python
MIT License
spesmilo/electrum
fix 'view log' menu (follow-up 2d68350900dedd14f0a235461b1e0a22b96a6981)
630,969
19.07.2022 10:15:55
-7,200
85d354bf24525b5c636ecc15b82a17567bfa431c
Qt show_lightning_invoice: show features
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/main_window.py", "new_path": "electrum/gui/qt/main_window.py", "diff": "@@ -1456,20 +1456,24 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger, QtEventListener):\ngrid.addWidget(QLabel(amount_str), 1, 1)\ngrid.addWidget(QLabel(_(\"De...
Python
MIT License
spesmilo/electrum
Qt show_lightning_invoice: show features
630,969
19.07.2022 10:32:22
-7,200
4ff1ed5de57d1e2e2b529b1c90556af36ca49c96
show_lightning_invoice: minor improvements
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/main_window.py", "new_path": "electrum/gui/qt/main_window.py", "diff": "@@ -1449,8 +1449,14 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger, QtEventListener):\nd = WindowModalDialog(self, _(\"Lightning Invoice\"))\nvbox = QVBoxLayo...
Python
MIT License
spesmilo/electrum
show_lightning_invoice: minor improvements
630,969
19.07.2022 14:57:33
-7,200
6a74ffe80e663adff2bc861ef284e2d7778ecda8
Qt: improve channel details dialog. Add util.ShowQRLineEdit class.
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/address_dialog.py", "new_path": "electrum/gui/qt/address_dialog.py", "diff": "@@ -29,7 +29,7 @@ from PyQt5.QtWidgets import QVBoxLayout, QLabel\nfrom electrum.i18n import _\n-from .util import WindowModalDialog, ButtonsLineEdit, ColorScheme, Bu...
Python
MIT License
spesmilo/electrum
Qt: improve channel details dialog. Add util.ShowQRLineEdit class.
630,992
14.07.2022 07:51:36
-7,200
2ea1d885673491c7261fe673f9c6da1c8147224c
qml: use closebutton icon for label edit cancel UI PIN entry dialog
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/AddressDetails.qml", "new_path": "electrum/gui/qml/components/AddressDetails.qml", "diff": "@@ -143,7 +143,7 @@ Pane {\n}\nToolButton {\nvisible: labelContent.editmode\n- icon.source: '../../icons/delete.png'\n+ icon.source: '../../...
Python
MIT License
spesmilo/electrum
qml: use closebutton icon for label edit cancel UI PIN entry dialog
630,992
20.07.2022 07:53:41
-7,200
bbbb19eee48510e0d07459b8917981e6a438829c
qml: dedupe swap auth handling, fix fee values when no tx
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Swap.qml", "new_path": "electrum/gui/qml/components/Swap.qml", "diff": "@@ -181,25 +181,8 @@ Dialog {\n})\ndialog.open()\n}\n- onAuthRequired: { // TODO: don't replicate this code\n- if (swaphelper.wallet.verify_password('')) {\n- /...
Python
MIT License
spesmilo/electrum
qml: dedupe swap auth handling, fix fee values when no tx
630,969
20.07.2022 09:51:26
-7,200
30609cdc63a36239e7a584f427223e0fa5e920a5
Qt: simplify lightning_tx_dialog using ShowQRLineEdit
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/lightning_tx_dialog.py", "new_path": "electrum/gui/qt/lightning_tx_dialog.py", "diff": "@@ -33,7 +33,7 @@ from PyQt5.QtWidgets import QVBoxLayout, QLabel, QGridLayout\nfrom electrum.i18n import _\nfrom electrum.lnworker import PaymentDirection\...
Python
MIT License
spesmilo/electrum
Qt: simplify lightning_tx_dialog using ShowQRLineEdit
630,992
20.07.2022 09:25:57
-7,200
6aded403b8e43704c2c8b0fa752f2b24242b36ad
qml: pin lock after inactivity
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Pin.qml", "new_path": "electrum/gui/qml/components/Pin.qml", "diff": "@@ -21,12 +21,15 @@ Dialog {\nmodal: true\nparent: Overlay.overlay\nOverlay.modal: Rectangle {\n- color: \"#aa000000\"\n+ color: canCancel ? \"#aa000000\" : \"#ff...
Python
MIT License
spesmilo/electrum
qml: pin lock after inactivity
630,992
20.07.2022 09:33:49
-7,200
8523fc134fdf2f03b1ba2f7998630f7330d5c734
qml: slip39 disabled for now
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/wizard/WCHaveSeed.qml", "new_path": "electrum/gui/qml/components/wizard/WCHaveSeed.qml", "diff": "@@ -63,7 +63,7 @@ WizardComponent {\n}\nComboBox {\nid: seed_type\n- model: ['Electrum', 'BIP39', 'SLIP39']\n+ model: ['Electrum', 'BI...
Python
MIT License
spesmilo/electrum
qml: slip39 disabled for now
630,992
20.07.2022 10:29:31
-7,200
0cc22931d8241a6df7459267695086f4f0534bd0
qml: don't expose WalletListModel as a declarative type
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qeapp.py", "new_path": "electrum/gui/qml/qeapp.py", "diff": "@@ -141,7 +141,6 @@ class ElectrumQmlApplication(QGuiApplication):\nElectrumQmlApplication._daemon = daemon\n- qmlRegisterType(QEWalletListModel, 'org.electrum', 1, 0, 'WalletListMod...
Python
MIT License
spesmilo/electrum
qml: don't expose WalletListModel as a declarative type
630,992
20.07.2022 10:30:48
-7,200
802246251f52878a2f1add51dc4e46b8e0ccb1a0
qml: visually dim channels in CLOSED and REDEEMED states, apply simple sort on channel state to put channels in closed/redeemed state at bottom of list
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/controls/ChannelDelegate.qml", "new_path": "electrum/gui/qml/components/controls/ChannelDelegate.qml", "diff": "@@ -3,6 +3,8 @@ import QtQuick.Controls 2.0\nimport QtQuick.Layouts 1.0\nimport QtQuick.Controls.Material 2.0\n+import o...
Python
MIT License
spesmilo/electrum
qml: visually dim channels in CLOSED and REDEEMED states, apply simple sort on channel state to put channels in closed/redeemed state at bottom of list
630,992
20.07.2022 10:42:28
-7,200
fd7bd64ce870ae0c91177df3a8e76da1b5f08303
qml: delete WizardComponents, move into NewWalletWizard
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/NewWalletWizard.qml", "new_path": "electrum/gui/qml/components/NewWalletWizard.qml", "diff": "@@ -87,10 +87,42 @@ Wizard {\npage.last = true\n}\n- WizardComponents {\n+ Item {\nid: components\n+ property Component walletname: Compon...
Python
MIT License
spesmilo/electrum
qml: delete WizardComponents, move into NewWalletWizard
630,992
20.07.2022 10:56:52
-7,200
9147e84010aa405d2a4a2803078bafcfb6bf5be5
qml: finally!
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/main.qml", "new_path": "electrum/gui/qml/components/main.qml", "diff": "@@ -39,6 +39,13 @@ ApplicationWindow\nonClicked: stack.pop()\n}\n+ Image {\n+ Layout.alignment: Qt.AlignVCenter\n+ Layout.preferredWidth: constants.iconSizeLarg...
Python
MIT License
spesmilo/electrum
qml: finally!
630,969
20.07.2022 16:47:24
-7,200
90610de58ec99a83a419d14ac27f445312a9672b
auto-remove redeemed channel backups This restores commit That commit was reverted because I wrongly assumed that it would break lnworker.has_conflicting_backup_with.
[ { "change_type": "MODIFY", "old_path": "electrum/lnchannel.py", "new_path": "electrum/lnchannel.py", "diff": "@@ -351,6 +351,9 @@ class AbstractChannel(Logger, ABC):\nif self.get_state() == ChannelState.CLOSED and not keep_watching:\nself.set_state(ChannelState.REDEEMED)\n+ if self.lnworker and self...
Python
MIT License
spesmilo/electrum
auto-remove redeemed channel backups This restores commit 02e45690868bd1fd86b92329697cf9539edb8747. That commit was reverted because I wrongly assumed that it would break lnworker.has_conflicting_backup_with.
630,969
20.07.2022 17:00:57
-7,200
af1fb1ae9f5776ca8f197e2d14bd2bdca7f0afe5
remove_channel_backup: a channel backup might be in both lists
[ { "change_type": "MODIFY", "old_path": "electrum/lnworker.py", "new_path": "electrum/lnworker.py", "diff": "@@ -2511,13 +2511,16 @@ class LNWallet(LNWorker):\ndef remove_channel_backup(self, channel_id):\nchan = self.channel_backups[channel_id]\nassert chan.can_be_deleted()\n+ found = False\nonchain...
Python
MIT License
spesmilo/electrum
remove_channel_backup: a channel backup might be in both lists
630,969
20.07.2022 20:31:26
-7,200
4a27e4e51a70e4afde1a742fd46e25f6deb2dca8
fix rename parameter
[ { "change_type": "MODIFY", "old_path": "electrum/lnwatcher.py", "new_path": "electrum/lnwatcher.py", "diff": "@@ -529,7 +529,7 @@ class LNWalletWatcher(LNWatcher):\n# we may have a tx with a different fee, in which case it will be replaced\nif old_tx != new_tx:\ntry:\n- tx_was_added = self.adb.add_t...
Python
MIT License
spesmilo/electrum
fix #7895: rename parameter
630,969
20.07.2022 21:07:13
-7,200
b5617ec0fd4f407af5f3819dc8a810aed7e5d24b
lnworker: get_channel_objects method to be used by GUI
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/dialogs/lightning_channels.py", "new_path": "electrum/gui/kivy/uix/dialogs/lightning_channels.py", "diff": "@@ -657,9 +657,8 @@ class LightningChannelsDialog(Factory.Popup):\nif not self.app.wallet:\nreturn\nlnworker = self.app.wallet.lnw...
Python
MIT License
spesmilo/electrum
lnworker: get_channel_objects method to be used by GUI
630,969
21.07.2022 09:11:55
-7,200
3afee67ea34c402bcfd838cc8d811b75c3aa4f53
kivy GUI: show better error message if we cannot channel backup import because lightning is disabled or unavailable. fixes
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/main_window.py", "new_path": "electrum/gui/kivy/main_window.py", "diff": "@@ -1452,6 +1452,14 @@ class ElectrumWindow(App, Logger, EventListener):\nself.protected(_(\"Decrypt your private key?\"), show_private_key, (addr, pk_label))\ndef impo...
Python
MIT License
spesmilo/electrum
kivy GUI: show better error message if we cannot channel backup import because lightning is disabled or unavailable. fixes #7899
630,969
21.07.2022 11:41:44
-7,200
f5b1f7d2d9ea2f344593106ba98ff0c72b7dccf8
Generalize ChannelDetailsDialog to channel backups. Access funding_tx and closing_tx from the dialog, instead of from the channels_list context menu.
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/channel_details.py", "new_path": "electrum/gui/qt/channel_details.py", "diff": "@@ -38,6 +38,50 @@ class LinkedLabel(QtWidgets.QLabel):\nclass ChannelDetailsDialog(QtWidgets.QDialog, MessageBoxMixin, QtEventListener):\n+ def __init__(self, wind...
Python
MIT License
spesmilo/electrum
Generalize ChannelDetailsDialog to channel backups. Access funding_tx and closing_tx from the dialog, instead of from the channels_list context menu.
630,992
21.07.2022 10:19:07
-7,200
a970c0f78aeab0642a002db25cd14b65968887ad
qml: add initial bolt-11/bip-21 chooser in requestdialog implement proper placement of icon over qr code fix urlencoding in qr imageprovider
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/RequestDialog.qml", "new_path": "electrum/gui/qml/components/RequestDialog.qml", "diff": "@@ -5,6 +5,8 @@ import QtQuick.Controls.Material 2.0\nimport org.electrum 1.0\n+import \"controls\"\n+\nDialog {\nid: dialog\ntitle: qsTr('Pay...
Python
MIT License
spesmilo/electrum
qml: add initial bolt-11/bip-21 chooser in requestdialog implement proper placement of icon over qr code fix urlencoding in qr imageprovider
630,992
21.07.2022 13:24:32
-7,200
ccd182ec182f5350cb0164866272258a1f9504e1
qml: qenetwork events don't need to be handled in qt thread don't retrieve fee histogram from backend as it's passed in the event
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qenetwork.py", "new_path": "electrum/gui/qml/qenetwork.py", "diff": "@@ -4,7 +4,7 @@ from electrum.logging import get_logger\nfrom electrum import constants\nfrom electrum.interface import ServerAddr\n-from .util import QtEventListener, qt_eve...
Python
MIT License
spesmilo/electrum
qml: qenetwork events don't need to be handled in qt thread don't retrieve fee histogram from backend as it's passed in the event
630,992
21.07.2022 16:01:31
-7,200
c0dc1a9eaa07343b3d2de9f06c76a45fde1767c9
qml: separate proxy and server controls from wizardcontainer, so we can reuse them in network settings later
[ { "change_type": "ADD", "old_path": null, "new_path": "electrum/gui/qml/components/controls/ProxyConfig.qml", "diff": "+import QtQuick 2.6\n+import QtQuick.Layouts 1.0\n+import QtQuick.Controls 2.1\n+\n+Item {\n+ property alias proxy_enabled: proxy_enabled_cb.checked\n+ property alias proxy_type: pr...
Python
MIT License
spesmilo/electrum
qml: separate proxy and server controls from wizardcontainer, so we can reuse them in network settings later
630,870
21.07.2022 17:06:20
-7,200
9b48a97f654fc385b71c5feac91e7f30f80b98d1
lnutil.LnFeatures.get_names: don't return `None`s for unknown features follow-up `'\n'.join(lnaddr.get_features().get_names())` would raise otherwise
[ { "change_type": "MODIFY", "old_path": "electrum/lnutil.py", "new_path": "electrum/lnutil.py", "diff": "@@ -1192,10 +1192,11 @@ class LnFeatures(IntFlag):\nreturn (flag in our_flags\nor get_ln_flag_pair_of_bit(flag) in our_flags)\n- def get_names(self):\n+ def get_names(self) -> Sequence[str]:\nr = ...
Python
MIT License
spesmilo/electrum
lnutil.LnFeatures.get_names: don't return `None`s for unknown features follow-up https://github.com/spesmilo/electrum/commit/85d354bf24525b5c636ecc15b82a17567bfa431c `'\n'.join(lnaddr.get_features().get_names())` would raise otherwise
630,992
21.07.2022 19:41:26
-7,200
623de58b7bb55e5c36f76a887c15e9b550a1a5c1
qml: network status improvements create NetworkStatusIndicator component add forks/chaintips and lagging property to qenetwork add synchronizing and synchronizing progress properties to qewallet Note: new wallet synchronizing is not picked up in UI yet, missing an is_up_to_date event at the start still..
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/NetworkStats.qml", "new_path": "electrum/gui/qml/components/NetworkStats.qml", "diff": "@@ -3,6 +3,8 @@ import QtQuick.Layouts 1.0\nimport QtQuick.Controls 2.0\nimport QtQuick.Controls.Material 2.0\n+import \"controls\"\n+\nPane {\n...
Python
MIT License
spesmilo/electrum
qml: network status improvements create NetworkStatusIndicator component add forks/chaintips and lagging property to qenetwork add synchronizing and synchronizing progress properties to qewallet Note: new wallet synchronizing is not picked up in UI yet, missing an is_up_to_date event at the start still..
630,992
22.07.2022 10:06:19
-7,200
18ee90c2b8247e17cae0294f11e3f23cd26e40b6
qml: destroy dialogs instantiated from Send on close
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Send.qml", "new_path": "electrum/gui/qml/components/Send.qml", "diff": "@@ -247,12 +247,15 @@ Pane {\nwallet: Daemon.currentWallet\ncanRbf: true\n}\n+ onClosed: destroy()\n}\n}\nComponent {\nid: lightningPaymentProgressDialog\n- Lig...
Python
MIT License
spesmilo/electrum
qml: destroy dialogs instantiated from Send on close
630,992
22.07.2022 11:29:03
-7,200
c90504986c556c79f3c43c5c1f852475bf2e8a9f
qml: use custom combobox so we have more control over cropping and styling enable lightning routing choice combobox
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Preferences.qml", "new_path": "electrum/gui/qml/components/Preferences.qml", "diff": "@@ -5,27 +5,30 @@ import QtQuick.Controls.Material 2.0\nimport org.electrum 1.0\n+import \"controls\"\n+\nPane {\nid: preferences\nproperty string...
Python
MIT License
spesmilo/electrum
qml: use custom combobox so we have more control over cropping and styling enable lightning routing choice combobox
630,992
22.07.2022 12:49:09
-7,200
279b5a1b4813348354507cec3b93901489c13f45
qml: let qenetwork monitor gossip events, start/stop gossip service on config change add simple gossip feedback on NetworkStats page
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/NetworkStats.qml", "new_path": "electrum/gui/qml/components/NetworkStats.qml", "diff": "@@ -9,7 +9,7 @@ Pane {\nproperty string title: qsTr('Network')\nGridLayout {\n- columns: 3\n+ columns: 2\nLabel {\ntext: qsTr(\"Network: \");\n@...
Python
MIT License
spesmilo/electrum
qml: let qenetwork monitor gossip events, start/stop gossip service on config change add simple gossip feedback on NetworkStats page
630,992
22.07.2022 13:17:05
-7,200
93392b8917cb04f5bad6d9b73dfba64240fac880
qml: also show proxy in networkstatusindicator and a little gimmick when a fork is detected
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/controls/NetworkStatusIndicator.qml", "new_path": "electrum/gui/qml/components/controls/NetworkStatusIndicator.qml", "diff": "@@ -10,6 +10,7 @@ Image {\nproperty bool lagging: connected && Network.isLagging\nproperty bool fork: conn...
Python
MIT License
spesmilo/electrum
qml: also show proxy in networkstatusindicator and a little gimmick when a fork is detected
630,992
22.07.2022 15:51:26
-7,200
b858336d5e7394ee52bdb1574da8fdbb9f1a307a
qml: some fixes for gossip mode channel open. add kangaroo icon to channeldelegate
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/OpenChannel.qml", "new_path": "electrum/gui/qml/components/OpenChannel.qml", "diff": "@@ -46,10 +46,12 @@ Pane {\nicon.height: constants.iconSizeMedium\nicon.width: constants.iconSizeMedium\nonClicked: {\n+ if (channelopener.validat...
Python
MIT License
spesmilo/electrum
qml: some fixes for gossip mode channel open. add kangaroo icon to channeldelegate
630,992
22.07.2022 16:04:55
-7,200
92b08c08e689605c3895c412aa5b4e5d9b9bf4f9
qml: fix issue with proxy eval
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/controls/NetworkStatusIndicator.qml", "new_path": "electrum/gui/qml/components/controls/NetworkStatusIndicator.qml", "diff": "@@ -10,7 +10,7 @@ Image {\nproperty bool lagging: connected && Network.isLagging\nproperty bool fork: conn...
Python
MIT License
spesmilo/electrum
qml: fix issue with proxy eval
630,992
22.07.2022 16:26:51
-7,200
b7167c11cfb5c1ddb541d4e123af2fcb82018e0e
qml: fix missing parens
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/OpenChannel.qml", "new_path": "electrum/gui/qml/components/OpenChannel.qml", "diff": "@@ -46,7 +46,7 @@ Pane {\nicon.height: constants.iconSizeMedium\nicon.width: constants.iconSizeMedium\nonClicked: {\n- if (channelopener.validate_...
Python
MIT License
spesmilo/electrum
qml: fix missing parens
630,969
22.07.2022 17:01:46
-7,200
a59c8797dc0342d8fa14c812664564987a52837e
wallet: write to disk in create_request
[ { "change_type": "MODIFY", "old_path": "electrum/wallet.py", "new_path": "electrum/wallet.py", "diff": "@@ -1000,7 +1000,8 @@ class Abstract_Wallet(ABC, Logger, EventListener):\ndata = read_json_file(path)\nfor x in data:\nreq = Invoice(**x)\n- self.add_payment_request(req)\n+ self.add_payment_reque...
Python
MIT License
spesmilo/electrum
wallet: write to disk in create_request
630,969
22.07.2022 16:56:34
-7,200
43ab4a779afa339c5295aa1bab61c3915d2df2b9
various updates for the text GUI
[ { "change_type": "MODIFY", "old_path": "electrum/gui/text.py", "new_path": "electrum/gui/text.py", "diff": "@@ -6,20 +6,23 @@ import locale\nfrom decimal import Decimal\nimport getpass\nimport logging\n+import pyperclip\nfrom typing import TYPE_CHECKING, Optional\nimport electrum\nfrom electrum.gui ...
Python
MIT License
spesmilo/electrum
various updates for the text GUI
630,992
26.07.2022 10:22:09
-7,200
a27218dcb7ab518be231792af82475c2e58758ee
qml: copy/share the correct data, fix UI issue when no description
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/RequestDialog.qml", "new_path": "electrum/gui/qml/components/RequestDialog.qml", "diff": "@@ -151,8 +151,8 @@ Dialog {\nicon.color: 'transparent'\ntext: 'Copy'\nonClicked: {\n- if (modelItem.is_lightning)\n- AppController.textToClip...
Python
MIT License
spesmilo/electrum
qml: copy/share the correct data, fix UI issue when no description
630,992
26.07.2022 10:45:22
-7,200
33bc35940f0d5d789f57d1f8f3f169b030c86205
qml: move dialogs out of controls/
[ { "change_type": "RENAME", "old_path": "electrum/gui/qml/components/controls/GenericShareDialog.qml", "new_path": "electrum/gui/qml/components/GenericShareDialog.qml", "diff": "@@ -3,6 +3,8 @@ import QtQuick.Layouts 1.0\nimport QtQuick.Controls 2.14\nimport QtQuick.Controls.Material 2.0\n+import \"c...
Python
MIT License
spesmilo/electrum
qml: move dialogs out of controls/
630,969
26.07.2022 13:16:06
-7,200
725c70bc4ab2f137c1971bcbead648366bec0fec
text GUI: simplify show_request
[ { "change_type": "MODIFY", "old_path": "electrum/gui/text.py", "new_path": "electrum/gui/text.py", "diff": "@@ -86,7 +86,6 @@ class ElectrumGui(BaseElectrumGui, EventListener):\nself.tab = 0\nself.pos = 0\nself.popup_pos = 0\n- self.qr_mode = 0\nself.str_recipient = \"\"\nself.str_description = \"\"...
Python
MIT License
spesmilo/electrum
text GUI: simplify show_request
630,992
26.07.2022 16:20:17
-7,200
3b9c009e43131e473ce024fdbbccb6aeb16b1ee2
qml: include dialogs in back button navigation
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Channels.qml", "new_path": "electrum/gui/qml/components/Channels.qml", "diff": "@@ -157,6 +157,6 @@ Pane {\nComponent {\nid: swapDialog\n- Swap {}\n+ SwapDialog {}\n}\n}\n" }, { "change_type": "MODIFY", "old_path": "elec...
Python
MIT License
spesmilo/electrum
qml: include dialogs in back button navigation
630,992
12.07.2022 17:48:03
-7,200
509e0fcc07b7f483e2df46b8eab6552286b21624
qml: initial channel open progress dialog
[ { "change_type": "ADD", "old_path": null, "new_path": "electrum/gui/qml/components/ChannelOpenProgressDialog.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+\n+import org.electrum 1.0\n+\n+import \"controls\"\n+\n...
Python
MIT License
spesmilo/electrum
qml: initial channel open progress dialog
630,992
26.07.2022 19:07:11
-7,200
e9a1824a77e0428f39936bcbba317f722dcc2cbc
qml: parent channel open progress dialog to main.qml as it might live longer than OpenChannel
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/ChannelOpenProgressDialog.qml", "new_path": "electrum/gui/qml/components/ChannelOpenProgressDialog.qml", "diff": "@@ -27,6 +27,12 @@ ElDialog {\nproperty alias error: errorText.text\nproperty alias peer: peerText.text\n+ function re...
Python
MIT License
spesmilo/electrum
qml: parent channel open progress dialog to main.qml as it might live longer than OpenChannel
630,992
26.07.2022 20:36:43
-7,200
6c21a0ec677e9c1ee2a2f226c110c30e33867b9e
qml: create PasswordField control
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/OpenWallet.qml", "new_path": "electrum/gui/qml/components/OpenWallet.qml", "diff": "@@ -44,16 +44,20 @@ Pane {\nerror: true\n}\n+ RowLayout {\n+ Layout.columnSpan: 2\n+ Layout.alignment: Qt.AlignHCenter\n+ Layout.maximumWidth: paren...
Python
MIT License
spesmilo/electrum
qml: create PasswordField control
630,992
26.07.2022 20:37:27
-7,200
ae1e7eea4c353d5cae78798a06164f63d67bdd65
qml: make sure the auth_protect decorator finishes when closing Pin dialog without reject/accept
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Pin.qml", "new_path": "electrum/gui/qml/components/Pin.qml", "diff": "@@ -65,6 +65,14 @@ ElDialog {\n}\n}\n+ onAccepted: result = Dialog.Accepted\n+ onRejected: result = Dialog.Rejected\n+ onClosed: {\n+ if (!root.result) {\n+ root....
Python
MIT License
spesmilo/electrum
qml: make sure the auth_protect decorator finishes when closing Pin dialog without reject/accept
630,969
27.07.2022 12:08:50
-7,200
eb9d211378a9e606436a68e0c357dbd29ddb9607
text GUI: add proper stop method
[ { "change_type": "MODIFY", "old_path": "electrum/gui/text.py", "new_path": "electrum/gui/text.py", "diff": "@@ -103,6 +103,8 @@ class ElectrumGui(BaseElectrumGui, EventListener):\nself.num_tabs = len(self.tab_names)\nself.need_update = False\n+ def stop(self):\n+ self.tab = -1\n@event_listener\ndef ...
Python
MIT License
spesmilo/electrum
text GUI: add proper stop method
630,992
27.07.2022 10:23:35
-7,200
5008cef49104388f8846379ac0a3b3c705fe009d
qml: optimize imports
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/__init__.py", "new_path": "electrum/gui/qml/__init__.py", "diff": "import os\nimport signal\nimport sys\n-import traceback\nimport threading\n-import re\n-from typing import Optional, TYPE_CHECKING, List\n+import traceback\n+from typing import...
Python
MIT License
spesmilo/electrum
qml: optimize imports
630,992
28.07.2022 11:53:20
-7,200
e719e70761ef90da7c3c3688434bab7a045f2afd
qml: fix icon paths
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/GenericShareDialog.qml", "new_path": "electrum/gui/qml/components/GenericShareDialog.qml", "diff": "@@ -82,13 +82,13 @@ ElDialog {\nLayout.alignment: Qt.AlignHCenter\nButton {\ntext: qsTr('Copy')\n- icon.source: '../../../icons/copy...
Python
MIT License
spesmilo/electrum
qml: fix icon paths
630,992
28.07.2022 16:52:01
-7,200
008805d97c63c5fbddc575e641e8895ff09b9069
qml: implement initial wallet from master key
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/NewWalletWizard.qml", "new_path": "electrum/gui/qml/components/NewWalletWizard.qml", "diff": "@@ -47,8 +47,12 @@ Wizard {\nif (wizard_data['seed_type'] != 'bip39' && Daemon.singlePassword)\npage.last = true\nbreak\n-// case 'masterk...
Python
MIT License
spesmilo/electrum
qml: implement initial wallet from master key
630,992
28.07.2022 18:43:06
-7,200
3de498907c7fdf2c7ffbefd3afcb825b4ff5d205
qml: delete_wallet and add checks for channels, balance, pending requests
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/NewWalletWizard.qml", "new_path": "electrum/gui/qml/components/NewWalletWizard.qml", "diff": "@@ -44,13 +44,13 @@ Wizard {\ncase 'haveseed':\npage = _loadNextComponent(components.haveseed, wizard_data)\npage.next.connect(function() ...
Python
MIT License
spesmilo/electrum
qml: delete_wallet and add checks for channels, balance, pending requests
630,969
29.07.2022 09:22:14
-7,200
cace1b50136707fbc1a7b57d42fbe191ae3ea486
lnwatcher: compare txids instead of tx objects, before calling add_transaction or set_label
[ { "change_type": "MODIFY", "old_path": "electrum/lnwatcher.py", "new_path": "electrum/lnwatcher.py", "diff": "@@ -527,7 +527,7 @@ class LNWalletWatcher(LNWatcher):\nelse:\nself.logger.info(f'cannot broadcast: {name} {reason}')\n# we may have a tx with a different fee, in which case it will be replac...
Python
MIT License
spesmilo/electrum
lnwatcher: compare txids instead of tx objects, before calling add_transaction or set_label
630,969
29.07.2022 09:38:15
-7,200
ad9030bd1588db65ce93e6d0277ee8de51bf79cd
labels plugin: handle setting a label to None
[ { "change_type": "MODIFY", "old_path": "electrum/plugins/labels/labels.py", "new_path": "electrum/plugins/labels/labels.py", "diff": "@@ -65,12 +65,17 @@ class LabelsPlugin(BasePlugin):\nreturn\nif not item:\nreturn\n+ if label is None:\n+ # note: the server does not know whether a label is empty\n+...
Python
MIT License
spesmilo/electrum
labels plugin: handle setting a label to None
630,870
29.07.2022 19:12:48
-7,200
7dcd8d8dc85144a816698dd36701d52259ad9de7
Qt receive_tab: fix receive_tabs widget on macOS QTabWidget with "West" tab pos and horizontal text looks completely broken on macOS (despite looking good on e.g. Ubuntu GNOME and Windows). The alternative here looks ok on all three OSes. fixes
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/receive_tab.py", "new_path": "electrum/gui/qt/receive_tab.py", "diff": "@@ -155,7 +155,7 @@ class ReceiveTab(QWidget, MessageBoxMixin, Logger):\nfrom .util import VTabWidget\nself.receive_tabs = VTabWidget()\n- self.receive_tabs.setMinimumHeigh...
Python
MIT License
spesmilo/electrum
Qt receive_tab: fix receive_tabs widget on macOS QTabWidget with "West" tab pos and horizontal text looks completely broken on macOS (despite looking good on e.g. Ubuntu GNOME and Windows). The alternative here looks ok on all three OSes. fixes https://github.com/spesmilo/electrum/issues/7908
630,969
31.07.2022 09:55:07
-7,200
a2e059ce7a3098667a85f9b56f47f2bfe16c95b0
receive_tab: workaround qdarkstyle bug
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/receive_tab.py", "new_path": "electrum/gui/qt/receive_tab.py", "diff": "@@ -168,6 +168,9 @@ class ReceiveTab(QWidget, MessageBoxMixin, Logger):\nself.receive_tabs.setVisible(False)\nself.receive_requests_label = QLabel(_('Receive queue'))\n+ # ...
Python
MIT License
spesmilo/electrum
receive_tab: workaround qdarkstyle bug
630,969
02.08.2022 18:00:33
-7,200
a5965933d2354c23adcc8df197f82e4ced75cdb5
Fix CTNs in should_be_closed_due_to_expiring_htlcs (fixes Also fix sending too many fee updates. Rename lnworker.on_channel_update, that name was misleading.
[ { "change_type": "MODIFY", "old_path": "electrum/lnchannel.py", "new_path": "electrum/lnchannel.py", "diff": "@@ -1576,8 +1576,8 @@ class Channel(AbstractChannel):\n# to the present, then unilaterally close channel\nrecv_htlc_deadline = lnutil.NBLOCK_DEADLINE_BEFORE_EXPIRY_FOR_RECEIVED_HTLCS\nfor su...
Python
MIT License
spesmilo/electrum
Fix CTNs in should_be_closed_due_to_expiring_htlcs (fixes #7906). Also fix sending too many fee updates. Rename lnworker.on_channel_update, that name was misleading.
630,880
03.08.2022 17:03:27
-10,800
018a83078c93cfb5c14507d1bc62bd5baa2af825
remove ca.poiuty.com
[ { "change_type": "MODIFY", "old_path": "electrum/servers.json", "new_path": "electrum/servers.json", "diff": "\"t\": \"50001\",\n\"version\": \"1.4.2\"\n},\n- \"ca.poiuty.com\": {\n- \"pruning\": \"-\",\n- \"s\": \"50002\",\n- \"t\": \"50004\",\n- \"version\": \"1.4.5\"\n- },\n\"de.poiuty.com\": {\n...
Python
MIT License
spesmilo/electrum
remove ca.poiuty.com (#7913)
630,969
03.08.2022 18:14:57
-7,200
58b56b303976d1fd9bda094e247e874ea6ec4204
receive_tab: use QStackedWidget instead of QTabWidget
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/util.py", "new_path": "electrum/gui/qt/util.py", "diff": "@@ -1571,7 +1571,7 @@ class ImageGraphicsEffect(QObject):\nreturn result\n-class SquareTabWidget(QtWidgets.QTabWidget):\n+class SquareTabWidget(QtWidgets.QStackedWidget):\ndef resizeEven...
Python
MIT License
spesmilo/electrum
receive_tab: use QStackedWidget instead of QTabWidget
630,870
03.08.2022 19:39:28
-7,200
b97d0806171ef8e3046a9fe7afb91b6053ae5f87
qt ReceiveTabWidget: add frame to "help label", and rm some nesting
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/receive_tab.py", "new_path": "electrum/gui/qt/receive_tab.py", "diff": "@@ -7,7 +7,7 @@ from typing import Optional, TYPE_CHECKING\nfrom PyQt5.QtGui import QFont\nfrom PyQt5.QtCore import Qt, QSize\nfrom PyQt5.QtWidgets import (QComboBox, QLabe...
Python
MIT License
spesmilo/electrum
qt ReceiveTabWidget: add frame to "help label", and rm some nesting
630,870
03.08.2022 22:16:24
-7,200
d4f76143b092b53855d8d2add6c5b7de90760cba
qt ReceiveTabWidget: revert prev, and add frame in a different way This reverts commit
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/receive_tab.py", "new_path": "electrum/gui/qt/receive_tab.py", "diff": "@@ -101,12 +101,17 @@ class ReceiveTab(QWidget, MessageBoxMixin, Logger):\ngrid.addLayout(buttons, 4, 0, 1, -1)\nself.receive_address_e = ButtonsTextEdit()\n- self.receive_...
Python
MIT License
spesmilo/electrum
qt ReceiveTabWidget: revert prev, and add frame in a different way This reverts commit b97d0806171ef8e3046a9fe7afb91b6053ae5f87.
630,870
04.08.2022 21:47:50
-7,200
752b37a03b03cc4e68c3ec1c187cf7626891ecb2
dependencies: bundle older hidapi in binaries closes
[ { "change_type": "MODIFY", "old_path": "contrib/deterministic-build/requirements-hw.txt", "new_path": "contrib/deterministic-build/requirements-hw.txt", "diff": "@@ -95,41 +95,28 @@ cryptography==36.0.2 \\\necdsa==0.17.0 \\\n--hash=sha256:5cf31d5b33743abe0dfc28999036c849a69d548f994b535e527ee3cb7f3ef...
Python
MIT License
spesmilo/electrum
dependencies: bundle older hidapi in binaries closes https://github.com/spesmilo/electrum/issues/7738
630,870
04.08.2022 21:52:22
-7,200
c421bdaff4e1305eb97293efd3a22a81d6b35497
(trivial) qml/qedaemon.py: add missing import
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qedaemon.py", "new_path": "electrum/gui/qml/qedaemon.py", "diff": "@@ -7,6 +7,7 @@ from electrum.i18n import _\nfrom electrum.logging import get_logger\nfrom electrum.util import WalletFileException, standardize_path\nfrom electrum.wallet impo...
Python
MIT License
spesmilo/electrum
(trivial) qml/qedaemon.py: add missing import
630,969
05.08.2022 14:05:49
-7,200
4fcc5a580a8f36c1af4c810bc8c86013fa9162c7
prepare release 4.3.0: update version.py and locale
[ { "change_type": "MODIFY", "old_path": "contrib/deterministic-build/electrum-locale", "new_path": "contrib/deterministic-build/electrum-locale", "diff": "-Subproject commit a58d5991682df342e34bf6fd464db8476a2cb928\n+Subproject commit 2bf943a8c9e9e54704c191991bbc18547cc582d0\n" }, { "change_t...
Python
MIT License
spesmilo/electrum
prepare release 4.3.0: update version.py and locale
630,870
05.08.2022 17:53:20
-7,200
787dd6928238313a354fc2bdac7ce61fec2adc67
win build: clear $CONTRIB_WINE/dist between builds
[ { "change_type": "MODIFY", "old_path": "contrib/build-wine/build.sh", "new_path": "contrib/build-wine/build.sh", "diff": "@@ -13,6 +13,9 @@ CONTRIB_WINE=\"$CONTRIB/build-wine\"\n. \"$CONTRIB\"/build_tools_util.sh\n+info \"Clearing $CONTRIB_WINE/dist...\"\n+rm -rf \"$CONTRIB_WINE\"/dist/*\n+\nDOCKER_...
Python
MIT License
spesmilo/electrum
win build: clear $CONTRIB_WINE/dist between builds
630,870
05.08.2022 22:57:24
-7,200
bf4482ce1eae4ee1e4b76394fd485bc35f8ca4b3
(trivial) replace URL in comment to include git hash instead of branch
[ { "change_type": "MODIFY", "old_path": "contrib/android/Makefile", "new_path": "contrib/android/Makefile", "diff": "@@ -12,7 +12,7 @@ else\n# So, \"private_version\" needs to be reproducible, but it would be useful during development if it changed\n# between subsequent builds (otherwise the new code...
Python
MIT License
spesmilo/electrum
(trivial) replace URL in comment to include git hash instead of branch
630,870
05.08.2022 23:02:24
-7,200
548b7d4b236c42373f0082ff35cb11e95c3b75ef
(trivial) RELEASE-NOTES: fix some typos
[ { "change_type": "MODIFY", "old_path": "RELEASE-NOTES", "new_path": "RELEASE-NOTES", "diff": "the unconfirmed balance, and could potentially cancel\neach other.)\n- * In addition, the following new features are woth noting:\n+ * In addition, the following new features are worth noting:\n- support fo...
Python
MIT License
spesmilo/electrum
(trivial) RELEASE-NOTES: fix some typos
630,870
06.08.2022 01:23:43
-7,200
caa6983f81a56fb0ca7955bf9a79af1ec1ad74fa
contrib/{add_cosigner,make_download}: cd to project root to make it agnostic of cwd
[ { "change_type": "MODIFY", "old_path": "contrib/add_cosigner", "new_path": "contrib/add_cosigner", "diff": "@@ -19,6 +19,10 @@ import os\nimport sys\nimport importlib\n+\n+# cd to project root\n+os.chdir(os.path.dirname(os.path.dirname(__file__)))\n+\n# load version.py; needlessly complicated altern...
Python
MIT License
spesmilo/electrum
contrib/{add_cosigner,make_download}: cd to project root to make it agnostic of cwd
630,870
06.08.2022 06:43:31
-7,200
87904e2c7e370ec8b25f14b79b6b296b6294e3b0
win build: force using source dist for some of our python dependencies Instead of using pre-built binary wheels from PyPI. We should tighten this more (re other requirements-*.txt files), but there is no C compiler available inside the wine environment atm...
[ { "change_type": "MODIFY", "old_path": "contrib/build-wine/build-electrum-git.sh", "new_path": "contrib/build-wine/build-electrum-git.sh", "diff": "@@ -35,13 +35,21 @@ find -exec touch -h -d '2000-11-11T11:11:11+00:00' {} +\npopd\n-# Install frozen dependencies\n-$WINE_PYTHON -m pip install --no-bui...
Python
MIT License
spesmilo/electrum
win build: force using source dist for some of our python dependencies Instead of using pre-built binary wheels from PyPI. We should tighten this more (re other requirements-*.txt files), but there is no C compiler available inside the wine environment atm...
630,870
08.08.2022 16:34:04
-7,200
73ba00d7dd87af5e63ab2a30617fae1b8d36d0c4
wallet.restore_wallet_from_text: support creating wallet in-memory
[ { "change_type": "MODIFY", "old_path": "electrum/storage.py", "new_path": "electrum/storage.py", "diff": "@@ -102,7 +102,7 @@ class WalletStorage(Logger):\ndef file_exists(self) -> bool:\nreturn self._file_exists\n- def is_past_initial_decryption(self):\n+ def is_past_initial_decryption(self) -> boo...
Python
MIT License
spesmilo/electrum
wallet.restore_wallet_from_text: support creating wallet in-memory
630,870
09.08.2022 18:48:21
-7,200
233d2373df0ed4c3cae643323ea8f023d89aa7dd
util: implement is_subpath
[ { "change_type": "MODIFY", "old_path": "electrum/tests/test_util.py", "new_path": "electrum/tests/test_util.py", "diff": "from decimal import Decimal\n+from electrum import util\nfrom electrum.util import (format_satoshis, format_fee_satoshis, parse_URI,\nis_hash256_str, chunks, is_ip_address, list_...
Python
MIT License
spesmilo/electrum
util: implement is_subpath
630,943
25.02.2022 09:33:24
-3,600
b5d2b3c51297058fd68a920414ca2dae52f8a70a
create chmod aware of XDG_RUNTIME_DIR closes related
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/main_window.py", "new_path": "electrum/gui/qt/main_window.py", "diff": "@@ -60,7 +60,7 @@ from electrum.util import (format_time, get_asyncio_loop,\nbh2u, bfh, InvalidPassword,\nUserFacingException,\nget_new_wallet_name, send_exception_to_crash...
Python
MIT License
spesmilo/electrum
create chmod aware of XDG_RUNTIME_DIR closes https://github.com/spesmilo/electrum/pull/7681 related https://github.com/spesmilo/electrum/issues/6334 Co-authored-by: avirgovi <avirgovi@cisco.com> Co-authored-by: SomberNight <somber.night@protonmail.com>
630,870
10.08.2022 17:32:23
-7,200
bc8edd292804ed72426b4c1a327ece3767f33a0a
Add .editorconfig file Default to LF EOL, and space indent. 4 space indent for .py/.sh files. See based on
[ { "change_type": "ADD", "old_path": null, "new_path": ".editorconfig", "diff": "+# see https://EditorConfig.org\n+\n+root = true\n+\n+[*]\n+indent_style = space\n+trim_trailing_whitespace = true\n+end_of_line = lf\n+charset = utf-8\n+\n+[*.py]\n+indent_size = 4\n+insert_final_newline = true\n+\n+[*....
Python
MIT License
spesmilo/electrum
Add .editorconfig file Default to LF EOL, UTF-8 and space indent. 4 space indent for .py/.sh files. See https://editorconfig.org/ based on https://github.com/Electron-Cash/Electron-Cash/commit/de392bb92c9aa8a3ab46a56334a90b8159d8fddc
630,870
10.08.2022 18:16:17
-7,200
05863a611fddbb8f36bb7d10a02d1b6dcf7da8e1
tests: test_lnpeer.py: clean-up temp dirs created in /tmp, in tearDown
[ { "change_type": "MODIFY", "old_path": "electrum/tests/test_lnpeer.py", "new_path": "electrum/tests/test_lnpeer.py", "diff": "import asyncio\n+import shutil\nimport tempfile\nfrom decimal import Decimal\nimport os\n@@ -39,6 +40,7 @@ from electrum.lnutil import derive_payment_secret_from_payment_prei...
Python
MIT License
spesmilo/electrum
tests: test_lnpeer.py: clean-up temp dirs created in /tmp, in tearDown
630,870
10.08.2022 19:53:36
-7,200
388811296e68faaead171b3002ca4ec673cdb13b
qt: replace some hardcoded pixel sizes for better high-dpi support
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/balance_dialog.py", "new_path": "electrum/gui/qt/balance_dialog.py", "diff": "from typing import TYPE_CHECKING\n-from PyQt5.QtCore import Qt\n-from PyQt5.QtGui import QPixmap\nfrom PyQt5.QtWidgets import (QVBoxLayout, QCheckBox, QHBoxLayout, QL...
Python
MIT License
spesmilo/electrum
qt: replace some hardcoded pixel sizes for better high-dpi support
630,870
10.08.2022 21:03:55
-7,200
7e2fab809db9b062954993f18f3e221240aafae8
appimage build: better parameterise python version
[ { "change_type": "MODIFY", "old_path": "contrib/build-linux/appimage/apprun.sh", "new_path": "contrib/build-linux/appimage/apprun.sh", "diff": "@@ -8,4 +8,4 @@ export LD_LIBRARY_PATH=\"${APPDIR}/usr/lib/:${APPDIR}/usr/lib/x86_64-linux-gnu${L\nexport PATH=\"${APPDIR}/usr/bin:${PATH}\"\nexport LDFLAGS...
Python
MIT License
spesmilo/electrum
appimage build: better parameterise python version
630,870
10.08.2022 22:50:23
-7,200
396a68cb5800e37cb82e3b32e39dee099dc8126f
wallet: delete_{invoice,request}: add "write_to_disk=True" param to support faster batch-deletion
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/invoice_list.py", "new_path": "electrum/gui/qt/invoice_list.py", "diff": "@@ -194,5 +194,6 @@ class InvoiceList(MyTreeView):\ndef delete_invoices(self, keys):\nfor key in keys:\n- self.wallet.delete_invoice(key)\n+ self.wallet.delete_invoice(ke...
Python
MIT License
spesmilo/electrum
wallet: delete_{invoice,request}: add "write_to_disk=True" param to support faster batch-deletion
630,870
10.08.2022 23:23:00
-7,200
0c81dc13a0a2c451d961fe40620b7138cf9ce694
wallet: rm confusing get_request_by_address method The _receive_requests dict is keyed by either 'address' or 'rhash' (see get_key_for_receive_request): 'rhash' is used if `req.lightning_invoice is not None` address is used otherwise The `get_request_by_address` method was quite error-prone: it only worked for requests...
[ { "change_type": "MODIFY", "old_path": "electrum/wallet.py", "new_path": "electrum/wallet.py", "diff": "@@ -1343,7 +1343,7 @@ class Abstract_Wallet(ABC, Logger, EventListener):\ndef get_label_for_address(self, addr: str) -> str:\nlabel = self._labels.get(addr) or ''\n- if not label and (request := s...
Python
MIT License
spesmilo/electrum
wallet: rm confusing get_request_by_address method The _receive_requests dict is keyed by either 'address' or 'rhash' (see get_key_for_receive_request): - 'rhash' is used if `req.lightning_invoice is not None` - address is used otherwise The `get_request_by_address` method was quite error-prone: it only worked for re...
630,870
10.08.2022 23:48:44
-7,200
ea5c49b3ab9cf0737192f1f4e637fd55c75e9b12
wallet.delete_request(key): piggyback on get_request(key) So that the two methods are consistent with each other. As concrete motivation, see e.g. how the `getrequest(key)` command calls `wallet.get_request(key)`, and the `delete_request(address)` command calls `wallet.delete_request(address)`
[ { "change_type": "MODIFY", "old_path": "electrum/wallet.py", "new_path": "electrum/wallet.py", "diff": "@@ -2518,9 +2518,11 @@ class Abstract_Wallet(ABC, Logger, EventListener):\ndef delete_request(self, key, *, write_to_disk: bool = True):\n\"\"\" lightning or on-chain \"\"\"\n- req = self._receive...
Python
MIT License
spesmilo/electrum
wallet.delete_request(key): piggyback on get_request(key) So that the two methods are consistent with each other. As concrete motivation, see e.g. - how the `getrequest(key)` command calls `wallet.get_request(key)`, and - the `delete_request(address)` command calls `wallet.delete_request(address)`
630,992
10.08.2022 16:37:17
-7,200
a1975e2449a1786c28db264660672f44b94e6d62
appimage: add freeze_appimage_distro.sh and adapt Dockerfile to use debian buster base
[ { "change_type": "MODIFY", "old_path": "contrib/build-linux/appimage/Dockerfile", "new_path": "contrib/build-linux/appimage/Dockerfile", "diff": "-# Note: we deliberately use an old Ubuntu LTS as base image.\n+# Note: we deliberately use an old Debian stable as base image.\n# from https://docs.appim...
Python
MIT License
spesmilo/electrum
appimage: add freeze_appimage_distro.sh and adapt Dockerfile to use debian buster base
630,992
11.08.2022 12:18:43
-7,200
f63df43614ba5a33ad340cc3f39932a700118864
wine: rename freeze_appimage_distro.sh to freeze_containers_distro.sh and adapt build-wine container to Debian+snapshots base
[ { "change_type": "MODIFY", "old_path": "contrib/build-linux/appimage/apt.sources.list", "new_path": "contrib/build-linux/appimage/apt.sources.list", "diff": "-deb https://snapshot.debian.org/archive/debian/20220810T094023Z/ buster main non-free contrib\n-deb-src https://snapshot.debian.org/archive/d...
Python
MIT License
spesmilo/electrum
wine: rename freeze_appimage_distro.sh to freeze_containers_distro.sh and adapt build-wine container to Debian+snapshots base
630,870
11.08.2022 12:38:46
0
bd2ca30f95b792532654c11e30fb455943e28836
kivy: fix creating dust amount receive requests fixes
[ { "change_type": "MODIFY", "old_path": "electrum/wallet.py", "new_path": "electrum/wallet.py", "diff": "@@ -2443,10 +2443,11 @@ class Abstract_Wallet(ABC, Logger, EventListener):\nstatus = self.get_request_status(addr)\nutil.trigger_callback('request_status', self, addr, status)\n- def create_reques...
Python
MIT License
spesmilo/electrum
kivy: fix creating dust amount receive requests fixes https://github.com/spesmilo/electrum/issues/7928
630,870
11.08.2022 12:43:17
0
7daeccdf8598dd0fa7aaf39294b2befe1f009f6c
qt ReceiveTab: ensure TabWidget has frame in more cases
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/receive_tab.py", "new_path": "electrum/gui/qt/receive_tab.py", "diff": "@@ -409,6 +409,9 @@ class ReceiveTabWidget(QWidget):\ntooltip = _('Click to switch between text and QR code view')\nw.setToolTip(tooltip)\ntextedit.setFocusPolicy(Qt.NoFocu...
Python
MIT License
spesmilo/electrum
qt ReceiveTab: ensure TabWidget has frame in more cases
630,870
11.08.2022 13:07:56
0
659d6890d9b0957ea689505936dba59b4a8b39c3
wallet.get_request_URI: rm code duplication
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/receive_tab.py", "new_path": "electrum/gui/qt/receive_tab.py", "diff": "@@ -221,8 +221,7 @@ class ReceiveTab(QWidget, MessageBoxMixin, Logger):\naddress_help = '' if addr else _('Amount too small to be received onchain')\nURI_help = ''\nlnaddr ...
Python
MIT License
spesmilo/electrum
wallet.get_request_URI: rm code duplication
630,870
11.08.2022 13:09:51
0
0e15d7a973b6be946ce3f56e588f3213d7b43053
qt RequestList: allow copying URI even if there is no bitcoin addr (when there is LN part but no on-chain part)
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/request_list.py", "new_path": "electrum/gui/qt/request_list.py", "diff": "@@ -179,7 +179,7 @@ class RequestList(MyTreeView):\nmenu = QMenu(self)\nif req.get_address():\nmenu.addAction(_(\"Copy Address\"), lambda: self.parent.do_copy(req.get_add...
Python
MIT License
spesmilo/electrum
qt RequestList: allow copying URI even if there is no bitcoin addr (when there is LN part but no on-chain part)
630,870
11.08.2022 13:11:54
0
7d481935e240b0366c2c9c2a9df93f1c7c725fcf
qt ReceiveTab: handle case with URI==""
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/receive_tab.py", "new_path": "electrum/gui/qt/receive_tab.py", "diff": "@@ -218,13 +218,17 @@ class ReceiveTab(QWidget, MessageBoxMixin, Logger):\nreturn\naddr = req.get_address() or ''\namount_sat = req.get_amount_sat() or 0\n- address_help = ...
Python
MIT License
spesmilo/electrum
qt ReceiveTab: handle case with URI==""
630,870
11.08.2022 13:50:53
0
1b2d46722cddbd8a5c7c0ec05cefc8a6c1ebb310
kivy request_dialog: rm some magic numbers note: not sure how to use IntEnum with kivy's NumericProperty
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/dialogs/request_dialog.py", "new_path": "electrum/gui/kivy/uix/dialogs/request_dialog.py", "diff": "@@ -15,12 +15,6 @@ if TYPE_CHECKING:\nfrom ...main_window import ElectrumWindow\n-\n-MODE_ADDRESS = 0\n-MODE_URI = 1\n-MODE_LIGHTNING = 2\...
Python
MIT License
spesmilo/electrum
kivy request_dialog: rm some magic numbers note: not sure how to use IntEnum with kivy's NumericProperty
630,870
11.08.2022 13:57:25
0
5f5e6b3cf3481cf754391ead40278bcea3303d96
kivy request_dialog: disable "lightning" btn if no LN part
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/dialogs/request_dialog.py", "new_path": "electrum/gui/kivy/uix/dialogs/request_dialog.py", "diff": "@@ -31,6 +31,7 @@ Builder.load_string('''\nstatus_color: 1,1,1,1\nshaded: False\nshow_text: False\n+ has_lightning: False\nAnchorLayout:\n...
Python
MIT License
spesmilo/electrum
kivy request_dialog: disable "lightning" btn if no LN part
630,870
11.08.2022 14:55:34
0
bd7a6a8f774482343e47a1c0412597ecab2f6c4a
qt/kivy receive tab: show error msg when creating req with amt<dust
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/screens.py", "new_path": "electrum/gui/kivy/uix/screens.py", "diff": "@@ -508,6 +508,7 @@ class ReceiveScreen(CScreen):\nif amount_sat and amount_sat < self.app.wallet.dust_threshold():\nself.address = ''\nif not self.app.wallet.has_light...
Python
MIT License
spesmilo/electrum
qt/kivy receive tab: show error msg when creating req with amt<dust
630,870
11.08.2022 15:40:16
0
ba72abdbf5a3a6363b7eb1244c66f609630069d2
kivy request_dialog: default to LN if there is no URI
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/dialogs/request_dialog.py", "new_path": "electrum/gui/kivy/uix/dialogs/request_dialog.py", "diff": "@@ -65,7 +65,6 @@ Builder.load_string('''\nheight: '48dp'\ntext: _('URI')\non_release: root.mode = root.MODE_URI\n- state: 'down'\nToggleB...
Python
MIT License
spesmilo/electrum
kivy request_dialog: default to LN if there is no URI
630,870
12.08.2022 02:30:06
0
767b058946d5a4ebd9a434be8ad027a0ac67afdc
qt history tab: fix "View Channel" in context menu related:
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/channels_list.py", "new_path": "electrum/gui/qt/channels_list.py", "diff": "@@ -233,7 +233,7 @@ class ChannelsList(MyTreeView):\nif not item:\nreturn\nchannel_id = idx.sibling(idx.row(), self.Columns.NODE_ALIAS).data(ROLE_CHANNEL_ID)\n- chan = ...
Python
MIT License
spesmilo/electrum
qt history tab: fix "View Channel" in context menu related: https://github.com/spesmilo/electrum/issues/7930