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
12.08.2022 02:50:52
0
0a6265ef58cd9d95e23b133c1ba0684120a0a0aa
qt new_channel_dialog: fix None-handling for lnworker.suggest_peer() fixes
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/new_channel_dialog.py", "new_path": "electrum/gui/qt/new_channel_dialog.py", "diff": "@@ -88,7 +88,7 @@ class NewChannelDialog(WindowModalDialog):\ndef on_suggest(self):\nself.network.start_gossip()\n- nodeid = self.lnworker.suggest_peer().hex(...
Python
MIT License
spesmilo/electrum
qt new_channel_dialog: fix None-handling for lnworker.suggest_peer() fixes https://github.com/spesmilo/electrum/issues/7931
630,870
11.08.2022 19:39:05
0
c95791d7eeff6f64968e391c78e344e0a02e1669
qt/kivy: receive tab: add wallet.ReceiveRequestHelp and refactor
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/dialogs/request_dialog.py", "new_path": "electrum/gui/kivy/uix/dialogs/request_dialog.py", "diff": "@@ -6,6 +6,7 @@ from kivy.core.clipboard import Clipboard\nfrom kivy.app import App\nfrom kivy.clock import Clock\nfrom kivy.properties im...
Python
MIT License
spesmilo/electrum
qt/kivy: receive tab: add wallet.ReceiveRequestHelp and refactor
630,969
12.08.2022 11:46:37
-7,200
f65368f1d09841fc024143aad945623e7f4c316e
kivy request dialog: follow-up - toggle between text and qr code - fix minor issues
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/dialogs/request_dialog.py", "new_path": "electrum/gui/kivy/uix/dialogs/request_dialog.py", "diff": "@@ -5,7 +5,7 @@ from kivy.lang import Builder\nfrom kivy.core.clipboard import Clipboard\nfrom kivy.app import App\nfrom kivy.clock import...
Python
MIT License
spesmilo/electrum
kivy request dialog: follow-up c95791d7eeff6f64968e391c78e344e0a02e1669: - toggle between text and qr code - fix minor issues
630,992
12.08.2022 11:08:17
-7,200
0d7bcb5dd2beb76df8d7ea7a2bab69c78ae79ffc
qml: refactor HistoryItemDelegate into separate file
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/History.qml", "new_path": "electrum/gui/qml/components/History.qml", "diff": "@@ -6,6 +6,8 @@ import QtQml.Models 2.2\nimport org.electrum 1.0\n+import \"controls\"\n+\nPane {\nid: rootItem\nvisible: Daemon.currentWallet !== undefin...
Python
MIT License
spesmilo/electrum
qml: refactor HistoryItemDelegate into separate file
630,992
12.08.2022 11:27:04
-7,200
0c3ce4a6b6ed6348637c6b0e6b9b03c335a85896
qml: add address to bolt11>bip21>address QR caroussel and remove address copy button (conform qt and kivy)
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/RequestDialog.qml", "new_path": "electrum/gui/qml/components/RequestDialog.qml", "diff": "@@ -13,8 +13,9 @@ ElDialog {\nproperty var modelItem\n- property string _bip21uri\nproperty string _bolt11\n+ property string _bip21uri\n+ pro...
Python
MIT License
spesmilo/electrum
qml: add address to bolt11>bip21>address QR caroussel and remove address copy button (conform qt and kivy)
630,992
12.08.2022 11:58:20
-7,200
1c852328c0f76ce218e18e6cc94092ea6443fec8
qml: try-except around data query, history is very unpredictable what's present and what's not
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qetransactionlistmodel.py", "new_path": "electrum/gui/qml/qetransactionlistmodel.py", "diff": "@@ -35,7 +35,13 @@ class QETransactionListModel(QAbstractListModel):\ndef data(self, index, role):\ntx = self.tx_history[index.row()]\nrole_index = ...
Python
MIT License
spesmilo/electrum
qml: try-except around data query, history is very unpredictable what's present and what's not
630,969
12.08.2022 12:10:09
-7,200
90580007919ebe59c8f6757ca69fbf5097b4ea78
lnwatcher: fix adding of local tx to history
[ { "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: fix adding of local tx to history
630,969
12.08.2022 12:26:18
-7,200
fceceaec97a2bd703e00e9ce5dc4da9a73b9a21a
lnwatcher: set future_tx regardless of tx_was_added, because it is not persisted
[ { "change_type": "MODIFY", "old_path": "electrum/lnwatcher.py", "new_path": "electrum/lnwatcher.py", "diff": "@@ -534,10 +534,11 @@ class LNWalletWatcher(LNWatcher):\nself.logger.info(f'could not add future tx: {name}. prevout: {prevout} {str(e)}')\ntx_was_added = False\nif tx_was_added:\n- self.adb...
Python
MIT License
spesmilo/electrum
lnwatcher: set future_tx regardless of tx_was_added, because it is not persisted
630,870
12.08.2022 11:10:54
0
13570a465c0c017803f45cb4ad96f2b349ffc2bb
kivy request dialog: follow-up related
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/dialogs/request_dialog.py", "new_path": "electrum/gui/kivy/uix/dialogs/request_dialog.py", "diff": "@@ -172,9 +172,6 @@ class RequestDialog(Factory.Popup):\nqr_data = qr_data.upper()\nif qr_data:\nself.ids.qr.set_data(qr_data)\n- self.ids...
Python
MIT License
spesmilo/electrum
kivy request dialog: follow-up https://github.com/spesmilo/electrum/commit/c95791d7eeff6f64968e391c78e344e0a02e1669 related https://github.com/spesmilo/electrum/pull/7929
630,992
12.08.2022 14:56:00
-7,200
74e9c848ccf68cb5a15366e89ce634a1d2a7b8eb
qml: QEAmount returns 0 when amount is undefined an undefined amount triggers a hard to debug crash when None/undefined is passing the python/QObject boundary, so let's default to 0
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qetypes.py", "new_path": "electrum/gui/qml/qetypes.py", "diff": "@@ -31,10 +31,16 @@ class QEAmount(QObject):\n@pyqtProperty('qint64', notify=valueChanged)\ndef satsInt(self):\n+ if self._amount_sat is None: # should normally be defined when a...
Python
MIT License
spesmilo/electrum
qml: QEAmount returns 0 when amount is undefined an undefined amount triggers a hard to debug crash when None/undefined is passing the python/QObject boundary, so let's default to 0
630,992
12.08.2022 15:01:46
-7,200
9eb7ee74e113d0da59ba1cf7157771fed78c2612
qml: expose more flags and TxMinedInfo in qetxdetails
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/TxDetails.qml", "new_path": "electrum/gui/qml/components/TxDetails.qml", "diff": "@@ -51,44 +51,69 @@ Pane {\ncolumns: 2\nLabel {\n- text: qsTr('Status')\n+ Layout.fillWidth: true\n+ visible: txdetails.lnAmount.satsInt == 0\n+ text:...
Python
MIT License
spesmilo/electrum
qml: expose more flags and TxMinedInfo in qetxdetails
630,969
15.08.2022 12:35:22
-7,200
a11dbb1a76523d38b6825184448ec68f1f5f9177
kivy: save manually entered amount into lightning invoices, as in Qt (related:
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/screens.py", "new_path": "electrum/gui/kivy/uix/screens.py", "diff": "@@ -331,25 +331,30 @@ class SendScreen(CScreen, Logger):\nself.app.show_error(_('Please enter an amount'))\nreturn\nif self.is_max:\n- amount = '!'\n+ amount_sat = '!'\...
Python
MIT License
spesmilo/electrum
kivy: save manually entered amount into lightning invoices, as in Qt (related: #7935)
630,870
15.08.2022 10:38:56
0
16c84acb98504735f7637b2afb861572601c20ff
hw wallets: improve error message when a dependency is missing e.g. ``` Debug message jade: (error getting device infos) Missing libraries for jade. ModuleNotFoundError("No module named 'cbor'") Make sure you install it with python3 ```
[ { "change_type": "MODIFY", "old_path": "electrum/plugins/hw_wallet/plugin.py", "new_path": "electrum/plugins/hw_wallet/plugin.py", "diff": "@@ -157,7 +157,11 @@ class HW_PluginBase(BasePlugin):\nor versiontuple(library_version) < self.minimum_library\nor versiontuple(library_version) >= self.maximum...
Python
MIT License
spesmilo/electrum
hw wallets: improve error message when a dependency is missing e.g. ``` Debug message jade: (error getting device infos) Missing libraries for jade. ModuleNotFoundError("No module named 'cbor'") Make sure you install it with python3 ```
631,030
04.01.2022 12:00:00
0
9a37184a57ab80cde0faf75f05100dfd273832e4
build: create source-only tarball in release.sh
[ { "change_type": "MODIFY", "old_path": "contrib/build-linux/sdist/make_sdist.sh", "new_path": "contrib/build-linux/sdist/make_sdist.sh", "diff": "@@ -46,7 +46,25 @@ fi\nfind -exec touch -h -d '2000-11-11T11:11:11+00:00' {} +\n# note: .zip sdists would not be reproducible due to https://bugs.python.o...
Python
MIT License
spesmilo/electrum
build: create source-only tarball in release.sh
630,969
12.08.2022 15:37:23
-7,200
1f403d1ca1737178de8eb6a10784f35cdf1cba92
remove support for channels without static remote pubkey
[ { "change_type": "MODIFY", "old_path": "electrum/lnchannel.py", "new_path": "electrum/lnchannel.py", "diff": "@@ -179,7 +179,6 @@ class AbstractChannel(Logger, ABC):\nconfig: Dict[HTLCOwner, Union[LocalConfig, RemoteConfig]]\n_sweep_info: Dict[str, Dict[str, 'SweepInfo']]\nlnworker: Optional['LNWall...
Python
MIT License
spesmilo/electrum
remove support for channels without static remote pubkey
630,870
15.08.2022 16:03:21
0
7b8e257ebb2cb023de6a9344fd5821aec9487409
wallet db upgrade: rm support of "legacy" lightning channels ("legacy" as in pre-static-remote-key channels)
[ { "change_type": "MODIFY", "old_path": "electrum/wallet_db.py", "new_path": "electrum/wallet_db.py", "diff": "@@ -52,7 +52,7 @@ if TYPE_CHECKING:\nOLD_SEED_VERSION = 4 # electrum versions < 2.0\nNEW_SEED_VERSION = 11 # electrum versions >= 2.0\n-FINAL_SEED_VERSION = 48 # electrum >= 2.7 will set thi...
Python
MIT License
spesmilo/electrum
wallet db upgrade: rm support of "legacy" lightning channels ("legacy" as in pre-static-remote-key channels)
630,969
11.08.2022 18:42:21
-7,200
2c53af1664ffef137621511ffd14436f5ba0b398
wallet: load lnworker earlier
[ { "change_type": "MODIFY", "old_path": "electrum/wallet.py", "new_path": "electrum/wallet.py", "diff": "@@ -339,6 +339,8 @@ class Abstract_Wallet(ABC, Logger, EventListener):\nself._freeze_lock = threading.RLock() # for mutating/iterating frozen_{addresses,coins}\n+ self.load_keystore()\n+ self._ini...
Python
MIT License
spesmilo/electrum
wallet: load lnworker earlier
630,969
11.08.2022 19:16:18
-7,200
a64aa45e859874e156c65e00deb9a0c0da53f22d
get default label for txid based on invoices
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/history_list.py", "new_path": "electrum/gui/qt/history_list.py", "diff": "@@ -748,7 +748,7 @@ class HistoryList(MyTreeView, AcceptFileDragDrop):\nmenu.addAction(_(\"Child pays for parent\"), lambda: self.parent.cpfp_dialog(tx))\nif tx_details.c...
Python
MIT License
spesmilo/electrum
get default label for txid based on invoices
630,969
16.08.2022 08:58:34
-7,200
ff3c999fcb7befb5c27a0b18d3dfa5fed1b5a18b
rm method is_static_remotekey_enabled for channel backups
[ { "change_type": "MODIFY", "old_path": "electrum/lnchannel.py", "new_path": "electrum/lnchannel.py", "diff": "@@ -417,10 +417,6 @@ class AbstractChannel(Logger, ABC):\n\"\"\"\npass\n- @abstractmethod\n- def is_static_remotekey_enabled(self) -> bool:\n- pass\n-\n@abstractmethod\ndef get_local_pubkey(...
Python
MIT License
spesmilo/electrum
rm method is_static_remotekey_enabled for channel backups
630,992
15.08.2022 07:48:47
-7,200
2ee6683dd002aa3809b0f05b3fcc58f28b93b710
qml: qetxdetails was missing this in
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qetxdetails.py", "new_path": "electrum/gui/qml/qetxdetails.py", "diff": "@@ -18,6 +18,7 @@ class QETxDetails(QObject):\n_status = ''\n_amount = QEAmount(amount_sat=0)\n+ _lnamount = QEAmount(amount_sat=0)\n_fee = QEAmount(amount_sat=0)\n_input...
Python
MIT License
spesmilo/electrum
qml: qetxdetails was missing this in 9eb7ee74e113d0da59ba1cf7157771fed78c2612
630,992
15.08.2022 08:59:54
-7,200
6190498dfc332617d089a388aa60bce39b903c8c
qml: add setters to QEAmount to allow updating values, as replacing QEAmount instances makes Qt unhappy in a few cases when it still holds references to the old instance, which happened occasionally in e.g. qetxfinalizer
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qetypes.py", "new_path": "electrum/gui/qml/qetypes.py", "diff": "@@ -36,6 +36,12 @@ class QEAmount(QObject):\nreturn 0\nreturn self._amount_sat\n+ @satsInt.setter\n+ def satsInt(self, sats):\n+ if self._amount_sat != sats:\n+ self._amount_sat ...
Python
MIT License
spesmilo/electrum
qml: add setters to QEAmount to allow updating values, as replacing QEAmount instances makes Qt unhappy in a few cases when it still holds references to the old instance, which happened occasionally in e.g. qetxfinalizer
630,992
15.08.2022 13:40:20
-7,200
46d3aa451500a82d7c52bf41036c7b6f7c6e2e47
qml: enable send for watch-only wallets, show raw tx dialog after finalizing also use QEAMount setters in qetxfinalizer instead of re-instantiating
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/ConfirmTxDialog.qml", "new_path": "electrum/gui/qml/components/ConfirmTxDialog.qml", "diff": "@@ -248,11 +248,13 @@ ElDialog {\nButton {\nid: sendButton\n- text: qsTr('Pay')\n+ text: Daemon.currentWallet.isWatchOnly ? qsTr('Finalize...
Python
MIT License
spesmilo/electrum
qml: enable send for watch-only wallets, show raw tx dialog after finalizing also use QEAMount setters in qetxfinalizer instead of re-instantiating
630,992
15.08.2022 14:06:56
-7,200
3dffd3e0b5dedbbbb1c81a71c9be09d5933997da
qml: don't implicitly send_onchain from ConfirmTxDialog, externalize
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/ConfirmTxDialog.qml", "new_path": "electrum/gui/qml/components/ConfirmTxDialog.qml", "diff": "@@ -252,9 +252,6 @@ ElDialog {\nenabled: finalizer.valid\nonClicked: {\ntxaccepted()\n- if (!Daemon.currentWallet.isWatchOnly) {\n- finali...
Python
MIT License
spesmilo/electrum
qml: don't implicitly send_onchain from ConfirmTxDialog, externalize
630,992
15.08.2022 15:21:12
-7,200
46641e7874f7fa803483aa51f8cf87e252a58980
qml: handle unsigned, local tx in history
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/controls/HistoryItemDelegate.qml", "new_path": "electrum/gui/qml/components/controls/HistoryItemDelegate.qml", "diff": "@@ -59,7 +59,11 @@ Item {\nLayout.preferredHeight: constants.iconSizeLarge\nLayout.alignment: Qt.AlignVCenter\nL...
Python
MIT License
spesmilo/electrum
qml: handle unsigned, local tx in history
630,992
15.08.2022 17:50:37
-7,200
153a9f3a53feb7b472b11342506c19d16d12911e
qml: use only genericsharedialog component defined in main
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/AddressDetails.qml", "new_path": "electrum/gui/qml/components/AddressDetails.qml", "diff": "@@ -83,7 +83,9 @@ Pane {\nicon.source: '../../icons/share.png'\nicon.color: 'transparent'\nonClicked: {\n- var dialog = share.createObject(r...
Python
MIT License
spesmilo/electrum
qml: use only genericsharedialog component defined in main
630,992
16.08.2022 10:00:43
-7,200
0f227b177c93225a2ed92e25d003a490a77baf69
qml: use QEAmount setters also in qetxdetails
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qetxdetails.py", "new_path": "electrum/gui/qml/qetxdetails.py", "diff": "@@ -183,29 +183,26 @@ class QETxDetails(QObject):\n# can be None if outputs unrelated to wallet seed,\n# e.g. to_local local_force_close commitment CSV-locked p2wsh scrip...
Python
MIT License
spesmilo/electrum
qml: use QEAmount setters also in qetxdetails
630,969
16.08.2022 10:14:47
-7,200
24145f1f527772d5ef2986a387cf3c5dfcd35db4
detect paid invoices in on_event_adb_added_tx
[ { "change_type": "MODIFY", "old_path": "electrum/wallet.py", "new_path": "electrum/wallet.py", "diff": "@@ -489,6 +489,7 @@ class Abstract_Wallet(ABC, Logger, EventListener):\nif self.lnworker:\nself.lnworker.maybe_add_backup_from_tx(tx)\nself._update_request_statuses_touched_by_tx(tx_hash)\n+ self....
Python
MIT License
spesmilo/electrum
detect paid invoices in on_event_adb_added_tx
630,870
16.08.2022 12:14:44
0
d1c15fe5e9d1dd764e4588b55c935e4c169b12ba
wallet: (perf) avoid iterating over all invoices in add_transaction
[ { "change_type": "MODIFY", "old_path": "electrum/wallet.py", "new_path": "electrum/wallet.py", "diff": "@@ -488,8 +488,7 @@ class Abstract_Wallet(ABC, Logger, EventListener):\nreturn\nif self.lnworker:\nself.lnworker.maybe_add_backup_from_tx(tx)\n- self._update_request_statuses_touched_by_tx(tx_hash...
Python
MIT License
spesmilo/electrum
wallet: (perf) avoid iterating over all invoices in add_transaction
630,992
16.08.2022 12:08:51
-7,200
fad9f87303f477cd457f3d084f6d2a707c90c02d
qml: accept raw tx from send page paste/qrscan and show TxDetails
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Send.qml", "new_path": "electrum/gui/qml/components/Send.qml", "diff": "@@ -63,7 +63,16 @@ Pane {\nicon.source: '../../icons/paste.png'\nicon.height: constants.iconSizeMedium\nicon.width: constants.iconSizeMedium\n- onClicked: invoi...
Python
MIT License
spesmilo/electrum
qml: accept raw tx from send page paste/qrscan and show TxDetails
630,992
16.08.2022 14:44:36
-7,200
1c29ef12b55125fed0be49dfb29a428aad658e88
qml: cosmetic changes
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/controls/QRScan.qml", "new_path": "electrum/gui/qml/components/controls/QRScan.qml", "diff": "@@ -147,11 +147,8 @@ Item {\nComponent.onCompleted: {\nconsole.log('Scan page initialized')\nQtMultimedia.availableCameras.forEach(functio...
Python
MIT License
spesmilo/electrum
qml: cosmetic changes
630,992
16.08.2022 16:07:45
-7,200
742012aee3677af8b3fc60a6f8d25f0d97ca9136
qml: add initial sign and broadcast feature to TxDetails/qetxdetails
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/TxDetails.qml", "new_path": "electrum/gui/qml/components/TxDetails.qml", "diff": "@@ -277,6 +277,7 @@ Pane {\nToolButton {\nicon.source: '../../icons/share.png'\nicon.color: 'transparent'\n+ enabled: root.txid\nonClicked: {\nvar dia...
Python
MIT License
spesmilo/electrum
qml: add initial sign and broadcast feature to TxDetails/qetxdetails
630,992
16.08.2022 16:34:18
-7,200
d52cd2f2e6ad30d05988c920f55c4f4fd5015d0d
qml: don't auto-pop Scan TODO: handle cancel by signal too
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/OpenChannel.qml", "new_path": "electrum/gui/qml/components/OpenChannel.qml", "diff": "@@ -64,6 +64,7 @@ Pane {\nchannelopener.nodeid = page.scanData\nnode.text = channelopener.nodeid\n}\n+ app.stack.pop()\n})\n}\n}\n" }, { "...
Python
MIT License
spesmilo/electrum
qml: don't auto-pop Scan TODO: handle cancel by signal too
630,870
16.08.2022 15:27:13
0
abef454237fbe7af00368abeb3dba802bea51b88
qt: better handle unparseable URIs fixes
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/__init__.py", "new_path": "electrum/gui/qt/__init__.py", "diff": "@@ -382,12 +382,11 @@ class ElectrumGui(BaseElectrumGui, Logger):\npath = os.path.join(wallet_dir, filename)\nself.start_new_window(path, uri=None, force_wizard=True)\nreturn\n- ...
Python
MIT License
spesmilo/electrum
qt: better handle unparseable URIs fixes https://github.com/spesmilo/electrum/issues/7941
630,870
16.08.2022 15:56:53
0
7d36f2ba3ab603044556b9548bea9893520747e1
build: follow-up source-only tarballs
[ { "change_type": "MODIFY", "old_path": "MANIFEST.in", "new_path": "MANIFEST.in", "diff": "@@ -8,8 +8,7 @@ recursive-include packages cacert.pem\ninclude contrib/requirements/requirements*.txt\ninclude contrib/deterministic-build/requirements*.txt\n-include contrib/make_libsecp256k1.sh\n-include cont...
Python
MIT License
spesmilo/electrum
build: follow-up source-only tarballs
630,870
16.08.2022 18:16:28
0
c2b5e3ec15fc201c72ac43eeea515a6c51c2b81d
build: use build-locale.sh in all build scripts
[ { "change_type": "MODIFY", "old_path": "contrib/android/make_apk", "new_path": "contrib/android/make_apk", "diff": "@@ -25,17 +25,10 @@ popd\n# update locale\ninfo \"preparing electrum-locale.\"\n(\n- cd \"$CONTRIB\"/deterministic-build/electrum-locale\n- if ! which msgfmt > /dev/null 2>&1; then\n- ...
Python
MIT License
spesmilo/electrum
build: use build-locale.sh in all build scripts
630,969
17.08.2022 10:35:43
-7,200
60c493dc156620931a0b22170ab8c76cc5349b20
adb: trigger adb_added_tx event only if the transaction is new
[ { "change_type": "MODIFY", "old_path": "electrum/address_synchronizer.py", "new_path": "electrum/address_synchronizer.py", "diff": "@@ -242,7 +242,7 @@ class AddressSynchronizer(Logger, EventListener):\ndef get_transaction(self, txid: str) -> Transaction:\nreturn self.db.get_transaction(txid)\n- def...
Python
MIT License
spesmilo/electrum
adb: trigger adb_added_tx event only if the transaction is new
630,992
17.08.2022 11:49:57
-7,200
c278d5befc08dd96757fc8bc8c0ad7316b0c519e
qml: OpenWalletDialog rework
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Constants.qml", "new_path": "electrum/gui/qml/components/Constants.qml", "diff": "@@ -28,7 +28,7 @@ Item {\nproperty color colorDebit: \"#ffff8080\"\nproperty color mutedForeground: 'gray' //Qt.lighter(Material.background, 2)\nprope...
Python
MIT License
spesmilo/electrum
qml: OpenWalletDialog rework
630,870
17.08.2022 17:12:40
0
4c5e6804250bca0787160677136ea4c8aaed84b5
RELEASE-NOTES: rm reverted change
[ { "change_type": "MODIFY", "old_path": "RELEASE-NOTES", "new_path": "RELEASE-NOTES", "diff": "# Release 4.3.1 - (August 17, 2022)\n- * harden build script for macOS binary: avoid using\n- precompiled wheels from PyPI for most packages (#7918)\n* build: we now also distribute a \"source-only\"\nLinux...
Python
MIT License
spesmilo/electrum
RELEASE-NOTES: rm reverted change
630,870
18.08.2022 12:08:29
0
de8745f69f3d7ebde641ffd0a502f55b2d66d6d5
contrib/add_cosigner: replace old-style format strings with f-strings
[ { "change_type": "MODIFY", "old_path": "contrib/add_cosigner", "new_path": "contrib/add_cosigner", "diff": "@@ -35,30 +35,30 @@ print(\"version\", ELECTRUM_VERSION)\n# GPG names of cosigner\ncosigner = sys.argv[1]\n-version = version_win = version_mac = version_android = ELECTRUM_VERSION\n+version =...
Python
MIT License
spesmilo/electrum
contrib/add_cosigner: replace old-style format strings with f-strings
630,870
18.08.2022 12:10:41
0
c4c8a7f424225f483b41c882c761c672fc1d7cf7
contrib/add_cosigner: add "source-only" tarball
[ { "change_type": "MODIFY", "old_path": "contrib/add_cosigner", "new_path": "contrib/add_cosigner", "diff": "@@ -39,6 +39,7 @@ version = version_win = version_mac = ELECTRUM_VERSION\nfiles = {\n\"tgz\": f\"Electrum-{version}.tar.gz\",\n+ \"tgz_srconly\": f\"Electrum-sourceonly-{version}.tar.gz\",\n\"...
Python
MIT License
spesmilo/electrum
contrib/add_cosigner: add "source-only" tarball
630,870
18.08.2022 15:33:33
0
8b6b85d385bb69b031c44241303a994d3448e955
contrib/make_download: add "source-only" tarball
[ { "change_type": "MODIFY", "old_path": "contrib/make_download", "new_path": "contrib/make_download", "diff": "@@ -35,15 +35,18 @@ string = string.replace(\"##VERSION_MAC##\", version_mac)\nstring = string.replace(\"##VERSION_ANDROID##\", version_android)\nstring = string.replace(\"##VERSION_APK##\",...
Python
MIT License
spesmilo/electrum
contrib/make_download: add "source-only" tarball
630,870
19.08.2022 14:32:39
0
83cc2d4bc042550de9dc2c2ff8aa6d99dd66bf23
build: osx readme: note cli xcode needs to be deleted before install upgrading an existing directory does not seem to work well
[ { "change_type": "MODIFY", "old_path": "contrib/osx/README.md", "new_path": "contrib/osx/README.md", "diff": "@@ -28,7 +28,7 @@ Notes about compatibility with different macOS versions:\nWe currently build the release binaries on macOS 10.14.6, and these seem to run on\n10.13 or newer.\n-Before start...
Python
MIT License
spesmilo/electrum
build: osx readme: note cli xcode needs to be deleted before install upgrading an existing directory does not seem to work well
630,992
11.08.2022 10:53:32
0
46d76f05043def57d79ef1d3fd13024810b18254
android: adapt Dockerfile to use debian bullseye base
[ { "change_type": "MODIFY", "old_path": "contrib/android/Dockerfile", "new_path": "contrib/android/Dockerfile", "diff": "# based on https://github.com/kivy/python-for-android/blob/master/Dockerfile\n-FROM ubuntu:20.04@sha256:86ac87f73641c920fb42cc9612d4fb57b5626b56ea2a19b894d0673fd5b4f2e9\n+FROM debi...
Python
MIT License
spesmilo/electrum
android: adapt Dockerfile to use debian bullseye base
630,870
19.08.2022 16:05:37
0
b8240bec3ef531167c794e48453770fc9ac63e4e
wine build: build win-iconv-mingw-w64-dev, instead of using debian sid without this, when using a ~week old debian sid snapshot, I got: ``` E: Release file for is expired (invalid since 1d 11h 56min 39s). Updates for this repository will not be applied. ```
[ { "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 without this, when using a ~week old debian sid snapshot, I got: ``` E: Release file for https://snapshot.debian.org/archive/debian/20220811T031049Z/dists/sid/InRelease is expired (invalid since 1d 11h 56min 39s). Updates for this repository will n...
630,870
19.08.2022 21:01:35
0
65fda1f41d65ad9909cdd0e139a816be1982c263
android build: fix Dockerfile "COPY" instructions The build context is $PROJECT_ROOT
[ { "change_type": "MODIFY", "old_path": "contrib/android/Dockerfile", "new_path": "contrib/android/Dockerfile", "diff": "@@ -11,8 +11,8 @@ RUN apt update -qq > /dev/null && apt install -qq --yes --no-install-recommends\nca-certificates\n# pin the distro packages.\n-COPY apt.sources.list /etc/apt/sour...
Python
MIT License
spesmilo/electrum
android build: fix Dockerfile "COPY" instructions The build context is $PROJECT_ROOT
630,870
22.08.2022 12:20:28
0
0ac49ea8c492a19da4c06d7669c6e2199cfaec38
cirrus CI build: fix docker context to make COPY instructions work see : > CIRRUS_DOCKER_CONTEXT: Docker build's context directory to use for Dockerfile as a CI environment. Defaults to project's root directory.
[ { "change_type": "MODIFY", "old_path": ".cirrus.yml", "new_path": ".cirrus.yml", "diff": "@@ -168,6 +168,7 @@ task:\npath: \"contrib/build-wine/dist/*\"\nenv:\nCIRRUS_WORKING_DIR: /opt/wine64/drive_c/electrum\n+ CIRRUS_DOCKER_CONTEXT: contrib/build-wine\ntask:\nname: Android build\n@@ -206,6 +207,8 ...
Python
MIT License
spesmilo/electrum
cirrus CI build: fix docker context to make COPY instructions work see https://cirrus-ci.org/guide/writing-tasks/#environment-variables : > CIRRUS_DOCKER_CONTEXT: Docker build's context directory to use for Dockerfile as a CI environment. Defaults to project's root directory.
630,992
23.08.2022 17:13:22
-7,200
f05ff0c9b87d883a76e8a87b4f1b4ba41a0ad8e7
qml: add QERequestDetails component. Auto binds to wallet request status update signal so qml doesn't have to. implements timer to update status string when near expiry.
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Receive.qml", "new_path": "electrum/gui/qml/components/Receive.qml", "diff": "@@ -153,7 +153,7 @@ Pane {\nmodel: Daemon.currentWallet.requestModel\ndelegate: InvoiceDelegate {\nonClicked: {\n- var dialog = requestdialog.createObject...
Python
MIT License
spesmilo/electrum
qml: add QERequestDetails component. Auto binds to wallet request status update signal so qml doesn't have to. implements timer to update status string when near expiry.
630,992
23.08.2022 18:36:55
-7,200
65b3c1abb3d72e3c0bb0fad4e9824f37f34bcdda
qml: fix derivation prefix not available for watch-ony wallets
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qeaddressdetails.py", "new_path": "electrum/gui/qml/qeaddressdetails.py", "diff": "@@ -122,6 +122,7 @@ class QEAddressDetails(QObject):\nself._balance = QEAmount(amount_sat=c + u + x)\nself._pubkeys = self._wallet.wallet.get_public_keys(self._...
Python
MIT License
spesmilo/electrum
qml: fix derivation prefix not available for watch-ony wallets
630,992
23.08.2022 20:21:18
-7,200
1e375ae9e1b9192caf8db1e675f5f47b03df3e89
qml: allow separate data for clipboard/share and QR code in GenericShareDialog
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/GenericShareDialog.qml", "new_path": "electrum/gui/qml/components/GenericShareDialog.qml", "diff": "@@ -9,6 +9,8 @@ ElDialog {\nid: dialog\nproperty string text\n+ property string text_qr\n+ // if text_qr is undefined text will be u...
Python
MIT License
spesmilo/electrum
qml: allow separate data for clipboard/share and QR code in GenericShareDialog
630,992
24.08.2022 10:15:03
-7,200
bb8af0cd0816443977ec449737699f2c27305911
qml: add help_text to GenericShareDialog
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/GenericShareDialog.qml", "new_path": "electrum/gui/qml/components/GenericShareDialog.qml", "diff": "@@ -11,6 +11,7 @@ ElDialog {\nproperty string text\nproperty string text_qr\n// if text_qr is undefined text will be used\n+ propert...
Python
MIT License
spesmilo/electrum
qml: add help_text to GenericShareDialog
630,992
24.08.2022 10:15:44
-7,200
b0cfc2ab140b8573bcd712b7118ae089b5b0d8cd
qml: add channel backup option to channel details page
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/ChannelDetails.qml", "new_path": "electrum/gui/qml/components/ChannelDetails.qml", "diff": "@@ -22,8 +22,17 @@ Pane {\nicon.color: 'transparent'\naction: Action {\ntext: qsTr('Backup');\n- enabled: false\n- onTriggered: {}\n+ enable...
Python
MIT License
spesmilo/electrum
qml: add channel backup option to channel details page
630,992
24.08.2022 12:25:51
-7,200
c37e202e4458c64707a841a8b2099459ce431eab
qml: implement scrollbar drag in history listview
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Constants.qml", "new_path": "electrum/gui/qml/components/Constants.qml", "diff": "@@ -32,4 +32,7 @@ Item {\nproperty color colorLightningLocal: \"blue\"\nproperty color colorLightningRemote: \"yellow\"\n+ function colorAlpha(baseCol...
Python
MIT License
spesmilo/electrum
qml: implement scrollbar drag in history listview
630,992
24.08.2022 12:38:25
-7,200
dea30f96a18ffa9350cb19f7c9a7787cc35aaad0
qml: small fixes, cleanup
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/ChannelDetails.qml", "new_path": "electrum/gui/qml/components/ChannelDetails.qml", "diff": "@@ -22,7 +22,6 @@ Pane {\nicon.color: 'transparent'\naction: Action {\ntext: qsTr('Backup');\n- enabled: true\nonTriggered: {\nvar dialog = ...
Python
MIT License
spesmilo/electrum
qml: small fixes, cleanup
630,870
24.08.2022 11:05:01
0
757ec53ea22960b26b4c31f1a60bdd3f69039a05
AddressSynchronizer: set diagnostic_name for better logs fixes regression from in particular, this is needed for Synchronizer.diagnostic_name and SPV.diagnostic_name
[ { "change_type": "MODIFY", "old_path": "electrum/address_synchronizer.py", "new_path": "electrum/address_synchronizer.py", "diff": "@@ -42,6 +42,7 @@ from .util import EventListener, event_listener\nif TYPE_CHECKING:\nfrom .network import Network\nfrom .wallet_db import WalletDB\n+ from .simple_conf...
Python
MIT License
spesmilo/electrum
AddressSynchronizer: set diagnostic_name for better logs fixes regression from https://github.com/spesmilo/electrum/commit/121d8732f1e1d97f70a0f72221b4acca1e818319 in particular, this is needed for Synchronizer.diagnostic_name and SPV.diagnostic_name
630,992
24.08.2022 16:01:50
-7,200
9a72f98855b2ebf51e0c39f011ad087c5a37915b
qml: add server and proxy config dialogs
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/NetworkStats.qml", "new_path": "electrum/gui/qml/components/NetworkStats.qml", "diff": "import QtQuick 2.6\nimport QtQuick.Layouts 1.0\n-import QtQuick.Controls 2.0\n+import QtQuick.Controls 2.3\nimport QtQuick.Controls.Material 2.0...
Python
MIT License
spesmilo/electrum
qml: add server and proxy config dialogs
630,870
24.08.2022 14:05:35
0
8cbf49fec985432d7f83a9b294e967e18506c689
Qt balance dialog: use monospace font for btc amounts
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/balance_dialog.py", "new_path": "electrum/gui/qt/balance_dialog.py", "diff": "@@ -34,7 +34,7 @@ from PyQt5.QtGui import QPalette, QPen, QPainter, QPixmap\nfrom electrum.i18n import _\n-from .util import Buttons, CloseButton, WindowModalDialog, ...
Python
MIT License
spesmilo/electrum
Qt balance dialog: use monospace font for btc amounts
630,992
24.08.2022 16:16:50
-7,200
3295671e5b04cbe1427a1966e8220f6b60eb840b
qml: show when PIN is wrong
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Pin.qml", "new_path": "electrum/gui/qml/components/Pin.qml", "diff": "@@ -39,6 +39,8 @@ ElDialog {\nproperty int _phase: mode == 'enter' ? 1 : 0 // 0 = existing pin, 1 = new pin, 2 = re-enter new pin\nproperty string _pin\n+ propert...
Python
MIT License
spesmilo/electrum
qml: show when PIN is wrong
630,932
24.08.2022 11:18:39
10,800
39c3d0585dd0415afe5bcf1e2fff0f37e94eedb9
build scripts: add quotes around some paths * Update make_libsecp256k1.sh Avoid error when parent folder has spaces `./make_libsecp256k1.sh: line 31: cd: too many arguments` * Avoid error when parent folder has spaces, fix for make_libsecp256k1.sh, make_zbar.sh and make_libusb.sh
[ { "change_type": "MODIFY", "old_path": "contrib/make_libsecp256k1.sh", "new_path": "contrib/make_libsecp256k1.sh", "diff": "@@ -20,7 +20,7 @@ set -e\n. $(dirname \"$0\")/build_tools_util.sh || (echo \"Could not source build_tools_util.sh\" && exit 1)\n-here=$(dirname $(realpath \"$0\" 2> /dev/null |...
Python
MIT License
spesmilo/electrum
build scripts: add quotes around some paths (#7949) * Update make_libsecp256k1.sh Avoid error when parent folder has spaces `./make_libsecp256k1.sh: line 31: cd: too many arguments` * Avoid error when parent folder has spaces, fix for make_libsecp256k1.sh, make_zbar.sh and make_libusb.sh Co-authored-by: ghost...
630,992
24.08.2022 16:21:14
-7,200
7b17626c4c58c0b32b26f2043d371a35a4806d23
qml: PIN error message also when setting new pin and second entry doesn't match
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Pin.qml", "new_path": "electrum/gui/qml/components/Pin.qml", "diff": "@@ -49,24 +49,22 @@ ElDialog {\naccepted()\nelse\n_phase = 1\n- return\n} else {\npin.text = ''\ncheckError = true\n}\n- }\n- if (_phase == 1) {\n+ } else if (_ph...
Python
MIT License
spesmilo/electrum
qml: PIN error message also when setting new pin and second entry doesn't match
630,969
25.08.2022 09:51:32
-7,200
dd953696855703cc22526320648a5ac5488f97b4
qml: fix undefined name (flake8 mandatory test)
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qerequestdetails.py", "new_path": "electrum/gui/qml/qerequestdetails.py", "diff": "@@ -120,7 +120,7 @@ class QERequestDetails(QObject):\nself._req = self._wallet.wallet.get_request(self._key)\nif self._req is None:\n- self._logger.error(f'paym...
Python
MIT License
spesmilo/electrum
qml: fix undefined name (flake8 mandatory test)
630,992
25.08.2022 11:13:42
-7,200
f398404e047cfee5fb8e02f248bccbfad316844d
qml: add server and proxy config dialogs, forgot new files
[ { "change_type": "ADD", "old_path": null, "new_path": "electrum/gui/qml/components/ProxyConfigDialog.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+ElDial...
Python
MIT License
spesmilo/electrum
qml: add server and proxy config dialogs, forgot new files
630,992
26.08.2022 11:57:00
-7,200
e582ae0486dd6c3b99de68ddd3c5ac8bbacfcc62
qml: add QEAmount.copyFrom(QEAmount) so we can take a new amount object without changing the instance. This avoids crashes when a QEAmount is already referenced in QML, and then replaced with another instance (e.g. in qetxfinalizer.py)
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qetxfinalizer.py", "new_path": "electrum/gui/qml/qetxfinalizer.py", "diff": "@@ -74,7 +74,7 @@ class QETxFinalizer(QObject):\ndef amount(self, amount):\nif self._amount != amount:\nself._logger.debug(str(amount))\n- self._amount = amount\n+ se...
Python
MIT License
spesmilo/electrum
qml: add QEAmount.copyFrom(QEAmount) so we can take a new amount object without changing the instance. This avoids crashes when a QEAmount is already referenced in QML, and then replaced with another instance (e.g. in qetxfinalizer.py)
630,992
26.08.2022 13:21:49
-7,200
b9f381a1332d1471cbd72c5a9d226ceb23485d61
qml: fix channel double add to list on open, better display errors
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/ChannelDetails.qml", "new_path": "electrum/gui/qml/components/ChannelDetails.qml", "diff": "@@ -100,7 +100,7 @@ Pane {\ncolumns: 2\nLabel {\n- text: qsTr('Channel name')\n+ text: qsTr('Node name')\ncolor: Material.accentColor\n}\n" ...
Python
MIT License
spesmilo/electrum
qml: fix channel double add to list on open, better display errors
630,992
26.08.2022 15:06:10
-7,200
34c901b1a60985d558990c1d1ab7d70ebec74eb7
qml: add Save Backup dialog when no onchain backup, some initial work on incomplete funding TX
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/ChannelOpenProgressDialog.qml", "new_path": "electrum/gui/qml/components/ChannelOpenProgressDialog.qml", "diff": "@@ -25,6 +25,7 @@ ElDialog {\nproperty alias state: s.state\nproperty alias error: errorText.text\n+ property alias in...
Python
MIT License
spesmilo/electrum
qml: add Save Backup dialog when no onchain backup, some initial work on incomplete funding TX
630,992
26.08.2022 15:15:40
-7,200
629b0c56f3ae2ecb529a7852a65b8328f688da82
qml: fix missing import
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qechannelopener.py", "new_path": "electrum/gui/qml/qechannelopener.py", "diff": "@@ -13,6 +13,7 @@ from electrum.logging import get_logger\nfrom .auth import AuthMixin, auth_protect\nfrom .qetxfinalizer import QETxFinalizer\n+from .qetxdetails...
Python
MIT License
spesmilo/electrum
qml: fix missing import
630,992
27.08.2022 13:41:59
-7,200
291ca40c9e4bbfdd137e9a28959ccbd4cc89b37b
qml: fix missing param in userNotify
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qewallet.py", "new_path": "electrum/gui/qml/qewallet.py", "diff": "@@ -463,7 +463,7 @@ class QEWallet(AuthMixin, QObject, QtEventListener):\nfut = asyncio.run_coroutine_threadsafe(coro, self.wallet.network.asyncio_loop)\nfut.result()\nexcept E...
Python
MIT License
spesmilo/electrum
qml: fix missing param in userNotify
630,969
29.08.2022 10:17:03
-7,200
cf94ebc1062d2b3128d1eb452372087fea5512a8
If an invoice cannot be parsed in import_invoices or import_requests, raise FileImportFailed. Fixes
[ { "change_type": "MODIFY", "old_path": "electrum/wallet.py", "new_path": "electrum/wallet.py", "diff": "@@ -82,7 +82,7 @@ from .mnemonic import Mnemonic\nfrom .logging import get_logger, Logger\nfrom .lnworker import LNWallet\nfrom .paymentrequest import PaymentRequest\n-from .util import read_json_...
Python
MIT License
spesmilo/electrum
If an invoice cannot be parsed in import_invoices or import_requests, raise FileImportFailed. Fixes #7950
630,969
29.08.2022 12:50:02
-7,200
6a9e8da218a60273ff7cc93c98c282bad6baf42b
remove sign_payment_request: broken and not used
[ { "change_type": "MODIFY", "old_path": "electrum/commands.py", "new_path": "electrum/commands.py", "diff": "@@ -970,15 +970,6 @@ class Commands:\nwallet.save_db()\nreturn tx.txid()\n- @command('wp')\n- async def signrequest(self, address, password=None, wallet: Abstract_Wallet = None):\n- \"Sign pay...
Python
MIT License
spesmilo/electrum
remove sign_payment_request: broken and not used
630,870
29.08.2022 12:27:05
0
20997cf60b5f3ed04d2db70947bf5b5c5b7966c3
wallet: follow-up removal of get_request_status follow-up
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/dialogs/request_dialog.py", "new_path": "electrum/gui/kivy/uix/dialogs/request_dialog.py", "diff": "@@ -187,7 +187,7 @@ class RequestDialog(Factory.Popup):\naddress = req.get_address() or ''\nURI = self.app.wallet.get_request_URI(req) or ...
Python
MIT License
spesmilo/electrum
wallet: follow-up removal of get_request_status follow-up d9f77a50e8fbd907cf0c3a52a329a5133d6fc5d4
630,870
29.08.2022 12:47:31
0
abec59e17dea946f06f8a605d5dff4758590ae3d
mac build: rm unused BUILDDIR
[ { "change_type": "MODIFY", "old_path": "contrib/osx/make_osx", "new_path": "contrib/osx/make_osx", "diff": "@@ -4,7 +4,6 @@ set -e\n# Parameterize\nPYTHON_VERSION=3.9.11\n-BUILDDIR=/tmp/electrum-build\nPACKAGE=Electrum\nGIT_REPO=https://github.com/spesmilo/electrum\n@@ -155,9 +154,6 @@ rm -rf ./dist...
Python
MIT License
spesmilo/electrum
mac build: rm unused BUILDDIR
630,870
29.08.2022 13:30:59
0
d37b5e7d750deb202d80b058dfa0c714cdea32cc
Qt ReceiveTabWidget: change cursor to hint QR code can be clicked
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/receive_tab.py", "new_path": "electrum/gui/qt/receive_tab.py", "diff": "from typing import Optional, TYPE_CHECKING\n-from PyQt5.QtGui import QFont\n+from PyQt5.QtGui import QFont, QCursor\nfrom PyQt5.QtCore import Qt, QSize\nfrom PyQt5.QtWidget...
Python
MIT License
spesmilo/electrum
Qt ReceiveTabWidget: change cursor to hint QR code can be clicked
630,870
29.08.2022 13:35:39
0
859d43d0b20c8d00c3c1eb366b45ae80c7c51835
mac build: let pyinstaller handle Info.plist note: newer versions of pyinstaller (4.4+ ?) want to sign the bundle themselves, in which case modifying the Info.plist file after pyinstaller returns invalidates the sig.
[ { "change_type": "MODIFY", "old_path": "contrib/osx/make_osx", "new_path": "contrib/osx/make_osx", "diff": "@@ -219,12 +219,6 @@ VERSION=`git describe --tags --dirty --always`\ninfo \"Building binary\"\npyinstaller --noconfirm --ascii --clean --name $VERSION contrib/osx/osx.spec || fail \"Could not ...
Python
MIT License
spesmilo/electrum
mac build: let pyinstaller handle Info.plist note: newer versions of pyinstaller (4.4+ ?) want to sign the bundle themselves, in which case modifying the Info.plist file after pyinstaller returns invalidates the sig.
630,870
29.08.2022 13:43:57
0
e39ab1623a0075e3f830d1cf85f147c329a26957
mac build: set minimum system version to 10.13.0 in Info.plist based on This way users get more feedback from the OS when they attempt to launch the app on old macOS.
[ { "change_type": "MODIFY", "old_path": "contrib/osx/osx.spec", "new_path": "contrib/osx/osx.spec", "diff": "@@ -129,5 +129,6 @@ app = BUNDLE(\n'CFBundleURLName': 'bitcoin',\n'CFBundleURLSchemes': ['bitcoin', 'lightning', ],\n}],\n+ 'LSMinimumSystemVersion': '10.13.0',\n},\n)\n" } ]
Python
MIT License
spesmilo/electrum
mac build: set minimum system version to 10.13.0 in Info.plist based on https://github.com/Electron-Cash/Electron-Cash/commit/907e5e7009e00815f8df3925c50e8d246d3d0359 This way users get more feedback from the OS when they attempt to launch the app on old macOS. Co-authored-by: Calin Culianu <calin.culianu@gmail.com>
630,870
29.08.2022 13:46:47
0
89e1bbf4eccaacd232cd2025328081a16fda7a56
mac build: add message to camera permission prompt, in Info.plist based on
[ { "change_type": "MODIFY", "old_path": "contrib/osx/osx.spec", "new_path": "contrib/osx/osx.spec", "diff": "@@ -130,5 +130,6 @@ app = BUNDLE(\n'CFBundleURLSchemes': ['bitcoin', 'lightning', ],\n}],\n'LSMinimumSystemVersion': '10.13.0',\n+ 'NSCameraUsageDescription': 'Electrum would like to access th...
Python
MIT License
spesmilo/electrum
mac build: add message to camera permission prompt, in Info.plist based on https://github.com/Electron-Cash/Electron-Cash/commit/0b5b5fb228dbd3be60197b7ccde27ff32d9786ad Co-authored-by: Calin Culianu <calin.culianu@gmail.com>
630,870
29.08.2022 15:00:29
0
b3e869a5dea4cf2d95a51c57043f9e30a4e5ee9e
build win/mac: do not pass custom args to pyinstaller; use envvars custom args no longer work with pyinstaller 5.0 (see ) ``` option(s) not allowed: ... makespec options not valid when a .spec file is given ```
[ { "change_type": "MODIFY", "old_path": "contrib/build-wine/build-electrum-git.sh", "new_path": "contrib/build-wine/build-electrum-git.sh", "diff": "@@ -56,7 +56,7 @@ rm -rf dist/\n# build standalone and portable versions\ninfo \"Running pyinstaller...\"\n-wine \"$WINE_PYHOME/scripts/pyinstaller.exe\...
Python
MIT License
spesmilo/electrum
build win/mac: do not pass custom args to pyinstaller; use envvars custom args no longer work with pyinstaller 5.0 (see https://github.com/pyinstaller/pyinstaller/issues/6762 ) ``` option(s) not allowed: ... makespec options not valid when a .spec file is given ```
630,870
29.08.2022 15:12:54
0
a143d05fb9e5584cac64038dc0c243adad59b557
mac build: bump pyinstaller (4.2 -> 5.3)
[ { "change_type": "MODIFY", "old_path": "contrib/osx/README.md", "new_path": "contrib/osx/README.md", "diff": "@@ -11,6 +11,9 @@ This guide explains how to build Electrum binaries for macOS systems.\nThis needs to be done on a system running macOS or OS X.\n+The script is only tested on Intel-based M...
Python
MIT License
spesmilo/electrum
mac build: bump pyinstaller (4.2 -> 5.3)
630,992
31.08.2022 13:31:19
-7,200
179666612ea2778e4afb694214952123c9f655ec
qml: fix get_request in qerequestdetails
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qerequestdetails.py", "new_path": "electrum/gui/qml/qerequestdetails.py", "diff": "@@ -64,7 +64,7 @@ class QERequestDetails(QObject):\nstatusChanged = pyqtSignal()\n@pyqtProperty(int, notify=statusChanged)\ndef status(self):\n- req = self._wal...
Python
MIT License
spesmilo/electrum
qml: fix get_request in qerequestdetails
630,992
31.08.2022 13:33:58
-7,200
40e8ff6ce293bbc2edb6820ed0086be7fe648d6e
qml: add hack to delay rendering of QR until dialog is shown. unfortunately, using standard QtQuick Image.asynchronous=true leads to a deadlock at app exit so we can't use it a.t.m.
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/GenericShareDialog.qml", "new_path": "electrum/gui/qml/components/GenericShareDialog.qml", "diff": "@@ -58,6 +58,8 @@ ElDialog {\nQRImage {\nid: qr\n+ render: dialog.enter ? false : true\n+ qrdata: dialog.text_qr ? dialog.text_qr : ...
Python
MIT License
spesmilo/electrum
qml: add hack to delay rendering of QR until dialog is shown. unfortunately, using standard QtQuick Image.asynchronous=true leads to a deadlock at app exit so we can't use it a.t.m.
630,992
31.08.2022 13:50:26
-7,200
6d77253ac25369815f7b6e1a4019d405e3436a74
qml: remove log statement
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/GenericShareDialog.qml", "new_path": "electrum/gui/qml/components/GenericShareDialog.qml", "diff": "@@ -113,7 +113,6 @@ ElDialog {\nConnections {\ntarget: dialog.enter\nfunction onRunningChanged() {\n- console.log('dialog open anima...
Python
MIT License
spesmilo/electrum
qml: remove log statement
630,969
01.09.2022 09:56:46
-7,200
70da10d66275fc96827153a77bf0b4247b00b3d5
fix watchtower regtest flakiness caused by CTN variability. fixes
[ { "change_type": "MODIFY", "old_path": "electrum/commands.py", "new_path": "electrum/commands.py", "diff": "@@ -1134,6 +1134,8 @@ class Commands:\n'remote_pubkey': bh2u(chan.node_id),\n'local_balance': chan.balance(LOCAL)//1000,\n'remote_balance': chan.balance(REMOTE)//1000,\n+ 'local_ctn': chan.get...
Python
MIT License
spesmilo/electrum
fix watchtower regtest flakiness caused by CTN variability. fixes #7961
630,969
15.08.2022 14:14:25
-7,200
14e96f4d53d74f386df93d4ced23d452ff85a491
Index request by ID instead of receiving address. Replace get_key_for_outgoing_invoice, get_key_for_incoming_request with Invoice.get_id() When a new request is created, reuse addresses of expired requests (fixes The API is changed for the following commands: get_request, get_invoice, list_requests, list_invoices, dele...
[ { "change_type": "MODIFY", "old_path": "electrum/commands.py", "new_path": "electrum/commands.py", "diff": "@@ -880,21 +880,27 @@ class Commands:\nreturn decrypted.decode('utf-8')\n@command('w')\n- async def getrequest(self, key, wallet: Abstract_Wallet = None):\n- \"\"\"Return a payment request\"\"...
Python
MIT License
spesmilo/electrum
Index request by ID instead of receiving address. Replace get_key_for_outgoing_invoice, get_key_for_incoming_request with Invoice.get_id() When a new request is created, reuse addresses of expired requests (fixes #7927) The API is changed for the following commands: get_request, get_invoice, list_requests, list_in...
630,969
03.09.2022 11:16:37
-7,200
26245c1ac9ff5f1209bbd789678abc28f87fdc13
unit tests: split test_payment_trampoline into two tests
[ { "change_type": "MODIFY", "old_path": "electrum/tests/test_lnpeer.py", "new_path": "electrum/tests/test_lnpeer.py", "diff": "@@ -1081,8 +1081,7 @@ class TestPeer(TestCaseForTestnet):\ngraph = self.prepare_chans_and_peers_in_graph(GRAPH_DEFINITIONS['square_graph'])\nself._run_mpp(graph, {'mpp_invoic...
Python
MIT License
spesmilo/electrum
unit tests: split test_payment_trampoline into two tests
630,969
03.09.2022 17:51:11
-7,200
c6f940d092fc2e5f0bddc3a01f3f74f0818b42c8
trampoline: less verbose, do not log routes that are not tried
[ { "change_type": "MODIFY", "old_path": "electrum/lnworker.py", "new_path": "electrum/lnworker.py", "diff": "@@ -1577,7 +1577,7 @@ class LNWallet(LNWorker):\namount_with_fees = amount_msat\ncltv_delta = min_cltv_expiry\nelse:\n- trampoline_onion, amount_with_fees, cltv_delta = create_trampoline_route...
Python
MIT License
spesmilo/electrum
trampoline: less verbose, do not log routes that are not tried
630,969
03.09.2022 17:51:11
-7,200
2c57a8c394396af8b548a1c161a5a0d1a13855a7
lnworker: fix maybe_raise_trampoline_level. That function was a no-op due to wrong indentation level
[ { "change_type": "MODIFY", "old_path": "electrum/lnworker.py", "new_path": "electrum/lnworker.py", "diff": "@@ -1224,8 +1224,7 @@ class LNWallet(LNWorker):\n# sometimes need to fall back to a single trampoline forwarder, at the expense\n# of privacy\nuse_two_trampolines = True\n-\n- trampoline_fee_l...
Python
MIT License
spesmilo/electrum
lnworker: fix maybe_raise_trampoline_level. That function was a no-op due to wrong indentation level
630,969
04.09.2022 09:39:13
-7,200
92b21df843def7ded18094b73b60e791bb0c9b28
Trampoline: if possible, do not add second trampoline for e2e payments. This should fix
[ { "change_type": "MODIFY", "old_path": "electrum/trampoline.py", "new_path": "electrum/trampoline.py", "diff": "@@ -97,9 +97,8 @@ def encode_routing_info(r_tags):\nreturn result.tobytes()\n-def is_legacy_relay(invoice_features, r_tags) -> Tuple[bool, Optional[bytes]]:\n- \"\"\"Returns if we deal wit...
Python
MIT License
spesmilo/electrum
Trampoline: if possible, do not add second trampoline for e2e payments. This should fix #7967
630,969
07.09.2022 17:16:49
-7,200
99c4c75c9d9c5e8222f543223610fce32ee2a032
hardcoded trampolines: do not mix testnet nodes and unitests. (This was added in Not sure what the reason is, but it triggers UNKNOWN_NEXT_PEER errors, that in turn affect routing choices, e.g. fallback to single trampoline route)
[ { "change_type": "MODIFY", "old_path": "electrum/trampoline.py", "new_path": "electrum/trampoline.py", "diff": "@@ -71,15 +71,14 @@ TRAMPOLINE_NODES_SIGNET = {\n_TRAMPOLINE_NODES_UNITTESTS = {} # used in unit tests\ndef hardcoded_trampoline_nodes() -> Mapping[str, LNPeerAddr]:\n- nodes = {}\n- if co...
Python
MIT License
spesmilo/electrum
hardcoded trampolines: do not mix testnet nodes and unitests. (This was added in 3a7f5373ac. Not sure what the reason is, but it triggers UNKNOWN_NEXT_PEER errors, that in turn affect routing choices, e.g. fallback to single trampoline route)
630,969
07.09.2022 17:47:29
-7,200
082a50f2bdf53d605167c6466b681486f0f1efa2
trampolines_by_id must return dict (follow-up previous commit)
[ { "change_type": "MODIFY", "old_path": "electrum/trampoline.py", "new_path": "electrum/trampoline.py", "diff": "@@ -79,6 +79,8 @@ def hardcoded_trampoline_nodes() -> Mapping[str, LNPeerAddr]:\nreturn TRAMPOLINE_NODES_TESTNET\nelif constants.net.NET_NAME == \"signet\":\nreturn TRAMPOLINE_NODES_SIGNET...
Python
MIT License
spesmilo/electrum
trampolines_by_id must return dict (follow-up previous commit)
630,992
08.09.2022 12:19:38
-7,200
32a81d8ee7874b0e885b692becf4c182d5a09a88
qml: initial plugin support, with labelsync mostly implemented
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/__init__.py", "new_path": "electrum/gui/qml/__init__.py", "diff": "@@ -63,7 +63,7 @@ class ElectrumGui(Logger):\nself.gui_thread = threading.current_thread()\nself.plugins = plugins\n- self.app = ElectrumQmlApplication(sys.argv, config, daemon...
Python
MIT License
spesmilo/electrum
qml: initial plugin support, with labelsync mostly implemented
630,992
08.09.2022 15:15:46
-7,200
27999a9583165d5e5993ecf6b1f63db9d8eeb7bc
qml: clean up, generalize plugin gui base, enumerate plugins in gui (still quite crude impl, dynamic enable/disable plugin gui is misaligned with backend)
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Preferences.qml", "new_path": "electrum/gui/qml/components/Preferences.qml", "diff": "@@ -217,6 +217,7 @@ Pane {\nPane {\nColumnLayout {\n+ x: constants.paddingXXLarge\nid: pluginsRootLayout\n}\n}\n@@ -232,12 +233,23 @@ Pane {\nComp...
Python
MIT License
spesmilo/electrum
qml: clean up, generalize plugin gui base, enumerate plugins in gui (still quite crude impl, dynamic enable/disable plugin gui is misaligned with backend)
630,992
09.09.2022 19:58:48
-7,200
6bbd18dc7856310c366dc408f7bf61658d8c2035
qml: fix flake errors
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/plugins.py", "new_path": "electrum/gui/qml/plugins.py", "diff": "@@ -12,7 +12,7 @@ class PluginQObject(QObject):\n_busy = False\n- def __init__(self, plugin, parent: 'ElectrumGuiApplication'):\n+ def __init__(self, plugin, parent):\nsuper().__...
Python
MIT License
spesmilo/electrum
qml: fix flake errors
630,992
14.09.2022 16:07:03
-7,200
a488be61db541feebce6f17c5edc81147f6e6084
qml: fix open channel
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/OpenChannel.qml", "new_path": "electrum/gui/qml/components/OpenChannel.qml", "diff": "@@ -208,7 +208,7 @@ Pane {\napp.channelOpenProgressDialog.closed.connect(function() {\nvar dialog = app.genericShareDialog.createObject(app,\n{\n-...
Python
MIT License
spesmilo/electrum
qml: fix open channel
630,969
19.09.2022 17:43:13
-7,200
2af59e32b2c03961aa57d6d6872f6099ed8890f5
lnworker: define use_trampoline() for code clarity
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/channels_list.py", "new_path": "electrum/gui/qt/channels_list.py", "diff": "@@ -183,7 +183,7 @@ class ChannelsList(MyTreeView):\nWaitingDialog(self, 'please wait..', task, self.on_request_sent, self.on_failure)\ndef freeze_channel_for_sending(s...
Python
MIT License
spesmilo/electrum
lnworker: define use_trampoline() for code clarity
630,969
20.09.2022 11:28:51
-7,200
9251f482b5285c42e8537180c9ce507766841d20
test_lnpeer: add unit test for direct payment to trampoline node
[ { "change_type": "MODIFY", "old_path": "electrum/tests/test_lnpeer.py", "new_path": "electrum/tests/test_lnpeer.py", "diff": "@@ -715,11 +715,15 @@ class TestPeer(TestCaseForTestnet):\nwith self.assertRaises(SuccessfulTest):\nrun(f())\n- @needs_test_with_all_chacha20_implementations\n- def test_paym...
Python
MIT License
spesmilo/electrum
test_lnpeer: add unit test for direct payment to trampoline node
630,969
20.09.2022 11:44:23
-7,200
5e77886b98c00d7922f57b9d96d9cd4078a72843
trampoline MPP: handle direct payment to trampoline node
[ { "change_type": "MODIFY", "old_path": "electrum/lnworker.py", "new_path": "electrum/lnworker.py", "diff": "@@ -1673,6 +1673,14 @@ class LNWallet(LNWorker):\nroutes = []\nfor trampoline_node_id, trampoline_parts in per_trampoline_channel_amounts.items():\nper_trampoline_amount = sum([x[1] for x in t...
Python
MIT License
spesmilo/electrum
trampoline MPP: handle direct payment to trampoline node
630,969
20.09.2022 12:50:33
-7,200
ead886781a96c7e6e6d3054fb9d3c06ad9ada7c4
create_routes_for_payment: fix 'we atomically loop' Before this commit, partial results were yielded before we had examined the whole split configuration. I think the correct behaviour is to create all the routes for the current configuration, then to yield them. If there is an exception, we should try the next one.
[ { "change_type": "MODIFY", "old_path": "electrum/lnworker.py", "new_path": "electrum/lnworker.py", "diff": "@@ -1736,12 +1736,12 @@ class LNWallet(LNWorker):\nexclude_single_part_payments=True,\n)\n# We atomically loop through a split configuration. If there was\n- # a failure to find a path for a s...
Python
MIT License
spesmilo/electrum
create_routes_for_payment: fix 'we atomically loop' Before this commit, partial results were yielded before we had examined the whole split configuration. I think the correct behaviour is to create all the routes for the current configuration, then to yield them. If there is an exception, we should try the next one.
630,969
20.09.2022 13:49:16
-7,200
b8cb561d1ad0b3e9c242176cb0cf96576b7f4c2e
test_mpp_split: add tests for exclude_single_part_payments=False
[ { "change_type": "MODIFY", "old_path": "electrum/tests/test_mpp_split.py", "new_path": "electrum/tests/test_mpp_split.py", "diff": "@@ -37,6 +37,14 @@ class TestMppSplit(ElectrumTestCase):\nsplits[0].config\n)\n+ with self.subTest(msg=\"payment amount that does not require to be split\"):\n+ splits ...
Python
MIT License
spesmilo/electrum
test_mpp_split: add tests for exclude_single_part_payments=False
630,969
20.09.2022 13:22:12
-7,200
20bcb1548051c568e1a14e9ab69a4eedcb0facc0
Factorize code in create_routes_for_payment. Calling suggest_splits with exclude_single_part_payments=False
[ { "change_type": "MODIFY", "old_path": "electrum/lnworker.py", "new_path": "electrum/lnworker.py", "diff": "@@ -1539,6 +1539,33 @@ class LNWallet(LNWorker):\nelse:\nreturn random.choice(list(hardcoded_trampoline_nodes().values())).pubkey\n+ def suggest_splits(self, amount_msat: int, my_active_channe...
Python
MIT License
spesmilo/electrum
Factorize code in create_routes_for_payment. Calling suggest_splits with exclude_single_part_payments=False
630,870
20.09.2022 16:00:20
0
e5f21fb7b59a9206f903b4daa1054afc2f05a3b2
lnurl: better handle unimplemented lnurl subtypes fixes
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/screens.py", "new_path": "electrum/gui/kivy/uix/screens.py", "diff": "@@ -237,9 +237,12 @@ class SendScreen(CScreen, Logger):\ndef set_lnurl6(self, lnurl: str):\nurl = decode_lnurl(lnurl)\ndomain = urlparse(url).netloc\n+ try:\n# FIXME ne...
Python
MIT License
spesmilo/electrum
lnurl: better handle unimplemented lnurl subtypes fixes https://github.com/spesmilo/electrum/issues/7971
630,992
20.09.2022 19:14:36
-7,200
11b8d5e2f0b35883c3a9c8a20a2d2bb143db0e30
qml: work around qeamount copy from None
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qetypes.py", "new_path": "electrum/gui/qml/qetypes.py", "diff": "@@ -78,6 +78,9 @@ class QEAmount(QObject):\nreturn not(self._is_max or self._amount_sat or self._amount_msat)\ndef copyFrom(self, amount):\n+ if not amount:\n+ self._logger.warni...
Python
MIT License
spesmilo/electrum
qml: work around qeamount copy from None
630,969
20.09.2022 19:16:01
-7,200
79bcedd06426c24fe70e1a6324cdf9f2d0707a43
test_lnpeer: reset electrum.trampoline._TRAMPOLINE_NODES_UNITTESTS in tearDown
[ { "change_type": "MODIFY", "old_path": "electrum/tests/test_lnpeer.py", "new_path": "electrum/tests/test_lnpeer.py", "diff": "@@ -408,7 +408,7 @@ class TestPeer(TestCaseForTestnet):\nshutil.rmtree(lnworker._user_dir)\nself._lnworkers_created.clear()\nrun(cleanup_lnworkers())\n-\n+ electrum.trampolin...
Python
MIT License
spesmilo/electrum
test_lnpeer: reset electrum.trampoline._TRAMPOLINE_NODES_UNITTESTS in tearDown