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
22.04.2021 20:37:14
-7,200
3b773406711e18eda73f9f98f027c921a5222a93
Qt MyTreeView: rm usages of Qt.UserRole, use explicit roles instead This is a bit more verbose but it explicitly shows what data is being used where. Also rm implicitly setting editable_columns based on stretch_column.
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/address_list.py", "new_path": "electrum/gui/qt/address_list.py", "diff": "@@ -79,9 +79,12 @@ class AddressList(MyTreeView):\nfilter_columns = [Columns.TYPE, Columns.ADDRESS, Columns.LABEL, Columns.COIN_BALANCE]\nROLE_SORT_ORDER = Qt.UserRole + ...
Python
MIT License
spesmilo/electrum
Qt MyTreeView: rm usages of Qt.UserRole, use explicit roles instead This is a bit more verbose but it explicitly shows what data is being used where. Also rm implicitly setting editable_columns based on stretch_column.
630,870
22.04.2021 20:56:00
-7,200
1436760d3d06c78dd5dd180103d69ce16a5c8741
qt coins tab: Ctrl+F now searches the whole prevout string (not just the truncated string that is displayed in the list)
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/util.py", "new_path": "electrum/gui/qt/util.py", "diff": "@@ -551,6 +551,7 @@ class MyTreeView(QTreeView):\nROLE_CLIPBOARD_DATA = Qt.UserRole + 100\nROLE_CUSTOM_PAINT = Qt.UserRole + 101\nROLE_EDIT_KEY = Qt.UserRole + 102\n+ ROLE_FILTER_DATA = ...
Python
MIT License
spesmilo/electrum
qt coins tab: Ctrl+F now searches the whole prevout string (not just the truncated string that is displayed in the list)
630,870
23.04.2021 17:27:00
-7,200
37bde9baf964a154c01584d8aab58bf7432fdee0
qt: cpfp: fix handling "no dynamic fee estimates" fixes
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/main_window.py", "new_path": "electrum/gui/qt/main_window.py", "diff": "@@ -3292,7 +3292,6 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):\ngrid.addWidget(QLabel(_('Output amount') + ':'), 2, 0)\ngrid.addWidget(output_amount, 2, ...
Python
MIT License
spesmilo/electrum
qt: cpfp: fix handling "no dynamic fee estimates" fixes #7237
630,896
26.04.2021 08:43:50
-7,200
4cb0b99996d32ba00ba7247fa4ffad52bafa2335
lnworker: fix path_finder access
[ { "change_type": "MODIFY", "old_path": "electrum/commands.py", "new_path": "electrum/commands.py", "diff": "@@ -1092,10 +1092,12 @@ class Commands:\n@command('n')\nasync def clear_ln_blacklist(self):\n+ if self.network.path_finder:\nself.network.path_finder.liquidity_hints.clear_blacklist()\n@comman...
Python
MIT License
spesmilo/electrum
lnworker: fix path_finder access
630,969
26.04.2021 12:31:04
-7,200
04b1e8718aaafbecdb849debc4e9f290e6345779
tx dialog (Qt): if possible, save psbt and fully signed transaction under the same basename.
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/transaction_dialog.py", "new_path": "electrum/gui/qt/transaction_dialog.py", "diff": "@@ -346,15 +346,15 @@ class BaseTxDialog(QDialog, MessageBoxMixin):\ntx = self.tx\nif isinstance(tx, PartialTransaction):\ntx.finalize_psbt()\n+ txid = tx.txi...
Python
MIT License
spesmilo/electrum
tx dialog (Qt): if possible, save psbt and fully signed transaction under the same basename.
630,870
26.04.2021 17:06:52
-7,200
8bba3b9ef56c9363c757a8b27497c6b8921e91d4
network: also clear network.path_finder in stop_gossip stop_gossip should undo start_gossip related:
[ { "change_type": "MODIFY", "old_path": "electrum/network.py", "new_path": "electrum/network.py", "diff": "@@ -382,6 +382,7 @@ class Network(Logger, NetworkRetryManager[ServerAddr]):\nif full_shutdown:\nawait self.channel_db.stopped_event.wait()\nself.channel_db = None\n+ self.path_finder = None\ndef...
Python
MIT License
spesmilo/electrum
network: also clear network.path_finder in stop_gossip stop_gossip should undo start_gossip related: #7242
630,969
28.04.2021 12:37:08
0
2b0561599595ade8cebbc699f2946b4830ef671f
Do not perform webserver update from release script. (see publish.sh and deploy.sh in the electrum-web repo)
[ { "change_type": "MODIFY", "old_path": "contrib/release.sh", "new_path": "contrib/release.sh", "diff": "@@ -179,17 +179,12 @@ else\ntouch dist/uploaded\nfi\n-#exit 0\n-# push changes to website\n+# push changes to website repo\npushd $WWW_DIR\ngit diff\ngit commit -a -m \"version $VERSION\"\ngit pus...
Python
MIT License
spesmilo/electrum
Do not perform webserver update from release script. (see publish.sh and deploy.sh in the electrum-web repo)
630,969
30.04.2021 10:27:33
0
778949714047cd04c58545a00546741ffc625f41
release script: add username to signature file, upload files into airlock.
[ { "change_type": "MODIFY", "old_path": "contrib/make_download", "new_path": "contrib/make_download", "diff": "@@ -48,8 +48,8 @@ for k, n in files.items():\nos.unlink(path)\nstring = re.sub(\"<div id=\\\"%s\\\">(.*?)</div>\"%k, '', string, flags=re.DOTALL + re.MULTILINE)\ncontinue\n- sigpath = path +...
Python
MIT License
spesmilo/electrum
release script: add username to signature file, upload files into airlock.
630,896
30.04.2021 09:03:32
-7,200
97b31880d736e3afbe89ae2706c5db3ee5259c7d
kivy: improve openchannel dialog for trampoline
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/dialogs/lightning_open_channel.py", "new_path": "electrum/gui/kivy/uix/dialogs/lightning_open_channel.py", "diff": "@@ -10,7 +10,7 @@ from electrum.util import bh2u\nfrom electrum.bitcoin import COIN\nimport electrum.simple_config as conf...
Python
MIT License
spesmilo/electrum
kivy: improve openchannel dialog for trampoline
630,917
10.10.2020 17:54:51
-7,200
be7a33262424bc63ac4b08af1507b4ae942ee985
Add wordlist.
[ { "change_type": "MODIFY", "old_path": "contrib/build-wine/deterministic.spec", "new_path": "contrib/build-wine/deterministic.spec", "diff": "@@ -38,6 +38,7 @@ datas = [\n(home+'electrum/*.json', 'electrum'),\n(home+'electrum/lnwire/*.csv', 'electrum/lnwire'),\n(home+'electrum/wordlist/english.txt',...
Python
MIT License
spesmilo/electrum
Add SLIP-0039 wordlist.
630,917
12.10.2020 15:31:06
-7,200
19d04546df1380a8bfd7e302f4e55fc7062dc486
Replace from_bip39_seed() with from_bip43_rootseed().
[ { "change_type": "MODIFY", "old_path": "electrum/base_wizard.py", "new_path": "electrum/base_wizard.py", "diff": "@@ -517,7 +517,9 @@ class BaseWizard(Logger):\ndef on_restore_seed(self, seed, is_bip39, is_ext):\nself.seed_type = 'bip39' if is_bip39 else mnemonic.seed_type(seed)\nif self.seed_type =...
Python
MIT License
spesmilo/electrum
Replace from_bip39_seed() with from_bip43_rootseed().
630,896
28.04.2021 08:09:01
-7,200
6ce96306ca4614a009f4c281ebb9ddb2cff97c95
util: check bip21 url for amount
[ { "change_type": "MODIFY", "old_path": "electrum/util.py", "new_path": "electrum/util.py", "diff": "@@ -872,7 +872,7 @@ class InvalidBitcoinURI(Exception): pass\ndef parse_URI(uri: str, on_pr: Callable = None, *, loop=None) -> dict:\n\"\"\"Raises InvalidBitcoinURI on malformed URI.\"\"\"\nfrom . imp...
Python
MIT License
spesmilo/electrum
util: check bip21 url for amount
630,896
06.05.2021 15:30:34
-7,200
853e912885cd3c8a4d8a0e1444556e4fda11059b
invoice: fail gracefully with large amount
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/screens.py", "new_path": "electrum/gui/kivy/uix/screens.py", "diff": "@@ -318,6 +318,7 @@ class SendScreen(CScreen, Logger):\nself.app.show_error(_('Invalid amount') + ':\\n' + self.amount)\nreturn\nmessage = self.message\n+ try:\nif self...
Python
MIT License
spesmilo/electrum
invoice: fail gracefully with large amount
630,870
06.05.2021 18:19:55
-7,200
9c1a51547a301e765b9b0f9935c6d940bb9d658e
kivy: (trivial) clean-up imports in screens.py
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/screens.py", "new_path": "electrum/gui/kivy/uix/screens.py", "diff": "import asyncio\n-from weakref import ref\nfrom decimal import Decimal\n-import re\nimport threading\n-import traceback, sys\nfrom typing import TYPE_CHECKING, List, Opt...
Python
MIT License
spesmilo/electrum
kivy: (trivial) clean-up imports in screens.py
630,899
08.05.2021 11:53:58
-32,400
9f4d7ec6d1ef26094d0e9683f3088cf929dd0850
Add net.BOLT11_HRP
[ { "change_type": "MODIFY", "old_path": "electrum/constants.py", "new_path": "electrum/constants.py", "diff": "@@ -66,6 +66,7 @@ class BitcoinMainnet(AbstractNet):\nADDRTYPE_P2PKH = 0\nADDRTYPE_P2SH = 5\nSEGWIT_HRP = \"bc\"\n+ BOLT11_HRP = SEGWIT_HRP\nGENESIS = \"000000000019d6689c085ae165831e934ff76...
Python
MIT License
spesmilo/electrum
Add net.BOLT11_HRP
630,896
10.05.2021 09:21:53
-7,200
591a36fb3b47b6d5b6a14fc09bf3760961abd1a9
lnworker: async gen create_routes_for_payments
[ { "change_type": "MODIFY", "old_path": "electrum/lnworker.py", "new_path": "electrum/lnworker.py", "diff": "@@ -8,7 +8,7 @@ from decimal import Decimal\nimport random\nimport time\nfrom typing import (Optional, Sequence, Tuple, List, Set, Dict, TYPE_CHECKING,\n- NamedTuple, Union, Mapping, Any, Iter...
Python
MIT License
spesmilo/electrum
lnworker: async gen create_routes_for_payments
630,896
07.05.2021 11:21:58
-7,200
2749ea4d495c704a861b34a3853975f281767ba2
lnrouter: add inflight htlcs to liquidity hints
[ { "change_type": "MODIFY", "old_path": "electrum/lnrouter.py", "new_path": "electrum/lnrouter.py", "diff": "@@ -183,6 +183,8 @@ class LiquidityHint:\nself._cannot_send_backward = None\nself.blacklist_timestamp = 0\nself.hint_timestamp = 0\n+ self._inflight_htlcs_forward = 0\n+ self._inflight_htlcs_b...
Python
MIT License
spesmilo/electrum
lnrouter: add inflight htlcs to liquidity hints
630,896
19.05.2021 07:27:54
-7,200
3c02f6b9221bb7b4f031374106d78a845e40a6f6
swaps: fix satoshi conversion bug
[ { "change_type": "MODIFY", "old_path": "electrum/commands.py", "new_path": "electrum/commands.py", "diff": "@@ -1199,7 +1199,7 @@ class Commands:\nelse:\nlightning_amount_sat = satoshis(lightning_amount)\nclaim_fee = sm.get_claim_fee()\n- onchain_amount_sat = satoshis(onchain_amount + claim_fee)\n+ ...
Python
MIT License
spesmilo/electrum
swaps: fix satoshi conversion bug
631,011
04.06.2021 10:36:23
-7,200
b990ff78a53de18b9de1eaa2cef4b7177c032a2f
appimage: update libc6-dev package
[ { "change_type": "MODIFY", "old_path": "contrib/build-linux/appimage/Dockerfile", "new_path": "contrib/build-linux/appimage/Dockerfile", "diff": "@@ -43,7 +43,7 @@ RUN apt-get update -q && \\\nlibxcb-util1=0.4.0-0ubuntu3 \\\nlibxcb-render-util0=0.3.9-1 \\\nlibx11-xcb1=2:1.6.3-1ubuntu2.2 \\\n- libc6-...
Python
MIT License
spesmilo/electrum
appimage: update libc6-dev package (#7299)
630,870
04.06.2021 14:11:19
-7,200
cd50472b184eae0e25073468b146c94bb9810bae
kivy: (fix) forbid creating LN payreq if LN is disabled for wallet fix see
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/screens.py", "new_path": "electrum/gui/kivy/uix/screens.py", "diff": "@@ -434,9 +434,14 @@ class ReceiveScreen(CScreen):\namount = self.amount\namount = self.app.get_amount(amount) if amount else 0\nmessage = self.message\n+ lnworker = se...
Python
MIT License
spesmilo/electrum
kivy: (fix) forbid creating LN payreq if LN is disabled for wallet fix #6346 see https://github.com/spesmilo/electrum/issues/6346#issuecomment-854655931
630,870
05.06.2021 08:01:38
-7,200
eb6b4580e8d8ff2e4578afee4cd47d52de9f7bcd
fix tests: adapt to breaking change of ipaddress.ip_address in py3.9.5 fixes We can simply remove that test as we don't actually care whether the leading zeroes are allowed. see see
[ { "change_type": "MODIFY", "old_path": "electrum/tests/test_util.py", "new_path": "electrum/tests/test_util.py", "diff": "@@ -231,7 +231,7 @@ class TestUtil(ElectrumTestCase):\ndef test_is_ip_address(self):\nself.assertTrue(is_ip_address(\"127.0.0.1\"))\n- self.assertTrue(is_ip_address(\"127.000.000...
Python
MIT License
spesmilo/electrum
fix tests: adapt to breaking change of ipaddress.ip_address in py3.9.5 fixes https://github.com/spesmilo/electrum/issues/7307 We can simply remove that test as we don't actually care whether the leading zeroes are allowed. see https://github.com/python/cpython/commit/60ce8f0be6354ad565393ab449d8de5d713f35bc see http...
630,870
07.06.2021 14:46:30
-7,200
a425ab030194c135b1f3b853073be1a7ec6ffc7c
invoices/lnaddr: LNInvoice.from_bech32 now raises InvoiceError rm LnAddressError fixes related
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/main_window.py", "new_path": "electrum/gui/qt/main_window.py", "diff": "@@ -79,7 +79,7 @@ from electrum.exchange_rate import FxThread\nfrom electrum.simple_config import SimpleConfig\nfrom electrum.logging import Logger\nfrom electrum.lnutil im...
Python
MIT License
spesmilo/electrum
invoices/lnaddr: LNInvoice.from_bech32 now raises InvoiceError rm LnAddressError fixes https://github.com/spesmilo/electrum/issues/7321 related https://github.com/spesmilo/electrum/pull/7234
630,870
07.06.2021 18:30:24
-7,200
6c69c73a9f2237ec44868db985aa9c68c5bfb5ec
wallet: add address corruption tests for imported wallets too related:
[ { "change_type": "MODIFY", "old_path": "electrum/wallet.py", "new_path": "electrum/wallet.py", "diff": "@@ -2795,6 +2795,25 @@ class Imported_Wallet(Simple_Wallet):\ndef get_txin_type(self, address):\nreturn self.db.get_imported_address(address).get('type', 'address')\n+ @profiler\n+ def try_detecti...
Python
MIT License
spesmilo/electrum
wallet: add address corruption tests for imported wallets too related: https://github.com/spesmilo/electrum/issues/7338
631,011
07.06.2021 18:46:25
-7,200
fbf76af2c5a03ffdd70e769ff065e911903816ab
Update wallet backup access
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/main_window.py", "new_path": "electrum/gui/kivy/main_window.py", "diff": "@@ -1335,7 +1335,6 @@ class ElectrumWindow(App, Logger):\nself.show_error(_(\"Backup NOT saved. Backup directory not configured.\"))\nreturn\n- backup_dir = util.androi...
Python
MIT License
spesmilo/electrum
Update wallet backup access (#7300)
630,870
07.06.2021 20:11:56
-7,200
7e6d65ec11c0dccfc24478471c5951d3ae586937
wallet: RBF batching to only consider RBF-opted-in txs, even if local This is easier to understand; the special case is not worth it. related
[ { "change_type": "MODIFY", "old_path": "electrum/wallet.py", "new_path": "electrum/wallet.py", "diff": "@@ -1247,12 +1247,13 @@ class Abstract_Wallet(AddressSynchronizer, ABC):\n# do not mutate LN funding txs, as that would change their txid\nif self.is_lightning_funding_tx(txid):\ncontinue\n+ # tx ...
Python
MIT License
spesmilo/electrum
wallet: RBF batching to only consider RBF-opted-in txs, even if local This is easier to understand; the special case is not worth it. related https://github.com/spesmilo/electrum/issues/7298
630,870
08.06.2021 16:21:43
-7,200
34c2cb5220adb27320dea8f6132f7587acf13623
wallet: fix channels backups in .backup files This is a regression from which introduced "onchain_channel_backups", and renamed the old "channel_backups" key to "imported_channel_backups". The `save_backup` method was not changed to use the new "imported_channel_backups" key, so the channel backups are in the backup fi...
[ { "change_type": "MODIFY", "old_path": "electrum/wallet.py", "new_path": "electrum/wallet.py", "diff": "@@ -318,7 +318,7 @@ class Abstract_Wallet(AddressSynchronizer, ABC):\nnew_db = WalletDB(self.db.dump(), manual_upgrades=False)\nif self.lnworker:\n- channel_backups = new_db.get_dict('channel_back...
Python
MIT License
spesmilo/electrum
wallet: fix channels backups in .backup files This is a regression from https://github.com/spesmilo/electrum/commit/64a931f21e6f6699f192158e54ff8f2883682604, which introduced "onchain_channel_backups", and renamed the old "channel_backups" key to "imported_channel_backups". The `save_backup` method was not changed to...
630,870
08.06.2021 16:45:30
-7,200
53d6eeb3f3150425a3b3a40c341998a2bda39a41
wallet: rm get_txout_address method
[ { "change_type": "MODIFY", "old_path": "electrum/address_synchronizer.py", "new_path": "electrum/address_synchronizer.py", "diff": "@@ -172,9 +172,6 @@ class AddressSynchronizer(Logger):\nreturn tx.outputs()[prevout_n].value\nreturn None\n- def get_txout_address(self, txo: TxOutput) -> Optional[str]...
Python
MIT License
spesmilo/electrum
wallet: rm get_txout_address method
630,870
30.04.2021 16:11:09
-7,200
3c9346cce25eced4bd2c3bf6eea545dbfd7b8f30
android build: attempt at reproducible builds
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -19,10 +19,6 @@ bin/\nelectrum_data\n.DS_Store\n-# icons\n-electrum/gui/kivy/theming/atlas/*.png\n-electrum/gui/kivy/theming/atlas/*.atlas\n-\n# tests/tox\n.tox/\n.cache/\n" }, { "change_type": "MODIFY...
Python
MIT License
spesmilo/electrum
android build: attempt at reproducible builds
630,870
09.06.2021 17:16:42
-7,200
45cb8b5b02eee2634a7375ba81a0d86a4f67af75
android reproducibility: add Signal's "apkdiff.py" tool, and instructions
[ { "change_type": "MODIFY", "old_path": "contrib/android/Readme.md", "new_path": "contrib/android/Readme.md", "diff": "@@ -56,6 +56,9 @@ folder.\n./contrib/android/make_apk\n```\n+ Note: this builds a debug apk. `make_apk` takes an optional parameter\n+ which can be either `release` or `release-unsig...
Python
MIT License
spesmilo/electrum
android reproducibility: add Signal's "apkdiff.py" tool, and instructions
630,969
10.06.2021 14:30:17
0
8788b6450411804a72511341261c0341318cc7de
Update release script with APK fresh clone instruction. Add android/fresh_clone to gitignore
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -31,7 +31,7 @@ contrib/build-wine/fresh_clone/\ncontrib/build-linux/sdist/fresh_clone/\ncontrib/build-linux/appimage/build/\ncontrib/build-linux/appimage/.cache/\n-contrib/android_debug.keystore\n+contrib/andr...
Python
MIT License
spesmilo/electrum
Update release script with APK fresh clone instruction. Add android/fresh_clone to gitignore
630,969
10.06.2021 14:40:46
0
4dc7f4d3318cd357c21bf5cd1c927dd1d66e6cc3
release script: call build_docker_image.sh
[ { "change_type": "MODIFY", "old_path": "contrib/release.sh", "new_path": "contrib/release.sh", "diff": "@@ -111,7 +111,7 @@ target2=Electrum-$VERSION.0-arm64-v8a-release.apk\nif test -f dist/$target1; then\necho \"file exists: $target1\"\nelse\n- sudo docker build -t electrum-android-builder-img con...
Python
MIT License
spesmilo/electrum
release script: call build_docker_image.sh
630,870
10.06.2021 17:26:04
-7,200
f52c0fd571d35c1287b29712c61f58f1174d2e97
lnchannel: rm HTLC value upper limit of ~42 mBTC closes closes see
[ { "change_type": "MODIFY", "old_path": "electrum/lnchannel.py", "new_path": "electrum/lnchannel.py", "diff": "@@ -51,7 +51,7 @@ from .lnutil import (Outpoint, LocalConfig, RemoteConfig, Keypair, OnlyPubkeyKey\nfunding_output_script, SENT, RECEIVED, LOCAL, REMOTE, HTLCOwner, make_commitment_outputs,\...
Python
MIT License
spesmilo/electrum
lnchannel: rm HTLC value upper limit of ~42 mBTC closes #7328 closes #7100 see https://github.com/lightningnetwork/lightning-rfc/pull/877#issuecomment-857577075
630,969
11.06.2021 12:27:05
0
ad06398e4e0ddf4722c488ed0a40544e7b8e09f5
lnworker: rm unused import
[ { "change_type": "MODIFY", "old_path": "electrum/lnworker.py", "new_path": "electrum/lnworker.py", "diff": "@@ -63,7 +63,6 @@ from .lnutil import (Outpoint, LNPeerAddr,\nHtlcLog, derive_payment_secret_from_payment_preimage,\nNoPathFound, InvalidGossipMsg)\nfrom .lnutil import ln_dummy_address, ln_co...
Python
MIT License
spesmilo/electrum
lnworker: rm unused import
630,870
11.06.2021 14:51:09
-7,200
325cd950a46bbcd21d75489836fc75223e9e43c9
kivy: settings dialog: call update() from __init__ this is a clearer/easier-to-understand API
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/main_window.py", "new_path": "electrum/gui/kivy/main_window.py", "diff": "@@ -723,6 +723,7 @@ class ElectrumWindow(App, Logger):\nfrom .uix.dialogs.settings import SettingsDialog\nif self._settings_dialog is None:\nself._settings_dialog = Set...
Python
MIT License
spesmilo/electrum
kivy: settings dialog: call update() from __init__ this is a clearer/easier-to-understand API
630,870
11.06.2021 15:00:06
-7,200
3adb309d494d15dc9e8b9670f542985f1f3d07bc
kivy settings: more intuitive "recoverable channels" toggle Previously if the wallet did not have a deterministic node id, the wallet info dialog could say "lightning enabled, non-recoverable channels", but the "recoverable channels" setting could be toggled and might even say "yes".
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/dialogs/settings.py", "new_path": "electrum/gui/kivy/uix/dialogs/settings.py", "diff": "@@ -24,6 +24,7 @@ Builder.load_string('''\ntitle: _('Electrum Settings')\nhas_pin_code: False\nuse_encryption: False\n+ enable_toggle_use_recoverable_...
Python
MIT License
spesmilo/electrum
kivy settings: more intuitive "recoverable channels" toggle Previously if the wallet did not have a deterministic node id, the wallet info dialog could say "lightning enabled, non-recoverable channels", but the "recoverable channels" setting could be toggled and might even say "yes".
630,870
16.06.2021 14:50:39
-7,200
d55fce4edd430e4358e84bd77790698c351a91a5
prepare release 4.1.3
[ { "change_type": "MODIFY", "old_path": "RELEASE-NOTES", "new_path": "RELEASE-NOTES", "diff": "+# Release 4.1.3 - (June 16, 2021)\n+ * Builds/binaries:\n+ - Android: the binaries (APKs) should now be reproducible (#7263)\n+ - AppImage: fix some startup issues by including libxcb deps (#7198)\n+ * Lig...
Python
MIT License
spesmilo/electrum
prepare release 4.1.3
630,969
16.06.2021 16:54:02
-7,200
8ff49fa9bb5474974ac1cbf359f8b43828b3a08c
Remove signature verification from make_download. Signatures are verified by the website, before deployment.
[ { "change_type": "MODIFY", "old_path": "contrib/make_download", "new_path": "contrib/make_download", "diff": "@@ -29,37 +29,6 @@ string = string.replace(\"##VERSION_MAC##\", version_mac)\nstring = string.replace(\"##VERSION_ANDROID##\", version_android)\nstring = string.replace(\"##VERSION_APK##\", ...
Python
MIT License
spesmilo/electrum
Remove signature verification from make_download. Signatures are verified by the website, before deployment.
630,870
17.06.2021 11:48:58
-7,200
c49d6995d2a07417a40b248db361d6b57f6d3c59
kivy: fixes regression where non-LN wallet cannot open settings... fixes
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/dialogs/settings.py", "new_path": "electrum/gui/kivy/uix/dialogs/settings.py", "diff": "@@ -130,7 +130,7 @@ class SettingsDialog(Factory.Popup):\nself.wallet = self.app.wallet\nself.use_encryption = self.wallet.has_password() if self.wall...
Python
MIT License
spesmilo/electrum
kivy: fixes regression where non-LN wallet cannot open settings... fixes https://github.com/spesmilo/electrum/issues/6262#issuecomment-863087368
630,870
17.06.2021 12:05:40
-7,200
52fc2f5adba90ecaabdae716425b0d0e0b89b0ca
release.sh: make sure correct commit is checked out
[ { "change_type": "MODIFY", "old_path": "contrib/release.sh", "new_path": "contrib/release.sh", "diff": "@@ -97,7 +97,7 @@ else\n--workdir /opt/wine64/drive_c/electrum/contrib/build-wine \\\nelectrum-wine-builder-img \\\n./build.sh\n- # do this in the fresh clone directorry!\n+ # do this in the fresh...
Python
MIT License
spesmilo/electrum
release.sh: make sure correct commit is checked out
630,870
17.06.2021 12:12:11
-7,200
d3276ee950782bdbec362ceb16daa8fff666cf1b
build-wine/unsign.sh: allow using before files are uploaded publicly
[ { "change_type": "MODIFY", "old_path": "contrib/build-wine/unsign.sh", "new_path": "contrib/build-wine/unsign.sh", "diff": "@@ -21,8 +21,12 @@ echo \"Found $(ls dist/*.exe | wc -w) files to verify.\"\nfor mine in $(ls dist/*.exe); do\necho \"---------------\"\nf=$(basename $mine)\n+ if test -f signe...
Python
MIT License
spesmilo/electrum
build-wine/unsign.sh: allow using before files are uploaded publicly
630,969
16.06.2021 18:09:49
-7,200
9c1a8d7f65913a838fd9f24624cc1968f40b50bd
release.sh: fix path for android builds
[ { "change_type": "MODIFY", "old_path": "contrib/release.sh", "new_path": "contrib/release.sh", "diff": "@@ -130,8 +130,8 @@ else\nelectrum-android-builder-img \\\n./contrib/android/make_apk release\n- cp bin/$target1 dist/\n- cp bin/$target2 dist/\n+ cp contrib/android/fresh_clone/electrum/bin/$targ...
Python
MIT License
spesmilo/electrum
release.sh: fix path for android builds
630,870
17.06.2021 12:35:31
-7,200
66f68d6b1f1a4758059ae8ca377cc0b515784b8d
commands: fix "close_wallet" cmd, which was deadlocking fixes
[ { "change_type": "MODIFY", "old_path": "electrum/commands.py", "new_path": "electrum/commands.py", "diff": "@@ -236,7 +236,7 @@ class Commands:\n@command('n')\nasync def close_wallet(self, wallet_path=None):\n\"\"\"Close wallet\"\"\"\n- return self.daemon.stop_wallet(wallet_path)\n+ return await sel...
Python
MIT License
spesmilo/electrum
commands: fix "close_wallet" cmd, which was deadlocking fixes #7348
630,969
17.06.2021 15:02:07
-7,200
9625798a63ae50e993b859001fa1d7545ebedf84
release script: follow-up prev commit
[ { "change_type": "MODIFY", "old_path": "contrib/release.sh", "new_path": "contrib/release.sh", "diff": "@@ -111,6 +111,7 @@ target2=Electrum-$VERSION.0-arm64-v8a-release.apk\nif test -f dist/$target1; then\necho \"file exists: $target1\"\nelse\n+ pushd .\n./contrib/android/build_docker_image.sh\nFRE...
Python
MIT License
spesmilo/electrum
release script: follow-up prev commit
630,870
18.06.2021 15:42:46
-7,200
015b966afda45d19e27eda36d130cb12ac412a54
readme: add a "contributing" section, mentioning new irc
[ { "change_type": "MODIFY", "old_path": "README.rst", "new_path": "README.rst", "diff": "@@ -145,3 +145,21 @@ Android\n-------\nSee :code:`contrib/android/Readme.md`.\n+\n+\n+Contributing\n+============\n+\n+Any help testing the software, reporting or fixing bugs, reviewing pull requests\n+and recent...
Python
MIT License
spesmilo/electrum
readme: add a "contributing" section, mentioning new irc
630,870
17.06.2021 18:33:20
-7,200
5ae167d67d5958e93b5b48ad65f8593054a85f5a
android build: place binaries in ./dist/ instead of ./bin/ Let's try to consolidate and have all build scripts put binaries into ./dist/
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -78,8 +78,8 @@ jobs:\n- sudo docker run -it -u 1000:1000 --rm --name electrum-android-builder-cont --env CI=true -v $PWD:/home/user/wspace/electrum --workdir /home/user/wspace/electrum electrum-android-build...
Python
MIT License
spesmilo/electrum
android build: place binaries in ./dist/ instead of ./bin/ Let's try to consolidate and have all build scripts put binaries into ./dist/
630,870
17.06.2021 18:46:04
-7,200
0842f4977b3bb7eab4f712802b9450a014f1bea4
build: fresh_clone: turns out we can just clone from a local dir :P this saves us some network requests, and reduces trust in github
[ { "change_type": "MODIFY", "old_path": "contrib/android/Readme.md", "new_path": "contrib/android/Readme.md", "diff": "@@ -33,13 +33,11 @@ folder.\n(but you can skip this if reproducibility is not necessary).\n```\n- $ FRESH_CLONE=contrib/android/fresh_clone && \\\n- sudo rm -rf $FRESH_CLONE && \\\n+...
Python
MIT License
spesmilo/electrum
build: fresh_clone: turns out we can just clone from a local dir :P this saves us some network requests, and reduces trust in github
630,870
17.06.2021 19:03:23
-7,200
3df1c3bbf7583b48c999060c24557f665cd87236
build: rename some scripts also, merge sdist/build.sh and sdist/make_tgz into sdist/make_sdist.sh
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -61,7 +61,7 @@ jobs:\ninstall:\n- sudo docker build --no-cache -t electrum-wine-builder-img ./contrib/build-wine/\nscript:\n- - sudo docker run --name electrum-wine-builder-cont -v $PWD:/opt/wine64/drive_c/e...
Python
MIT License
spesmilo/electrum
build: rename some scripts also, merge sdist/build.sh and sdist/make_tgz into sdist/make_sdist.sh
630,870
17.06.2021 19:09:41
-7,200
91c913dc0b6f1a7a0225f16d57c9ef9ab242daf2
build/release.sh: add some comments
[ { "change_type": "MODIFY", "old_path": "contrib/release.sh", "new_path": "contrib/release.sh", "diff": "+#!/bin/bash\n+\n+# Note: steps before doing a new release:\n#\n-# Note: update locale before:\n+# - update locale:\n# 1. cd /opt/electrum-locale && ./update && push\n# 2. cd to the submodule dir,...
Python
MIT License
spesmilo/electrum
build/release.sh: add some comments
630,870
17.06.2021 19:41:37
-7,200
9d46fe775aa09ec93b159cb96f0b5bb275f574fa
build: try to consolidate instructions and decr codedupe in release.sh
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -58,10 +58,8 @@ jobs:\n- sudo apt-get update\n- sudo apt-get -y -o Dpkg::Options::=\"--force-confnew\" install docker-ce\n- docker version\n- install:\n- - sudo docker build --no-cache -t electrum-wine-build...
Python
MIT License
spesmilo/electrum
build: try to consolidate instructions and decr codedupe in release.sh
630,939
07.12.2019 16:31:15
-3,600
3ff537465b4e06a1527860b847b51e6c879e0acf
qt addresses list: add "funded or unused" filter option
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/address_list.py", "new_path": "electrum/gui/qt/address_list.py", "diff": "@@ -43,6 +43,7 @@ class AddressUsageStateFilter(IntEnum):\nUNUSED = 1\nFUNDED = 2\nUSED_AND_EMPTY = 3\n+ FUNDED_OR_UNUSED = 4\ndef ui_text(self) -> str:\nreturn {\n@@ -50...
Python
MIT License
spesmilo/electrum
qt addresses list: add "funded or unused" filter option
630,870
19.06.2021 15:44:01
-7,200
ba8af9310f2843afd56a41db2618c37a6eab06b1
kivy addresses list: add "funded or unused" filter option note: "Funded or Unused" shortened to "Funded|Unused" to save horizontal space
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/dialogs/addresses.py", "new_path": "electrum/gui/kivy/uix/dialogs/addresses.py", "diff": "@@ -102,9 +102,9 @@ Builder.load_string('''\nspacing: '5dp'\nAddressButton:\nid: search\n- text: {0:_('All'), 1:_('Unused'), 2:_('Funded'), 3:_('Use...
Python
MIT License
spesmilo/electrum
kivy addresses list: add "funded or unused" filter option note: "Funded or Unused" shortened to "Funded|Unused" to save horizontal space
630,870
18.06.2021 20:15:02
-7,200
e54e6e4e09b1d159e3e3dc3600570d6845f3be51
build: extend release.sh so that all builders can use it
[ { "change_type": "MODIFY", "old_path": "contrib/android/apkdiff.py", "new_path": "contrib/android/apkdiff.py", "diff": "@@ -7,14 +7,16 @@ from zipfile import ZipFile\nclass ApkDiff:\nIGNORE_FILES = [\"META-INF/MANIFEST.MF\", \"META-INF/CERT.RSA\", \"META-INF/CERT.SF\"]\n- def compare(self, sourceApk...
Python
MIT License
spesmilo/electrum
build: extend release.sh so that all builders can use it
630,870
22.06.2021 16:06:52
-7,200
57e52da77fd25300f6035a87c330086caf1caffc
lnaddr: clean-up SEGWIT_HRP vs BOLT11_HRP confusion With signet, SEGWIT_HRP != BOLT11_HRP, so the previous "currency" string became a flawed concept. Instead we pass around net objects now.
[ { "change_type": "MODIFY", "old_path": "electrum/constants.py", "new_path": "electrum/constants.py", "diff": "import os\nimport json\n-from .util import inv_dict\n+from .util import inv_dict, all_subclasses\nfrom . import bitcoin\n@@ -47,7 +47,17 @@ BIP39_WALLET_FORMATS = read_json('bip39_wallet_for...
Python
MIT License
spesmilo/electrum
lnaddr: clean-up SEGWIT_HRP vs BOLT11_HRP confusion With signet, SEGWIT_HRP != BOLT11_HRP, so the previous "currency" string became a flawed concept. Instead we pass around net objects now.
630,870
22.06.2021 19:14:47
-7,200
60e0cd65cf88b9741da6f48f466c0d4aa2f510e0
slip39: follow-ups fix kivy wizard restore-from-seed qt seed dialog: disable "next share" if current share is invalid fix tests: file paths should not depend on $PWD (working dir)
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/dialogs/installwizard.py", "new_path": "electrum/gui/kivy/uix/dialogs/installwizard.py", "diff": "@@ -989,7 +989,8 @@ class RestoreSeedDialog(WizardDialog):\ntis.focus = False\ndef get_params(self, b):\n- return (self.get_text(), self.is_...
Python
MIT License
spesmilo/electrum
slip39: follow-ups - fix kivy wizard restore-from-seed - qt seed dialog: disable "next share" if current share is invalid - fix tests: file paths should not depend on $PWD (working dir)
630,969
23.06.2021 15:46:45
-7,200
a99e0d9e17c66229572786b19c92bdb049793262
build tools: set ZERO_AR_DATE to have deterministic timestamps on macOS
[ { "change_type": "MODIFY", "old_path": "contrib/build_tools_util.sh", "new_path": "contrib/build_tools_util.sh", "diff": "@@ -116,6 +116,7 @@ fi\nexport SOURCE_DATE_EPOCH=1530212462\n+export ZERO_AR_DATE=1 # for macOS\nexport PYTHONHASHSEED=22\n# Set the build type, overridden by wine build\nexport ...
Python
MIT License
spesmilo/electrum
build tools: set ZERO_AR_DATE to have deterministic timestamps on macOS
630,969
24.06.2021 11:45:29
-7,200
4380f68564c1d63d787c433da7b9296ebbb3c4ff
contrib/osx/package.sh: fix paths, add link to issue regarding GCC 10.1
[ { "change_type": "MODIFY", "old_path": "contrib/osx/package.sh", "new_path": "contrib/osx/package.sh", "diff": "#!/usr/bin/env bash\n+set -ex\n+\n+PROJECT_ROOT=\"$(dirname \"$(readlink -e \"$0\")\")/../..\"\n+CONTRIB=\"$PROJECT_ROOT/contrib\"\n+. \"$CONTRIB\"/build_tools_util.sh\n+\n+# note: GCC 10....
Python
MIT License
spesmilo/electrum
contrib/osx/package.sh: fix paths, add link to issue regarding GCC 10.1
630,870
24.06.2021 17:57:53
-7,200
f1e77b6e43a27be45c6dc1dbfde33607d8125494
build: update zbar to fix build issue with autoconf 2.70 see see
[ { "change_type": "MODIFY", "old_path": "contrib/build-linux/appimage/Dockerfile", "new_path": "contrib/build-linux/appimage/Dockerfile", "diff": "@@ -14,6 +14,7 @@ RUN apt-get update -q && \\\nautotools-dev=20150820.1 \\\nautoconf=2.69-9 \\\nlibtool=2.4.6-0.1 \\\n+ autopoint=0.19.7-2ubuntu3.1 \\\nxz...
Python
MIT License
spesmilo/electrum
build: update zbar to fix build issue with autoconf 2.70 see https://github.com/Electron-Cash/Electron-Cash/pull/2143 see https://github.com/mchehab/zbar/issues/132
630,870
25.06.2021 14:25:01
-7,200
bc5ec96387d9cb72e7fe057308a54d35e6c1dbd7
kivy: scan_qr_non_android: handle user closing window handle user closing window without scanning a qr code (i.e. cancelling scan)
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/main_window.py", "new_path": "electrum/gui/kivy/main_window.py", "diff": "@@ -444,7 +444,7 @@ class ElectrumWindow(App, Logger):\nself.show_error(\"invoice error:\" + pr.error)\nself.send_screen.do_clear()\n- def on_qr(self, data):\n+ def on_...
Python
MIT License
spesmilo/electrum
kivy: scan_qr_non_android: handle user closing window handle user closing window without scanning a qr code (i.e. cancelling scan)
630,870
25.06.2021 16:50:52
-7,200
129d5ba4176f13bac68a8306dc9197b20fac7e74
qt: (fix) make ScanQRTextEdit inherit Logger the error handling in `qr_input()`, around line 81, references `self.logger`, which would raise
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/qrtextedit.py", "new_path": "electrum/gui/qt/qrtextedit.py", "diff": "@@ -4,6 +4,7 @@ from electrum.i18n import _\nfrom electrum.plugin import run_hook\nfrom electrum.simple_config import SimpleConfig\nfrom electrum.util import UserFacingExcept...
Python
MIT License
spesmilo/electrum
qt: (fix) make ScanQRTextEdit inherit Logger the error handling in `qr_input()`, around line 81, references `self.logger`, which would raise
630,870
25.06.2021 17:40:23
-7,200
215734c3de7c02de31d94bddecc5192dad97aabc
qr scanning: add comments to distinguish qrscanner.py and qrreader/
[ { "change_type": "MODIFY", "old_path": "electrum/qrreader/__init__.py", "new_path": "electrum/qrreader/__init__.py", "diff": "# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n# SOFTWARE.\n+#\n+# A module, that, g...
Python
MIT License
spesmilo/electrum
qr scanning: add comments to distinguish qrscanner.py and qrreader/
631,019
02.07.2021 12:04:41
18,000
ea19b665ffd7dcf7dad01fbf51f42636c55609d0
Friendlier minimum sizing for small screens for air-gapped signing functionalities, i.e. main window and transaction dialog
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/main_window.py", "new_path": "electrum/gui/qt/main_window.py", "diff": "@@ -241,7 +241,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):\ntabs.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)\n- central_widget = QWidge...
Python
MIT License
spesmilo/electrum
Friendlier minimum sizing for small screens for air-gapped signing functionalities, i.e. main window and transaction dialog
630,870
02.07.2021 19:52:36
-7,200
a339338958ff4b1d982b89018740dbda41508c07
LN private route hints: don't include low receive capacity channels see code comment. While the balance in the channels might shift before the sender tries to pay the invoice, as we are not a forwarding node, that seems unlikely to matter.
[ { "change_type": "MODIFY", "old_path": "electrum/lnworker.py", "new_path": "electrum/lnworker.py", "diff": "@@ -1912,6 +1912,11 @@ class LNWallet(LNWorker):\n# we include channels that cannot *right now* receive (e.g. peer disconnected or balance insufficient)\nchannels = [chan for chan in channels\...
Python
MIT License
spesmilo/electrum
LN private route hints: don't include low receive capacity channels see code comment. While the balance in the channels might shift before the sender tries to pay the invoice, as we are not a forwarding node, that seems unlikely to matter.
630,870
05.07.2021 17:26:29
-7,200
cfdadeda679cac6e5674141822a6ca2497160043
qt: some fixes for send/receive tabs when window is small
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/amountedit.py", "new_path": "electrum/gui/qt/amountedit.py", "diff": "from decimal import Decimal\nfrom typing import Union\n-from PyQt5.QtCore import pyqtSignal, Qt\n+from PyQt5.QtCore import pyqtSignal, Qt, QSize\nfrom PyQt5.QtGui import QPal...
Python
MIT License
spesmilo/electrum
qt: some fixes for send/receive tabs when window is small
630,870
05.07.2021 18:59:02
-7,200
82bfe1ba9c40d28bdcbb5db53c5b4a775a3623c3
kivy crash reporter: warn users not to share sensitive info Previously only Qt had the warning.
[ { "change_type": "MODIFY", "old_path": "electrum/base_crash_reporter.py", "new_path": "electrum/base_crash_reporter.py", "diff": "@@ -55,6 +55,8 @@ class BaseCrashReporter(Logger):\n'useful debug information:')\nDESCRIBE_ERROR_MESSAGE = _(\"Please briefly describe what led to the error (optional):\"...
Python
MIT License
spesmilo/electrum
kivy crash reporter: warn users not to share sensitive info Previously only Qt had the warning.
630,870
05.07.2021 19:40:02
-7,200
7236dae94b7d0d4003fd21b1a6eca6c4be597f5c
kivy wizard: add explicit warnings at seed creation
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/dialogs/installwizard.py", "new_path": "electrum/gui/kivy/uix/dialogs/installwizard.py", "diff": "@@ -834,7 +834,12 @@ class ChoiceLineDialog(WizardChoiceDialog):\nclass ShowSeedDialog(WizardDialog):\nseed_text = StringProperty('')\n- mes...
Python
MIT License
spesmilo/electrum
kivy wizard: add explicit warnings at seed creation
630,870
06.07.2021 18:17:40
-7,200
5b627208f14a00b985fc85795115b54e9b90d8d6
mac build: build libusb from source fixes
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -36,6 +36,7 @@ contrib/android/fresh_clone\ncontrib/android/android_debug.keystore\ncontrib/secp256k1/\ncontrib/zbar/\n+contrib/libusb/\ncontrib/osx/build-venv/\n# shared objects\n" }, { "change_type":...
Python
MIT License
spesmilo/electrum
mac build: build libusb from source fixes https://github.com/spesmilo/electrum/issues/7393
630,870
11.07.2021 16:57:01
-7,200
d94d443082a6f71b651625e13318ad6b05b11318
wallet: fire "request_status" event also when conf number changes
[ { "change_type": "MODIFY", "old_path": "electrum/address_synchronizer.py", "new_path": "electrum/address_synchronizer.py", "diff": "@@ -36,7 +36,7 @@ from .util import profiler, bfh, TxMinedInfo, UnrelatedTransactionException, wit\nfrom .transaction import Transaction, TxOutput, TxInput, PartialTxIn...
Python
MIT License
spesmilo/electrum
wallet: fire "request_status" event also when conf number changes
630,969
12.07.2021 15:58:36
-7,200
b7cc5f329c7d85f416cc35af00d11fe93c74ec09
osx: add script to compare dmg binaries
[ { "change_type": "ADD", "old_path": null, "new_path": "contrib/osx/compare_dmg", "diff": "+#!/usr/bin/env bash\n+\n+src_dir=$(dirname \"$0\")\n+cd \"$src_dir/../..\"\n+\n+hdiutil attach $1\n+cp -r /Volumes/Electrum/Electrum.app/ dist/Electrum.app.signed\n+hdiutil detach /Volumes/Electrum\n+\n+# remo...
Python
MIT License
spesmilo/electrum
osx: add script to compare dmg binaries
630,870
12.07.2021 19:24:58
-7,200
d0f0669e8f7519018b6c79958184dabf467cf4ff
crash reporter: send traceback for full chain of exceptions Previously if there was a chain of exceptions, we were only sending the traceback for the final exception. E.g. try: raise ExcOne("asdasd") except ExcOne() as e: raise ExcTwo("qweqwe") from e ^ we would lose all info about ExcOne, including potentially many li...
[ { "change_type": "MODIFY", "old_path": "electrum/base_crash_reporter.py", "new_path": "electrum/base_crash_reporter.py", "diff": "@@ -81,7 +81,7 @@ class BaseCrashReporter(Logger):\ndef get_traceback_info(self):\nexc_string = str(self.exc_args[1])\nstack = traceback.extract_tb(self.exc_args[2])\n- r...
Python
MIT License
spesmilo/electrum
crash reporter: send traceback for full chain of exceptions Previously if there was a chain of exceptions, we were only sending the traceback for the final exception. E.g. try: raise ExcOne("asdasd") except ExcOne() as e: raise ExcTwo("qweqwe") from e ^ we would lose all info about ExcOne, including potentia...
630,969
13.07.2021 10:01:09
-7,200
0c17b49e2c1b4b39baf00e557298ced6dbc43917
compare_dmg: compare two files
[ { "change_type": "MODIFY", "old_path": "contrib/osx/compare_dmg", "new_path": "contrib/osx/compare_dmg", "diff": "src_dir=$(dirname \"$0\")\ncd \"$src_dir/../..\"\n+rm -rf dmg1\nhdiutil attach $1\n-cp -r /Volumes/Electrum/Electrum.app/ dist/Electrum.app.signed\n+cp -r /Volumes/Electrum/Electrum.app/...
Python
MIT License
spesmilo/electrum
compare_dmg: compare two files
630,969
13.07.2021 10:21:14
-7,200
ace113358a18765fa9b27d1208daadf2fbefc261
fix typo (follow-up prev)
[ { "change_type": "MODIFY", "old_path": "contrib/osx/compare_dmg", "new_path": "contrib/osx/compare_dmg", "diff": "@@ -9,7 +9,7 @@ cp -r /Volumes/Electrum/Electrum.app/ dmg1\nhdiutil detach /Volumes/Electrum\nrm -rf dmg2\n-hdiutil attach $1\n+hdiutil attach $2\ncp -r /Volumes/Electrum/Electrum.app/ d...
Python
MIT License
spesmilo/electrum
fix typo (follow-up prev)
630,896
12.07.2021 16:16:18
-7,200
3cd14a27bd3acbcdaf4b05b5fa74899aaceed84c
tests: clarify keyword arguments, rename
[ { "change_type": "MODIFY", "old_path": "electrum/tests/test_lnpeer.py", "new_path": "electrum/tests/test_lnpeer.py", "diff": "@@ -882,15 +882,18 @@ class TestPeer(TestCaseForTestnet):\nwith self.assertRaises(PaymentDone):\nrun(f())\n- def _run_mpp(self, graph, kwargs1, kwargs2):\n+ def _run_mpp(self...
Python
MIT License
spesmilo/electrum
tests: clarify keyword arguments, rename
630,870
15.07.2021 01:33:11
-7,200
8a56c9eb66035edcf64e90012e62a0df421c6e2a
invoices: explain status constants
[ { "change_type": "MODIFY", "old_path": "electrum/invoices.py", "new_path": "electrum/invoices.py", "diff": "@@ -22,14 +22,14 @@ PR_TYPE_ONCHAIN = 0\nPR_TYPE_LN = 2\n# status of payment requests\n-PR_UNPAID = 0\n-PR_EXPIRED = 1\n-PR_UNKNOWN = 2 # sent but not propagated\n-PR_PAID = 3 # send and propa...
Python
MIT License
spesmilo/electrum
invoices: explain status constants
630,870
15.07.2021 01:35:24
-7,200
8481afb286ec6ccc3430f898b8f61da23110e1b5
lnchannel: introduce HTLCWithStatus NamedTuple
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/channel_details.py", "new_path": "electrum/gui/qt/channel_details.py", "diff": "@@ -200,9 +200,9 @@ class ChannelDetailsDialog(QtWidgets.QDialog, MessageBoxMixin):\nw = QtWidgets.QTreeView(self)\nhtlc_dict = chan.get_payments()\nhtlc_list = []\...
Python
MIT License
spesmilo/electrum
lnchannel: introduce HTLCWithStatus NamedTuple
630,870
15.07.2021 19:26:54
-7,200
8c1380ca8b7526dea7cf488cc87ed5c5ce84321d
mac build: trivial clean-up
[ { "change_type": "MODIFY", "old_path": "contrib/osx/make_osx", "new_path": "contrib/osx/make_osx", "diff": "@@ -15,10 +15,9 @@ export PYTHONDONTWRITEBYTECODE=1 # don't create __pycache__/ folders with .pyc\nCONTRIB_OSX=\"$(dirname \"$(realpath \"$0\")\")\"\nCONTRIB=\"$CONTRIB_OSX/..\"\n-ROOT_FOLDER=...
Python
MIT License
spesmilo/electrum
mac build: trivial clean-up
630,870
15.07.2021 19:28:50
-7,200
4fd6282f51176d93aa7917881285fbf588df06cb
mac build: download python from python.org instead of using pyenv
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -32,6 +32,7 @@ contrib/build-linux/sdist/fresh_clone/\ncontrib/build-linux/appimage/build/\ncontrib/build-linux/appimage/.cache/\ncontrib/build-linux/appimage/fresh_clone/\n+contrib/osx/.cache/\ncontrib/androi...
Python
MIT License
spesmilo/electrum
mac build: download python from python.org instead of using pyenv
630,896
08.04.2021 09:05:12
-7,200
3c521f4ce39078de52862ddf0a341d55f9264dc6
mpp_split: split algorithm with channel splits The splitting algorithm is redesigned to use random distribution of subsplittings over channels. Splittings can include multiple subamounts within a channel. The single-channel splittings are implicitly activated once the liquidity hints don't support payments of large siz...
[ { "change_type": "MODIFY", "old_path": "electrum/lnworker.py", "new_path": "electrum/lnworker.py", "diff": "@@ -1457,10 +1457,6 @@ class LNWallet(LNWorker):\nWe first try to conduct the payment over a single channel. If that fails\nand mpp is supported by the receiver, we will split the payment.\"\"...
Python
MIT License
spesmilo/electrum
mpp_split: split algorithm with channel splits - The splitting algorithm is redesigned to use random distribution of subsplittings over channels. - Splittings can include multiple subamounts within a channel. - The single-channel splittings are implicitly activated once the liquidity hints don't support payments o...
630,969
16.07.2021 15:41:15
-7,200
4dd82cef742a292baebef6b2ffbfe966aa9ef5e1
set -e in compare_dmg
[ { "change_type": "MODIFY", "old_path": "contrib/osx/compare_dmg", "new_path": "contrib/osx/compare_dmg", "diff": "#!/usr/bin/env bash\n+set -e\nsrc_dir=$(dirname \"$0\")\ncd \"$src_dir/../..\"\n@@ -14,8 +15,8 @@ cp -r /Volumes/Electrum/Electrum.app/ dmg2\nhdiutil detach /Volumes/Electrum\n# remove s...
Python
MIT License
spesmilo/electrum
set -e in compare_dmg
630,969
16.07.2021 15:55:33
-7,200
9278a26a7d9c69c24bf3b847d4207f01bb9dbb30
make_osx: do not download python pkg unnecessarily
[ { "change_type": "MODIFY", "old_path": "contrib/osx/make_osx", "new_path": "contrib/osx/make_osx", "diff": "@@ -64,11 +64,13 @@ function DoCodeSignMaybe { # ARGS: infoName fileOrDirName\n}\ninfo \"Installing Python $PYTHON_VERSION\"\n-curl -o \"$CACHEDIR/python-${PYTHON_VERSION}-macosx10.9.pkg\" \\\...
Python
MIT License
spesmilo/electrum
make_osx: do not download python pkg unnecessarily
630,870
16.07.2021 16:26:30
-7,200
e679e6074f1f915427459e5c7240c3ba818d866e
mac build: add "set -e" for sanity... re touching these files: not sure they are really needed (but the ~/Library/Python/ and ~/.pyenv folders are no longer there on the build machine)
[ { "change_type": "MODIFY", "old_path": "contrib/osx/make_osx", "new_path": "contrib/osx/make_osx", "diff": "#!/usr/bin/env bash\n+set -e\n+\n# Parameterize\nPYTHON_VERSION=3.7.9\nBUILDDIR=/tmp/electrum-build\n@@ -154,11 +156,7 @@ info \"Building $PACKAGE...\"\npython3 -m pip install --no-dependencie...
Python
MIT License
spesmilo/electrum
mac build: add "set -e" for sanity... re touching these files: not sure they are really needed (but the ~/Library/Python/ and ~/.pyenv folders are no longer there on the build machine)
630,870
19.07.2021 06:28:27
-7,200
f50882d8df371f54af34babcacb96daa84e3f8c8
mac build: attempt at "reproducible" codesigned builds added notes about reproducibility requirements adapted build scripts from Bitcoin Core that can - extract signatures from a signed .app - apply previously extracted signatures to an unsigned .app
[ { "change_type": "ADD", "old_path": null, "new_path": "contrib/osx/apply_sigs.sh", "diff": "+#!/bin/sh\n+# Copyright (c) 2014-2019 The Bitcoin Core developers\n+# Distributed under the MIT software license, see the accompanying\n+# file COPYING or http://www.opensource.org/licenses/mit-license.php.\...
Python
MIT License
spesmilo/electrum
mac build: attempt at "reproducible" codesigned builds - added notes about reproducibility requirements - adapted build scripts from Bitcoin Core that can - extract signatures from a signed .app - apply previously extracted signatures to an unsigned .app
630,969
19.07.2021 14:57:20
-7,200
1dfbba76d066e8b757362a308deb3933a8515f32
make_osx: disable set -e during test of signing identity
[ { "change_type": "MODIFY", "old_path": "contrib/osx/make_osx", "new_path": "contrib/osx/make_osx", "diff": "@@ -32,8 +32,10 @@ which xcodebuild > /dev/null 2>&1 || fail \"Please install xcode command line too\nif [ -n \"$CODESIGN_CERT\" ]; then\n# Test the identity is valid for signing by doing this...
Python
MIT License
spesmilo/electrum
make_osx: disable set -e during test of signing identity
630,870
19.07.2021 16:13:27
-7,200
9c2807cbb183ff9a51f23d0764b306a3fcb69790
mac build: README: clarify note about reproducibility of unsigned dmg
[ { "change_type": "MODIFY", "old_path": "contrib/osx/README.md", "new_path": "contrib/osx/README.md", "diff": "@@ -89,5 +89,8 @@ repository.\n```\n$ ./contrib/osx/compare_dmg dist/electrum-*.dmg electrum_dmg_official_release.dmg\n```\n- The `compare_dmg` is only needed as the official release binary ...
Python
MIT License
spesmilo/electrum
mac build: README: clarify note about reproducibility of unsigned dmg
630,870
19.07.2021 17:08:02
-7,200
c1d28bcf537ad3a1d86d19c66f5a22fb414e95a3
mac build: compare_dmg: "diff" should handle missing directory (as in, non-existent path)
[ { "change_type": "MODIFY", "old_path": "contrib/osx/compare_dmg", "new_path": "contrib/osx/compare_dmg", "diff": "@@ -47,7 +47,7 @@ QUIET=\"1\" \"$CONTRIB_OSX/apply_sigs.sh\" \"$DMG_UNSIGNED_UNPACKED\"/Electrum.app mac\nrm mac_extracted_sigs.tar.gz\n-diff=$(diff -qr \"$WORKSPACE/signed_app\" \"$DMG_...
Python
MIT License
spesmilo/electrum
mac build: compare_dmg: "diff" should handle missing directory (as in, non-existent path)
630,870
19.07.2021 17:22:55
-7,200
9f82dc07f298d0a01c6a7ad0715136b65912c034
release.sh: dmg is now reproducible as well
[ { "change_type": "MODIFY", "old_path": "contrib/release.sh", "new_path": "contrib/release.sh", "diff": "#\n# This script, for the RELEASEMANAGER:\n# - builds and uploads all binaries,\n-# - note: the .dmg should be built separately beforehand and copied into dist/\n-# (as it is built on a separate m...
Python
MIT License
spesmilo/electrum
release.sh: dmg is now reproducible as well
630,969
19.07.2021 21:27:04
-7,200
f414562602b4cfbf1495706be229f92a1d5d2154
contrib/upload: minor fixes
[ { "change_type": "MODIFY", "old_path": "contrib/upload", "new_path": "contrib/upload", "diff": "@@ -19,7 +19,7 @@ version=`git describe --tags --abbrev=0`\necho $version\nif [ -z \"$ELECBUILD_UPLOADFROM\" ]; then\n- cd \"$PROJECT_ROOT/../dist\"\n+ cd \"$PROJECT_ROOT/dist\"\nelse\ncd \"$ELECBUILD_UPL...
Python
MIT License
spesmilo/electrum
contrib/upload: minor fixes
630,870
19.07.2021 21:46:17
-7,200
8e71361d29f6461a715f3358c7a01912cf3aa7f3
mac build: README: mention Xcode path intricacies
[ { "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
mac build: README: mention Xcode path intricacies
630,870
19.07.2021 21:48:47
-7,200
d35a68d2d1b2220f25f63d7b1298b419ea76d318
release.sh: fix bugs discovered during last release
[ { "change_type": "MODIFY", "old_path": "contrib/osx/compare_dmg", "new_path": "contrib/osx/compare_dmg", "diff": "@@ -46,6 +46,7 @@ echo \"Applying extracted signatures to unsigned app...\"\nQUIET=\"1\" \"$CONTRIB_OSX/apply_sigs.sh\" \"$DMG_UNSIGNED_UNPACKED\"/Electrum.app mac_extracted_sigs.tar.gz\...
Python
MIT License
spesmilo/electrum
release.sh: fix bugs discovered during last release
630,870
20.07.2021 16:54:40
-7,200
173225ae92e1fa1a1926d485f3d61f3c498fab9b
qt custom block explorer: fix handling non-str config values fixes The config key can have non-str values (see line 367).
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/settings_dialog.py", "new_path": "electrum/gui/qt/settings_dialog.py", "diff": "@@ -345,7 +345,7 @@ class SettingsDialog(WindowModalDialog):\nmsg = _('Choose which online block explorer to use for functions that open a web browser')\nblock_ex_l...
Python
MIT License
spesmilo/electrum
qt custom block explorer: fix handling non-str config values fixes https://github.com/spesmilo/electrum/issues/7421 The config key can have non-str values (see line 367).
630,870
20.07.2021 20:31:48
-7,200
46badd128e642d5f5ee3e91d8c70263eb53dbb32
util.format_satoshis: fix whitespaces param for non-zero precision
[ { "change_type": "MODIFY", "old_path": "electrum/tests/test_util.py", "new_path": "electrum/tests/test_util.py", "diff": "@@ -52,16 +52,16 @@ class TestUtil(ElectrumTestCase):\nformat_fee_satoshis(1666/1000, precision=1))\ndef test_format_satoshis_whitespaces(self):\n- self.assertEqual(\" 0.0001234 ...
Python
MIT License
spesmilo/electrum
util.format_satoshis: fix whitespaces param for non-zero precision
630,870
20.07.2021 20:35:44
-7,200
5891e039b1db74c0eed14fbf9b9f4e61d9f3546c
config: add option to display amounts with msat precision
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/settings_dialog.py", "new_path": "electrum/gui/qt/settings_dialog.py", "diff": "@@ -98,8 +98,7 @@ class SettingsDialog(WindowModalDialog):\nif self.config.num_zeros != value:\nself.config.num_zeros = value\nself.config.set_key('num_zeros', valu...
Python
MIT License
spesmilo/electrum
config: add option to display amounts with msat precision
630,870
21.07.2021 18:35:06
-7,200
18c9a1af10c0f8d3df4457db90c503a681ae037b
kivy: format_amount: minor clean-up
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/main_window.py", "new_path": "electrum/gui/kivy/main_window.py", "diff": "@@ -24,6 +24,7 @@ from electrum import blockchain\nfrom electrum.network import Network, TxBroadcastError, BestEffortRequestFailed\nfrom electrum.interface import PREFE...
Python
MIT License
spesmilo/electrum
kivy: format_amount: minor clean-up
630,870
21.07.2021 20:34:05
-7,200
2881d1e62c8894205d27f565fb3808ec27889eb8
kivy: fix: when changing units or ccy, history list was not updated When changing e.g. from mBTC to BTC, the history list was only partially updated: the displayed amounts got updated but the displayed unit did not, so incorrect information was shown.
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/screens.py", "new_path": "electrum/gui/kivy/uix/screens.py", "diff": "@@ -113,7 +113,6 @@ class HistoryScreen(CScreen):\ntimestamp = tx_item['timestamp']\nkey = tx_item.get('txid') or tx_item['payment_hash']\nif is_lightning:\n- status = ...
Python
MIT License
spesmilo/electrum
kivy: fix: when changing units or ccy, history list was not updated When changing e.g. from mBTC to BTC, the history list was only partially updated: the displayed amounts got updated but the displayed unit did not, so incorrect information was shown.
630,945
22.07.2021 23:41:32
-19,080
a8ecc68833b6a64bac614a61736f621dc55aeb7b
Added BTC and Fiat amount on the confirmation screen for Lightning Invoice Added BTC and Fiat amount(as enabled by the user) on the confirmation screen for a Lightning Invoice in the Kivy GUI closes
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/main_window.py", "new_path": "electrum/gui/kivy/main_window.py", "diff": "@@ -973,6 +973,13 @@ class ElectrumWindow(App, Logger):\n# via self.get_amount()... the need for converting back should be removed\nreturn format_satoshis_plain(x, deci...
Python
MIT License
spesmilo/electrum
Added BTC and Fiat amount on the confirmation screen for Lightning Invoice (#7425) Added BTC and Fiat amount(as enabled by the user) on the confirmation screen for a Lightning Invoice in the Kivy GUI closes https://github.com/spesmilo/electrum/issues/7410
630,969
23.07.2021 19:13:25
-7,200
07219cc4c6435011afacda546f652cea91d98cd4
make_downloads: generate signature lists
[ { "change_type": "MODIFY", "old_path": "contrib/make_download", "new_path": "contrib/make_download", "diff": "@@ -14,6 +14,10 @@ APK_VERSION = version_module.APK_VERSION\nprint(\"version\", ELECTRUM_VERSION)\ndirname = sys.argv[1]\n+\n+# GPG names of extra signers\n+extra_signers = sys.argv[2:]\n+\n...
Python
MIT License
spesmilo/electrum
make_downloads: generate signature lists
630,896
23.07.2021 13:12:20
-7,200
e6ccbcf7b7051cf67a6db3a2f4526a03fa817649
lnrouter: fix self-payments
[ { "change_type": "MODIFY", "old_path": "electrum/channel_db.py", "new_path": "electrum/channel_db.py", "diff": "@@ -826,7 +826,7 @@ class ChannelDB(SqlDB):\n*,\nmy_channels: Dict[ShortChannelID, 'Channel'] = None,\nprivate_route_edges: Dict[ShortChannelID, 'RouteEdge'] = None,\n- ) -> Set[bytes]:\n+...
Python
MIT License
spesmilo/electrum
lnrouter: fix self-payments
630,991
28.07.2021 18:44:30
-19,080
6a431aab8cf55dec7b7807582a8bb6449f488e89
Fixed issue with thousands separator for better readability util.format_satoshis: introduce new option to add thousands separators
[ { "change_type": "MODIFY", "old_path": "electrum/simple_config.py", "new_path": "electrum/simple_config.py", "diff": "@@ -659,7 +659,7 @@ class SimpleConfig(Logger):\nexcept:\npass\n- def format_amount(self, x, is_diff=False, whitespaces=False):\n+ def format_amount(self, x, is_diff=False, whitespac...
Python
MIT License
spesmilo/electrum
Fixed issue with thousands separator for better readability (#7427) util.format_satoshis: introduce new option to add thousands separators
630,870
28.07.2021 14:51:22
-7,200
9f5370f9c622c89894daedf3af87272f51823495
util.format_satoshis: fix (add_thousands_sep & whitespaces) param combo
[ { "change_type": "MODIFY", "old_path": "electrum/tests/test_util.py", "new_path": "electrum/tests/test_util.py", "diff": "@@ -74,10 +74,21 @@ class TestUtil(ElectrumTestCase):\ndef test_format_satoshis_add_thousands_sep(self):\nself.assertEqual(\"178 890 000.\", format_satoshis(Decimal(178890000), d...
Python
MIT License
spesmilo/electrum
util.format_satoshis: fix (add_thousands_sep & whitespaces) param combo
630,870
28.07.2021 15:18:15
-7,200
e7ccf1584ea4ff07f9de2c699e6a360023d058bb
config: make adding thousand separators to amounts optional
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/settings_dialog.py", "new_path": "electrum/gui/qt/settings_dialog.py", "diff": "@@ -225,6 +225,17 @@ class SettingsDialog(WindowModalDialog):\nunit_combo.currentIndexChanged.connect(lambda x: on_unit(x, nz))\ngui_widgets.append((unit_label, uni...
Python
MIT License
spesmilo/electrum
config: make adding thousand separators to amounts optional
630,870
28.07.2021 15:21:12
-7,200
419d71b4ef4c5892ed62e8f37c0832aa6ea5bf92
(trivial) qt settings: fix a type hint (no change in behaviour)
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/settings_dialog.py", "new_path": "electrum/gui/qt/settings_dialog.py", "diff": "@@ -192,8 +192,8 @@ class SettingsDialog(WindowModalDialog):\nmsat_cb = QCheckBox(_(\"Show amounts with msat precision\"))\nmsat_cb.setChecked(bool(self.config.get(...
Python
MIT License
spesmilo/electrum
(trivial) qt settings: fix a type hint (no change in behaviour)