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
17.02.2022 16:51:13
-3,600
bb5b52f2d7bd3a0a4231a942b78d1686dde68e9d
binaries: bump python 3.9.7->3.9.10
[ { "change_type": "MODIFY", "old_path": "contrib/build-linux/appimage/make_appimage.sh", "new_path": "contrib/build-linux/appimage/make_appimage.sh", "diff": "@@ -14,7 +14,7 @@ PIP_CACHE_DIR=\"$CACHEDIR/pip_cache\"\nexport GCC_STRIP_BINARIES=\"1\"\n# pinned versions\n-PYTHON_VERSION=3.9.7\n+PYTHON_VE...
Python
MIT License
spesmilo/electrum
binaries: bump python 3.9.7->3.9.10
630,885
15.02.2022 19:51:20
-3,600
c3506911c07f1cb9a7a34fe69bd1e2a80d9e0047
Add support for cli --version command
[ { "change_type": "MODIFY", "old_path": "electrum/commands.py", "new_path": "electrum/commands.py", "diff": "@@ -1380,7 +1380,7 @@ def set_default_subparser(self, name, args=None):\n\"\"\"see http://stackoverflow.com/questions/5176691/argparse-how-to-specify-a-default-subcommand\"\"\"\nsubparser_foun...
Python
MIT License
spesmilo/electrum
Add support for cli --version command
630,896
24.11.2021 11:28:19
-3,600
8ed0f58277deb794fe5957cbc5ad4e380c0cb287
trampoline: add electrum testnet node
[ { "change_type": "MODIFY", "old_path": "electrum/trampoline.py", "new_path": "electrum/trampoline.py", "diff": "@@ -63,6 +63,7 @@ TRAMPOLINE_NODES_MAINNET = {\nTRAMPOLINE_NODES_TESTNET = {\n'endurance': LNPeerAddr(host='34.250.234.192', port=9735, pubkey=bytes.fromhex('03933884aaf1d6b108397e5efe5c86...
Python
MIT License
spesmilo/electrum
trampoline: add electrum testnet node
630,896
10.01.2022 15:45:29
-3,600
a4f5cfc91a8904c8fb9c2c60fc06a1cd1b6f5227
trampoline: refactor routes, enable e2e mpp * Refactor `create_trampoline_route`. * Enables end-to-end multi-trampoline multipart payments. Trampoline-to-legacy payments are still not enabled, as this is currently not supported by Eclair. * Reverts to a global trampoline fee level, as trampoline failures are currently ...
[ { "change_type": "MODIFY", "old_path": "electrum/lnpeer.py", "new_path": "electrum/lnpeer.py", "diff": "@@ -1461,6 +1461,7 @@ class Peer(Logger):\ninvoice_features = payload[\"invoice_features\"][\"invoice_features\"]\ninvoice_routing_info = payload[\"invoice_routing_info\"][\"invoice_routing_info\"...
Python
MIT License
spesmilo/electrum
trampoline: refactor routes, enable e2e mpp * Refactor `create_trampoline_route`. * Enables end-to-end multi-trampoline multipart payments. Trampoline-to-legacy payments are still not enabled, as this is currently not supported by Eclair. * Reverts to a global trampoline fee level, as trampoline failures are cur...
630,870
18.02.2022 15:43:16
-3,600
75af5b154285012caab477d69f097c00f16441d1
lnchannel.set_state: add "force" option for debugging use
[ { "change_type": "MODIFY", "old_path": "electrum/lnchannel.py", "new_path": "electrum/lnchannel.py", "diff": "@@ -172,10 +172,12 @@ class AbstractChannel(Logger, ABC):\ndef short_id_for_GUI(self) -> str:\nreturn format_short_channel_id(self.short_channel_id)\n- def set_state(self, state: ChannelStat...
Python
MIT License
spesmilo/electrum
lnchannel.set_state: add "force" option for debugging use
630,870
18.02.2022 16:37:46
-3,600
88121d79249c80b40a033ce399837644c1a59a6e
kivy ln invoice: handle missing 'd' tag fixes
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/screens.py", "new_path": "electrum/gui/kivy/uix/screens.py", "diff": "@@ -201,7 +201,7 @@ class SendScreen(CScreen, Logger):\nself.app.show_info(_(\"Invoice is not a valid Lightning invoice: \") + repr(e)) # repr because str(Exception()) ...
Python
MIT License
spesmilo/electrum
kivy ln invoice: handle missing 'd' tag fixes https://github.com/spesmilo/electrum/issues/6262
630,870
18.02.2022 18:08:38
-3,600
11a04c0d72e92089a0ae1443b8ac2ed37b4b9b19
qt: allow changing light/dark theme at runtime Looks like the stylesheet can be changed at any time... so we don't need to ask the user to restart the program. closes
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/__init__.py", "new_path": "electrum/gui/qt/__init__.py", "diff": "@@ -133,7 +133,10 @@ class ElectrumGui(BaseElectrumGui, Logger):\nself._init_tray()\nself.app.new_window_signal.connect(self.start_new_window)\nself.app.quit_signal.connect(self....
Python
MIT License
spesmilo/electrum
qt: allow changing light/dark theme at runtime Looks like the stylesheet can be changed at any time... so we don't need to ask the user to restart the program. closes https://github.com/spesmilo/electrum/issues/7209
630,870
18.02.2022 21:54:31
-3,600
31b36734610d868e1c8e1592bbde76f2e2c4d226
qt: follow-up changing light/dark theme at runtime follow-up
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/util.py", "new_path": "electrum/gui/qt/util.py", "diff": "@@ -963,8 +963,7 @@ class ColorScheme:\n@staticmethod\ndef update_from_widget(widget, force_dark=False):\n- if force_dark or ColorScheme.has_dark_background(widget):\n- ColorScheme.dark_...
Python
MIT License
spesmilo/electrum
qt: follow-up changing light/dark theme at runtime follow-up 11a04c0d72e92089a0ae1443b8ac2ed37b4b9b19
630,870
18.02.2022 22:17:44
-3,600
7a47eb990683eea706cb9e52eefd8231afc8e38f
qt: again disable changing light/dark theme at runtime partially reverts related
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/__init__.py", "new_path": "electrum/gui/qt/__init__.py", "diff": "@@ -147,6 +147,15 @@ class ElectrumGui(BaseElectrumGui, Logger):\nself.tray.show()\ndef reload_app_stylesheet(self):\n+ \"\"\"Set the Qt stylesheet and custom colors according to...
Python
MIT License
spesmilo/electrum
qt: again disable changing light/dark theme at runtime partially reverts 11a04c0d72e92089a0ae1443b8ac2ed37b4b9b19 related https://github.com/spesmilo/electrum/issues/7209
630,969
18.02.2022 18:52:02
-3,600
b2f84187bc1e45f7274d82dd058b160ff1df5a0d
Split code in reestablish_channel: Messages are sent in reestablish_channel (async) Message checks and force_close are performed in on_channel_reestablish (not async). That task should not be cancelled if the connection is closed. Revert
[ { "change_type": "MODIFY", "old_path": "electrum/lnpeer.py", "new_path": "electrum/lnpeer.py", "diff": "@@ -65,7 +65,7 @@ class Peer(Logger):\nLOGGING_SHORTCUT = 'P'\nORDERED_MESSAGES = (\n- 'accept_channel', 'funding_signed', 'funding_created', 'accept_channel', 'channel_reestablish', 'closing_sign...
Python
MIT License
spesmilo/electrum
Split code in reestablish_channel: Messages are sent in reestablish_channel (async) Message checks and force_close are performed in on_channel_reestablish (not async). That task should not be cancelled if the connection is closed. Revert 57583c05cf0a4e083801e375421ded77f44e113f
630,969
19.02.2022 10:54:14
-3,600
cf61b1ed8945f3d8da51433f07c37099610d72b0
move comment (minor, follow-up prev commit)
[ { "change_type": "MODIFY", "old_path": "electrum/lnpeer.py", "new_path": "electrum/lnpeer.py", "diff": "@@ -949,6 +949,10 @@ class Peer(Logger):\n# compare local ctns\nif oldest_unrevoked_local_ctn != their_oldest_unrevoked_remote_ctn:\nif oldest_unrevoked_local_ctn - 1 == their_oldest_unrevoked_rem...
Python
MIT License
spesmilo/electrum
move comment (minor, follow-up prev commit)
630,969
19.02.2022 13:44:58
-3,600
395911b08651639593c9f90a3401f0c19b6d23a7
follow-up previous: set exception to be raised after we have sent channel_reestablish
[ { "change_type": "MODIFY", "old_path": "electrum/lnpeer.py", "new_path": "electrum/lnpeer.py", "diff": "@@ -103,7 +103,7 @@ class Peer(Logger):\nself.funding_signed_sent = set() # for channels in PREOPENING\nself.shutdown_received = {} # chan_id -> asyncio.Future()\nself.announcement_signatures = de...
Python
MIT License
spesmilo/electrum
follow-up previous: set exception to be raised after we have sent channel_reestablish
630,969
16.02.2022 16:27:37
-3,600
4ebe41b3a708182c601b8f438476fb51e52808f3
Trampoline MPP: save fee level in sent_htlcs_info. If multiple HTLCs fail at the same fee level with TRAMPOLINE_INSUFFICIENT_FEE, bump trampoline_fee_level only once.
[ { "change_type": "MODIFY", "old_path": "electrum/lnutil.py", "new_path": "electrum/lnutil.py", "diff": "@@ -323,6 +323,7 @@ class HtlcLog(NamedTuple):\nerror_bytes: Optional[bytes] = None\nfailure_msg: Optional['OnionRoutingFailure'] = None\nsender_idx: Optional[int] = None\n+ trampoline_fee_level: ...
Python
MIT License
spesmilo/electrum
Trampoline MPP: save fee level in sent_htlcs_info. If multiple HTLCs fail at the same fee level with TRAMPOLINE_INSUFFICIENT_FEE, bump trampoline_fee_level only once.
630,870
21.02.2022 18:09:45
-3,600
556b98736e78eb04bc68fd44e701e3fa174023a9
lnworker.try_force_closing: changed to not be async (and renamed) This is to ensure that the channel is "immediately" set to FORCE_CLOSING. (previously it took at least one event loop iteration)
[ { "change_type": "MODIFY", "old_path": "electrum/lnpeer.py", "new_path": "electrum/lnpeer.py", "diff": "@@ -1052,7 +1052,7 @@ class Peer(Logger):\nfut.set_exception(RemoteMisbehaving(\"remote ahead of us\"))\nelif we_are_ahead:\nself.logger.warning(f\"channel_reestablish ({chan.get_id_for_log()}): w...
Python
MIT License
spesmilo/electrum
lnworker.try_force_closing: changed to not be async (and renamed) This is to ensure that the channel is "immediately" set to FORCE_CLOSING. (previously it took at least one event loop iteration)
630,870
22.02.2022 15:13:42
-3,600
2acecc5859e2d3cf44493e82ed99343deb8f4398
interface: speed up handle_disconnect via shorter flush-buffer-timeout Note in particular that _RSClient.__aexit__ calls session.close() so a lot of time can pass between interface.taskgroup raising and handle_disconnect seeing the exception. related
[ { "change_type": "MODIFY", "old_path": "electrum/interface.py", "new_path": "electrum/interface.py", "diff": "@@ -220,6 +220,19 @@ class NotificationSession(RPCSession):\nMAX_INCOMING_MSG_SIZE))\nreturn NewlineFramer(max_size=max_size)\n+ async def close(self, *, force_after: int = None):\n+ \"\"\"C...
Python
MIT License
spesmilo/electrum
interface: speed up handle_disconnect via shorter flush-buffer-timeout Note in particular that _RSClient.__aexit__ calls session.close() so a lot of time can pass between interface.taskgroup raising and handle_disconnect seeing the exception. related https://github.com/spesmilo/electrum/issues/7677
630,870
22.02.2022 15:22:08
-3,600
f4cfc6c7c332c987957914afb6e6b9000f841e6a
interface: set got_disconnected earlier related: related: prev commit
[ { "change_type": "MODIFY", "old_path": "electrum/interface.py", "new_path": "electrum/interface.py", "diff": "@@ -502,7 +502,7 @@ class Interface(Logger):\nself.logger.warning(f\"disconnecting due to {repr(e)}\")\nself.logger.debug(f\"(disconnect) trace for {repr(e)}\", exc_info=True)\nfinally:\n- s...
Python
MIT License
spesmilo/electrum
interface: set got_disconnected earlier related: https://github.com/spesmilo/electrum/issues/7677 related: prev commit
630,870
22.02.2022 17:14:23
-3,600
5e2cee6a31660ca9b89ae495cc731feeeed8df21
build appimage: rm importlib-metadata workaround The importlib-metadata pkg is no longer needed apparently (since we bumped the min python to 3.8).
[ { "change_type": "MODIFY", "old_path": "contrib/build-linux/appimage/make_appimage.sh", "new_path": "contrib/build-linux/appimage/make_appimage.sh", "diff": "@@ -215,12 +215,10 @@ rm -rf \"$PYDIR\"/site-packages/PyQt5/Qt.so\n# these are deleted as they were not deterministic; and are not needed anyw...
Python
MIT License
spesmilo/electrum
build appimage: rm importlib-metadata workaround The importlib-metadata pkg is no longer needed apparently (since we bumped the min python to 3.8).
630,870
22.02.2022 19:20:03
-3,600
376fc01b27191d2d00196e881ed8b9c9ab207932
keystore.sign_message: add optional script_type argument this is used by trezor (and fixes
[ { "change_type": "MODIFY", "old_path": "electrum/ecc.py", "new_path": "electrum/ecc.py", "diff": "@@ -499,7 +499,12 @@ class ECPrivkey(ECPubkey):\ndef sign_transaction(self, hashed_preimage: bytes) -> bytes:\nreturn self.sign(hashed_preimage, sigencode=der_sig_from_r_and_s)\n- def sign_message(self,...
Python
MIT License
spesmilo/electrum
keystore.sign_message: add optional script_type argument this is used by trezor (and also by bitbox02, which was using a workaround previously) fixes https://github.com/spesmilo/electrum/issues/7670
630,870
23.02.2022 17:49:26
-3,600
e8b53d0240c166bdd7f175c2d4f27a9813f30d36
android build: set SOURCE_DATE_EPOCH to cur time for debug builds Otherwise One would have to git commit every change to be tested on a phone.
[ { "change_type": "MODIFY", "old_path": "contrib/android/Makefile", "new_path": "contrib/android/Makefile", "diff": "@@ -4,7 +4,17 @@ PYTHON = python3\n# for reproducible builds\nexport LC_ALL := C\nexport TZ := UTC\n+ifndef ELEC_APK_USE_CURRENT_TIME\nexport SOURCE_DATE_EPOCH := $(shell git log -1 --...
Python
MIT License
spesmilo/electrum
android build: set SOURCE_DATE_EPOCH to cur time for debug builds Otherwise One would have to git commit every change to be tested on a phone.
630,870
23.02.2022 18:37:21
-3,600
7d74fd0201bd6b89013867de250c3e5867824fe2
interface: add comment about monitor_connection
[ { "change_type": "MODIFY", "old_path": "electrum/interface.py", "new_path": "electrum/interface.py", "diff": "@@ -681,6 +681,15 @@ class Interface(Logger):\nasync def monitor_connection(self):\nwhile True:\nawait asyncio.sleep(1)\n+ # If the session/transport is no longer open, we disconnect.\n+ # e...
Python
MIT License
spesmilo/electrum
interface: add comment about monitor_connection
630,893
28.02.2022 14:16:43
-3,600
bbb96b6e25220b7030c0136e3c3be53976e0601d
fix get_balance method
[ { "change_type": "MODIFY", "old_path": "electrum/interface.py", "new_path": "electrum/interface.py", "diff": "@@ -1019,8 +1019,8 @@ class Interface(Logger):\n# check response\nassert_dict_contains_field(res, field_name='confirmed')\nassert_dict_contains_field(res, field_name='unconfirmed')\n- assert...
Python
MIT License
spesmilo/electrum
fix get_balance method
630,893
02.03.2022 12:42:49
-3,600
f42ae3f01cf5ad11ab21d3610a0e5f50a2fe9f08
fix rpcsock some heuristics re default rpcsock type: if tcp-related other config keys are set, use tcp closes
[ { "change_type": "MODIFY", "old_path": "electrum/daemon.py", "new_path": "electrum/daemon.py", "diff": "@@ -65,7 +65,9 @@ class DaemonNotRunning(Exception):\ndef get_rpcsock_defaultpath(config: SimpleConfig):\nreturn os.path.join(config.path, 'daemon_rpc_socket')\n-def get_rpcsock_default_type():\n+...
Python
MIT License
spesmilo/electrum
fix rpcsock (#7691) some heuristics re default rpcsock type: if tcp-related other config keys are set, use tcp closes https://github.com/spesmilo/electrum/issues/7686
630,983
02.03.2022 13:59:51
-3,600
7e083824b7c5703d0e7687d678f5a643f95f0263
Add support for Ledger Nano S Plus
[ { "change_type": "MODIFY", "old_path": "electrum/plugins/ledger/ledger.py", "new_path": "electrum/plugins/ledger/ledger.py", "diff": "@@ -588,7 +588,7 @@ class LedgerPlugin(HW_PluginBase):\n(0x2c97, 0x0000), # Blue\n(0x2c97, 0x0001), # Nano-S\n(0x2c97, 0x0004), # Nano-X\n- (0x2c97, 0x0005), # RFU\n+...
Python
MIT License
spesmilo/electrum
Add support for Ledger Nano S Plus (#7692)
630,870
03.03.2022 19:22:52
-3,600
cdfc75ff2b848353ff6565284eee06ed06bdbe0e
appimage: update package (libc) in dockerfile Ubuntu no longer serves old version
[ { "change_type": "MODIFY", "old_path": "contrib/build-linux/appimage/Dockerfile", "new_path": "contrib/build-linux/appimage/Dockerfile", "diff": "@@ -49,9 +49,9 @@ RUN apt-get update -q && \\\nlibxcb-util1=0.4.0-0ubuntu3 \\\nlibxcb-render-util0=0.3.9-1 \\\nlibx11-xcb1=2:1.6.4-3ubuntu0.4 \\\n- libc6-...
Python
MIT License
spesmilo/electrum
appimage: update package (libc) in dockerfile Ubuntu no longer serves old version
630,870
03.03.2022 18:55:35
-3,600
b726fe85e1b9ea3254d9c974fd575ee0c79b529d
contrib: add docker_notes.md
[ { "change_type": "MODIFY", "old_path": "contrib/android/Readme.md", "new_path": "contrib/android/Readme.md", "diff": "@@ -13,12 +13,7 @@ similar system.\n1. Install Docker\n- ```\n- $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -\n- $ sudo add-apt-repository \"deb [arc...
Python
MIT License
spesmilo/electrum
contrib: add docker_notes.md
630,893
04.03.2022 13:25:56
-3,600
fcf54432f710ed178e6ed15a47292c008e1ff419
network: make request timeout configurable
[ { "change_type": "MODIFY", "old_path": "electrum/network.py", "new_path": "electrum/network.py", "diff": "@@ -759,6 +759,8 @@ class Network(Logger, NetworkRetryManager[ServerAddr]):\nutil.trigger_callback('network_updated')\ndef get_network_timeout_seconds(self, request_type=NetworkTimeout.Generic) ...
Python
MIT License
spesmilo/electrum
network: make request timeout configurable (#7696)
630,896
26.11.2021 09:45:06
-3,600
ec740d45f1c4dc52e8e0018dbc47e9ea04069e34
lnpeer: modern fee negotiation Updates the closing fee negotiation to comply with most recent spec changes, see The closing negotiation is backwards compatible with the old negotiation.
[ { "change_type": "MODIFY", "old_path": "electrum/lnpeer.py", "new_path": "electrum/lnpeer.py", "diff": "@@ -51,6 +51,7 @@ from .lnrouter import fee_for_edge_msat\nfrom .lnutil import ln_dummy_address\nfrom .json_db import StoredDict\nfrom .invoices import PR_PAID\n+from .simple_config import FEE_LN_...
Python
MIT License
spesmilo/electrum
lnpeer: modern fee negotiation Updates the closing fee negotiation to comply with most recent spec changes, see https://github.com/lightning/bolts/pull/847 The closing negotiation is backwards compatible with the old negotiation.
630,969
22.02.2022 18:25:24
-3,600
0b203f0b94e9396d57b17b10a3ff53b65ef5db5f
lnpeer: refactor fee negotiation in _shutdown - the fee negotiation is split into smaller functions, reducing the scope of variables. - the while loop logic is condensed in a few lines, so it is easier to understand termination conditions. - removed code that was never executed
[ { "change_type": "MODIFY", "old_path": "electrum/lnpeer.py", "new_path": "electrum/lnpeer.py", "diff": "@@ -1850,17 +1850,22 @@ class Peer(Logger):\nmax_fee = chan.get_latest_fee(LOCAL if is_local else REMOTE)\nour_fee = min(our_fee, max_fee)\n- drop_to_remote = False # does the peer drop its to_loc...
Python
MIT License
spesmilo/electrum
lnpeer: refactor fee negotiation in _shutdown - the fee negotiation is split into smaller functions, reducing the scope of variables. - the while loop logic is condensed in a few lines, so it is easier to understand termination conditions. - removed code that was never executed
630,969
08.03.2022 11:34:57
-3,600
6667a79f10d9bd1edcb86fdab1a54e9913b2ccb2
modern shutdown: - clarify TODOs - add tests for shutdown with modern negotiation
[ { "change_type": "MODIFY", "old_path": "electrum/lnpeer.py", "new_path": "electrum/lnpeer.py", "diff": "@@ -1825,6 +1825,31 @@ class Peer(Logger):\n# can fullfill or fail htlcs. cannot add htlcs, because state != OPEN\nchan.set_can_send_ctx_updates(True)\n+ def get_shutdown_fee_range(self, chan, clo...
Python
MIT License
spesmilo/electrum
modern shutdown: - clarify TODOs - add tests for shutdown with modern negotiation
630,969
05.03.2022 09:07:45
-3,600
d91a4da55776b4d4e04b9e7f814220b252946a6c
Add Qt5/QML building framework to contrib/android: - update requirements file for building PyQt5 - use separate .buildozer directories for qml and Kivy - add GUI and ARCH parameters to android/build.sh
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -12,6 +12,8 @@ electrum/locale/\npackages\nenv/\n.buildozer/\n+.buildozer_kivy/\n+.buildozer_qml/\nbin/\n/app.fil\n.idea\n" }, { "change_type": "MODIFY", "old_path": "contrib/android/Dockerfile", ...
Python
MIT License
spesmilo/electrum
Add Qt5/QML building framework to contrib/android: - update requirements file for building PyQt5 - use separate .buildozer directories for qml and Kivy - add GUI and ARCH parameters to android/build.sh
630,896
26.01.2022 16:52:38
-3,600
e2b1f6c6d5f43b5815834672c28666039724435a
lnutil: exceptions for LN protocol errors/warnings The exceptions are meant to be raised in places where the BOLTs require the sending of warning or error messages. They are necessary to handle protocol failures occuring helper functions that check constraints.
[ { "change_type": "MODIFY", "old_path": "electrum/lnutil.py", "new_path": "electrum/lnutil.py", "diff": "@@ -362,6 +362,16 @@ class NoPathFound(PaymentFailure):\ndef __str__(self):\nreturn _('No path found')\n+\n+class LNProtocolError(Exception):\n+ \"\"\"Raised in peer methods to trigger an error me...
Python
MIT License
spesmilo/electrum
lnutil: exceptions for LN protocol errors/warnings The exceptions are meant to be raised in places where the BOLTs require the sending of warning or error messages. They are necessary to handle protocol failures occuring helper functions that check constraints.
630,896
26.01.2022 16:59:10
-3,600
39150450674aad87e3b31821792285356c93e075
lnpeer: warnings for shutdown and open_channel
[ { "change_type": "MODIFY", "old_path": "electrum/lnchannel.py", "new_path": "electrum/lnchannel.py", "diff": "@@ -53,7 +53,7 @@ from .lnutil import (Outpoint, LocalConfig, RemoteConfig, Keypair, OnlyPubkeyKey\nShortChannelID, map_htlcs_to_ctx_output_idxs, LNPeerAddr,\nfee_for_htlc_output, offered_ht...
Python
MIT License
spesmilo/electrum
lnpeer: warnings for shutdown and open_channel
630,969
09.03.2022 13:40:39
-3,600
47917d9e6cee0c5e46f0e89971cb310b8c6dc29e
lnpeer: factorize on_warning/on_error code
[ { "change_type": "MODIFY", "old_path": "electrum/lnpeer.py", "new_path": "electrum/lnpeer.py", "diff": "@@ -224,44 +224,35 @@ class Peer(Logger):\nif asyncio.iscoroutinefunction(f):\nasyncio.ensure_future(self.taskgroup.spawn(execution_result))\n+ def _get_channel_ids(self, channel_id):\n+ # if chan...
Python
MIT License
spesmilo/electrum
lnpeer: factorize on_warning/on_error code
630,969
09.03.2022 13:47:53
-3,600
61eebb2b7706709fb4f16ba3289f260edc62ab94
lnpeer: no need to raise GracefulDisconnect twice
[ { "change_type": "MODIFY", "old_path": "electrum/lnpeer.py", "new_path": "electrum/lnpeer.py", "diff": "@@ -314,12 +314,11 @@ class Peer(Logger):\npass\nasync def wait_for_message(self, expected_name, channel_id):\n+ # errors and warnings are sent to the queue with name set to None, so that this tas...
Python
MIT License
spesmilo/electrum
lnpeer: no need to raise GracefulDisconnect twice
630,969
09.03.2022 15:46:42
-3,600
da16b111599e202e901bb500ada2555817052204
minor: simplification
[ { "change_type": "MODIFY", "old_path": "electrum/lnpeer.py", "new_path": "electrum/lnpeer.py", "diff": "@@ -298,11 +298,7 @@ class Peer(Logger):\n# MUST fail the channel(s) referred to by the error message:\n# we may violate this with force_close_channel\nif force_close_channel:\n- # channel_id of z...
Python
MIT License
spesmilo/electrum
minor: simplification
630,969
09.03.2022 15:52:46
-3,600
00902a40d789a59f0ce2f25a1e4aff6736650894
lnpeer: favor schedule_force_closing wrapper
[ { "change_type": "MODIFY", "old_path": "electrum/lnpeer.py", "new_path": "electrum/lnpeer.py", "diff": "@@ -298,7 +298,7 @@ class Peer(Logger):\n# MUST fail the channel(s) referred to by the error message:\n# we may violate this with force_close_channel\nif force_close_channel:\n- for cid self._get_...
Python
MIT License
spesmilo/electrum
lnpeer: favor schedule_force_closing wrapper
630,969
10.03.2022 14:56:46
-3,600
a65b97d25c3e37c0e77484f1846e537f9d5be274
lnpeer: raise GracefulDisconnect in wait_for_message
[ { "change_type": "MODIFY", "old_path": "electrum/lnpeer.py", "new_path": "electrum/lnpeer.py", "diff": "@@ -314,7 +314,7 @@ class Peer(Logger):\nq = self.ordered_message_queues[channel_id]\nname, payload = await asyncio.wait_for(q.get(), LN_P2P_NETWORK_TIMEOUT)\nif name is None:\n- return\n+ raise G...
Python
MIT License
spesmilo/electrum
lnpeer: raise GracefulDisconnect in wait_for_message
630,870
11.03.2022 15:39:03
-3,600
d7c02c4f7fdfee40f8693fec7f4b6e14f36d6be3
network.switch_to_interface: catch 'task group terminated' closes see
[ { "change_type": "MODIFY", "old_path": "electrum/network.py", "new_path": "electrum/network.py", "diff": "@@ -712,7 +712,14 @@ class Network(Logger, NetworkRetryManager[ServerAddr]):\nself.logger.info(f\"switching to {server}\")\nblockchain_updated = i.blockchain != self.blockchain()\nself.interface...
Python
MIT License
spesmilo/electrum
network.switch_to_interface: catch 'task group terminated' closes https://github.com/spesmilo/electrum/issues/7677 see https://github.com/spesmilo/electrum/issues/7677#issuecomment-1065170369
630,870
11.03.2022 15:49:30
-3,600
c8dd68bd638329b86c3020740c3a83c244d70a4a
DeviceMgr.select_device: add some log lines related
[ { "change_type": "MODIFY", "old_path": "electrum/plugin.py", "new_path": "electrum/plugin.py", "diff": "@@ -648,6 +648,7 @@ class DeviceMgr(ThreadJob):\nif keystore.soft_device_id:\nfor info in infos:\nif info.soft_device_id == keystore.soft_device_id:\n+ self.logger.debug(f\"select_device. auto-sel...
Python
MIT License
spesmilo/electrum
DeviceMgr.select_device: add some log lines related https://github.com/spesmilo/electrum/issues/5759#issuecomment-1060093399
631,014
11.03.2022 14:30:44
18,000
12832a31994e8dc5d8cea2c4fcebf6627e8a0a7e
Improved COLDCARD icons PNG+SVG
[ { "change_type": "MODIFY", "old_path": "electrum/gui/icons/coldcard.png", "new_path": "electrum/gui/icons/coldcard.png", "diff": "Binary files a/electrum/gui/icons/coldcard.png and b/electrum/gui/icons/coldcard.png differ\n" }, { "change_type": "ADD", "old_path": null, "new_path": "e...
Python
MIT License
spesmilo/electrum
Improved COLDCARD icons PNG+SVG (#7709)
630,870
14.03.2022 16:45:07
-3,600
841a701acf6a6b7be07c06af0ca19a40ea1e1d89
kivy: show error when failing to save wallet file backup related:
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/main_window.py", "new_path": "electrum/gui/kivy/main_window.py", "diff": "@@ -1373,9 +1373,14 @@ class ElectrumWindow(App, Logger):\nif not grant_results or not grant_results[0]:\nself.show_error(_(\"Cannot save backup without STORAGE permiss...
Python
MIT License
spesmilo/electrum
kivy: show error when failing to save wallet file backup related: https://github.com/spesmilo/electrum/issues/6774#issuecomment-856098099
630,870
14.03.2022 16:50:10
-3,600
b1b17029f1c9376a0561cb608f8114666f8f1515
android build: bump targetSdkVersion to 30 This is the new minimum the google play store requires. note: the newer android command-line tools use a tiny bit different paths, hence the `mv "${ANDROID_SDK_HOME}/cmdline-tools" "${ANDROID_SDK_HOME}/tools"` rename see
[ { "change_type": "MODIFY", "old_path": "contrib/android/Dockerfile", "new_path": "contrib/android/Dockerfile", "diff": "@@ -42,9 +42,9 @@ RUN curl --location --progress-bar \\\nENV ANDROID_SDK_HOME=\"${ANDROID_HOME}/android-sdk\"\n# get the latest version from https://developer.android.com/studio/in...
Python
MIT License
spesmilo/electrum
android build: bump targetSdkVersion to 30 This is the new minimum the google play store requires. note: the newer android command-line tools use a tiny bit different paths, hence the `mv "${ANDROID_SDK_HOME}/cmdline-tools" "${ANDROID_SDK_HOME}/tools"` rename see https://github.com/kivy/python-for-android/issues/2540
630,870
14.03.2022 17:32:04
-3,600
338637973fc9d54fa75a1446431d8ba8d107d884
frozen deps: update bitbox02 and coldcard libs
[ { "change_type": "MODIFY", "old_path": "contrib/deterministic-build/requirements-hw.txt", "new_path": "contrib/deterministic-build/requirements-hw.txt", "diff": "base58==2.1.1 \\\n--hash=sha256:11a36f4d3ce51dfc1043f3218591ac4eb1ceb172919cebe05b52a5bcc8d245c2 \\\n--hash=sha256:c5d0cb3f5b6e81e8e35da57...
Python
MIT License
spesmilo/electrum
frozen deps: update bitbox02 and coldcard libs
630,870
14.03.2022 17:46:54
-3,600
1c297d6049000f684e571a288e3c3b91335be859
android build: add Qt/QML build-time dependencies related
[ { "change_type": "ADD", "old_path": null, "new_path": "contrib/deterministic-build/README.md", "diff": "+# Notes\n+\n+The frozen dependency lists in this folder are *generated* files.\n+\n+- Starting from `contrib/requirements/requirements*.txt`,\n+- we use the `contrib/freeze_packages.sh` script,\n...
Python
MIT License
spesmilo/electrum
android build: add Qt/QML build-time dependencies related https://github.com/spesmilo/electrum/pull/7703/files/78b51b3f4346f731fab81003bd4caf15092179e2#r826140909
630,969
15.03.2022 09:15:48
-3,600
05119b0d2c4c37b4fb119d150dabb873efc9c457
lnpeer: fix shutdown: do not broadcast dummy tx
[ { "change_type": "MODIFY", "old_path": "electrum/lnpeer.py", "new_path": "electrum/lnpeer.py", "diff": "@@ -1960,12 +1960,14 @@ class Peer(Logger):\nour_scriptpubkey = bfh(bitcoin.address_to_script(chan.sweep_address))\nassert our_scriptpubkey\n# estimate fee of closing tx\n- our_sig, closing_tx = c...
Python
MIT License
spesmilo/electrum
lnpeer: fix shutdown: do not broadcast dummy tx
630,870
15.03.2022 20:00:43
-3,600
2c5eb26ff0fcd616794ec54789d35d08833395d3
contrib/release.sh: fix some paths re android apk
[ { "change_type": "MODIFY", "old_path": "contrib/release.sh", "new_path": "contrib/release.sh", "diff": "@@ -128,8 +128,8 @@ else\n./contrib/android/build.sh kivy all release\nelse\n./contrib/android/build.sh kivy all release-unsigned\n- mv \"$apk1_unsigned\" \"$apk1\"\n- mv \"$apk2_unsigned\" \"$apk...
Python
MIT License
spesmilo/electrum
contrib/release.sh: fix some paths re android apk
630,870
16.03.2022 12:51:03
-3,600
d154e368f10bab13953c27629ac6d1d6e0f5b217
wallet: fix clear_requests and clear_invoices these are StoredDicts, subdicts in wallet_db.data, so reassigning the name does not work
[ { "change_type": "MODIFY", "old_path": "electrum/wallet.py", "new_path": "electrum/wallet.py", "diff": "@@ -795,11 +795,11 @@ class Abstract_Wallet(AddressSynchronizer, ABC):\nself.save_db()\ndef clear_invoices(self):\n- self.invoices = {}\n+ self.invoices.clear()\nself.save_db()\ndef clear_requests...
Python
MIT License
spesmilo/electrum
wallet: fix clear_requests and clear_invoices these are StoredDicts, subdicts in wallet_db.data, so reassigning the name does not work
630,870
16.03.2022 13:24:03
-3,600
dcf194952b37b303959befcaa63ff50290fe84c7
android build: update openssl
[ { "change_type": "MODIFY", "old_path": "contrib/android/p4a_recipes/openssl/__init__.py", "new_path": "contrib/android/p4a_recipes/openssl/__init__.py", "diff": "@@ -6,13 +6,13 @@ from pythonforandroid.util import load_source\nutil = load_source('util', os.path.join(os.path.dirname(os.path.dirname(_...
Python
MIT License
spesmilo/electrum
android build: update openssl
630,870
16.03.2022 15:48:09
-3,600
1a8a0fc159a55bf5c409ac125e2228bbfafc7e16
contrib/add_cosigner: document usage process
[ { "change_type": "MODIFY", "old_path": "contrib/add_cosigner", "new_path": "contrib/add_cosigner", "diff": "#!/usr/bin/python3\n+#\n+# This script is part of the workflow for BUILDERs to reproduce and sign the\n+# release binaries. (for builders who do not have sftp access to \"electrum-downloads-ai...
Python
MIT License
spesmilo/electrum
contrib/add_cosigner: document usage process
630,870
18.03.2022 16:19:09
-3,600
1bb7ef92e7012eb64ff2ddc071b455c64dea4b05
binaries: bump python 3.9.10->3.9.11; and for android 3.8.12->3.8.13 This is bumping the python versions bundled inside our binaries. For macOS and AppImage, from 3.9.10 to 3.9.11. For Android, from 3.8.12 to 3.8.13. Windows is left untouched as I am having issues with the wine build when using 3.9.11. (see )
[ { "change_type": "MODIFY", "old_path": "contrib/android/p4a_recipes/hostpython3/__init__.py", "new_path": "contrib/android/p4a_recipes/hostpython3/__init__.py", "diff": "@@ -11,8 +11,8 @@ assert HostPython3Recipe.python_depends == []\nclass HostPython3RecipePinned(util.InheritedRecipeMixin, HostPyth...
Python
MIT License
spesmilo/electrum
binaries: bump python 3.9.10->3.9.11; and for android 3.8.12->3.8.13 This is bumping the python versions bundled inside our binaries. For macOS and AppImage, from 3.9.10 to 3.9.11. For Android, from 3.8.12 to 3.8.13. Windows is left untouched as I am having issues with the wine build when using 3.9.11. (see https://g...
630,870
19.03.2022 00:02:54
-3,600
3e42f2f33d56308455a5c75a460f2262c7a576bd
kivy: fix cpfp dialog: qt not available on android (and the imports are unused.) fixes
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/dialogs/cpfp_dialog.py", "new_path": "electrum/gui/kivy/uix/dialogs/cpfp_dialog.py", "diff": "@@ -11,8 +11,7 @@ if TYPE_CHECKING:\nfrom ...main_window import ElectrumWindow\nfrom .fee_dialog import FeeSliderDialog\n-from electrum.gui.qt.a...
Python
MIT License
spesmilo/electrum
kivy: fix cpfp dialog: qt not available on android (and the imports are unused.) fixes https://github.com/spesmilo/electrum/issues/7723
630,870
17.03.2022 18:09:04
-3,600
185d54de63693b3aa39d6e742adb7f7aa350adab
win build: bump python 3.9.10->3.9.11
[ { "change_type": "MODIFY", "old_path": "contrib/build-wine/prepare-wine.sh", "new_path": "contrib/build-wine/prepare-wine.sh", "diff": "@@ -9,7 +9,7 @@ PYINSTALLER_REPO=\"https://github.com/SomberNight/pyinstaller.git\"\nPYINSTALLER_COMMIT=\"80ee4d613ecf75a1226b960a560ee01459e65ddb\"\n# ^ tag 4.2, p...
Python
MIT License
spesmilo/electrum
win build: bump python 3.9.10->3.9.11
630,870
21.03.2022 15:50:28
-3,600
d8e2582889bef31ea1646d1fd1de883dc5d71d63
qt gui: (maybe fix) opening "Preferences" segfaults on macOS for some see related
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/__init__.py", "new_path": "electrum/gui/qt/__init__.py", "diff": "@@ -42,6 +42,14 @@ from PyQt5.QtWidgets import (QApplication, QSystemTrayIcon, QWidget, QMenu,\nfrom PyQt5.QtCore import QObject, pyqtSignal, QTimer, Qt\nimport PyQt5.QtCore as Q...
Python
MIT License
spesmilo/electrum
qt gui: (maybe fix) opening "Preferences" segfaults on macOS for some see https://github.com/spesmilo/electrum/issues/7725 related https://github.com/Electron-Cash/Electron-Cash/pull/1545
630,870
21.03.2022 17:49:08
-3,600
10b2d705a1c2c5b6fc006eef20aa80c9cfbcefe0
qt chan details dlg: break stats into 2 cols, add local/remote balance
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/channel_details.py", "new_path": "electrum/gui/qt/channel_details.py", "diff": "@@ -3,7 +3,7 @@ from typing import TYPE_CHECKING, Sequence\nimport PyQt5.QtGui as QtGui\nimport PyQt5.QtWidgets as QtWidgets\nimport PyQt5.QtCore as QtCore\n-from P...
Python
MIT License
spesmilo/electrum
qt chan details dlg: break stats into 2 cols, add local/remote balance
630,870
22.03.2022 16:28:04
-3,600
b91947e58563505fff363a1a653021f1c6083826
kivy: delete some dead code
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/ui_screens/history.kv", "new_path": "electrum/gui/kivy/uix/ui_screens/history.kv", "diff": "#:import _ electrum.gui.kivy.i18n._\n#:import KIVY_GUI_PATH electrum.gui.kivy.KIVY_GUI_PATH\n#:import Factory kivy.factory.Factory\n-#:set font_li...
Python
MIT License
spesmilo/electrum
kivy: delete some dead code
630,969
23.03.2022 19:23:32
-3,600
d3476b6ba02b5c9e2eddd39a400a784f37098ecc
fix deadlock: self.lock should be taken before self.transaction_lock (self.lock is taken in self.get_tx.height)
[ { "change_type": "MODIFY", "old_path": "electrum/wallet.py", "new_path": "electrum/wallet.py", "diff": "@@ -867,7 +867,7 @@ class Abstract_Wallet(AddressSynchronizer, ABC):\nfor txo in invoice.outputs: # type: PartialTxOutput\ninvoice_amounts[txo.scriptpubkey] += 1 if parse_max_spend(txo.value) else...
Python
MIT License
spesmilo/electrum
fix deadlock: self.lock should be taken before self.transaction_lock (self.lock is taken in self.get_tx.height)
630,969
19.03.2022 12:10:23
-3,600
92c6d911570d0d0aa84ca835ab613b2cb7372f19
Qt: on status changes, refresh item in invoice_list and request_list, instead of calling update(), which repopulates the model.
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/invoice_list.py", "new_path": "electrum/gui/qt/invoice_list.py", "diff": "@@ -48,6 +48,7 @@ ROLE_SORT_ORDER = Qt.UserRole + 2\nclass InvoiceList(MyTreeView):\n+ key_role = ROLE_REQUEST_ID\nclass Columns(IntEnum):\nDATE = 0\n@@ -74,14 +75,11 @@ ...
Python
MIT License
spesmilo/electrum
Qt: on status changes, refresh item in invoice_list and request_list, instead of calling update(), which repopulates the model.
630,870
23.03.2022 19:20:22
-3,600
5f1a13e4ea9bd3b1a1780e3f7888ea1e9af0765c
run_electrum: small clean-up, and hide DeprecationWarnings if not git rename `is_bundle` to `is_pyinstaller` (no semantic changes, just to clearer name) define `is_appimage` add comment to explain `is_local` - its value is the same as before (but more explicit definition) define `is_git_clone`, and restrict Deprecation...
[ { "change_type": "MODIFY", "old_path": "run_electrum", "new_path": "run_electrum", "diff": "@@ -41,11 +41,15 @@ from typing import TYPE_CHECKING, Optional\nscript_dir = os.path.dirname(os.path.realpath(__file__))\n-is_bundle = getattr(sys, 'frozen', False)\n-is_local = not is_bundle and os.path.exis...
Python
MIT License
spesmilo/electrum
run_electrum: small clean-up, and hide DeprecationWarnings if not git - rename `is_bundle` to `is_pyinstaller` (no semantic changes, just to clearer name) - define `is_appimage` - add comment to explain `is_local` - its value is the same as before (but more explicit definition) - define `is_git_clone`, and restrict ...
630,870
23.03.2022 19:54:04
-3,600
5b500f08ea2618c08b47a99176f323810c924690
"--portable": make behaviour independent of pyinstaller version pyinstaller 4.3 changed the value of `__file__`. This change makes our behaviour independent of that pyinstaller change (we always behave like old versions of pyinstaller). fixes regression was introduced by
[ { "change_type": "MODIFY", "old_path": "run_electrum", "new_path": "run_electrum", "diff": "@@ -331,14 +331,18 @@ def main():\nif config_options.get('server'):\nconfig_options['auto_connect'] = False\n- config_options['cwd'] = os.getcwd()\n+ config_options['cwd'] = cwd = os.getcwd()\n# fixme: this c...
Python
MIT License
spesmilo/electrum
"--portable": make behaviour independent of pyinstaller version pyinstaller 4.3 changed the value of `__file__`. This change makes our behaviour independent of that pyinstaller change (we always behave like old versions of pyinstaller). fixes https://github.com/spesmilo/electrum/issues/7729 regression was introduced ...
630,969
24.03.2022 14:55:37
-3,600
a15dac2b8cf15d0bfd6cb50f5c83a69b30897ffb
channel_establishment_flow: do not save wallet file backup in the background. Instead, display a popup everytime, if the channel is not recoverable.
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/main_window.py", "new_path": "electrum/gui/qt/main_window.py", "diff": "@@ -1895,12 +1895,9 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):\nchan, funding_tx = args\nlnworker = self.wallet.lnworker\nif not chan.has_onchain_backup...
Python
MIT License
spesmilo/electrum
channel_establishment_flow: do not save wallet file backup in the background. Instead, display a popup everytime, if the channel is not recoverable.
630,870
25.03.2022 17:08:55
-3,600
8260a1abb7843001e93569e8d0e113dc0e375838
win build: set `--no-build-isolation` when pip installing pyinstaller fixes
[ { "change_type": "MODIFY", "old_path": "contrib/build-wine/prepare-wine.sh", "new_path": "contrib/build-wine/prepare-wine.sh", "diff": "@@ -105,6 +105,6 @@ info \"Building PyInstaller.\"\n[[ -e \"PyInstaller/bootloader/Windows-$PYINST_ARCH/runw.exe\" ]] || fail \"Could not find runw.exe in target di...
Python
MIT License
spesmilo/electrum
win build: set `--no-build-isolation` when pip installing pyinstaller fixes https://github.com/spesmilo/electrum/issues/7736
630,870
25.03.2022 21:36:17
-3,600
859bd15356deb6731abe084636ca2cdd848bd71a
win build: fix reproducibility by excluding `*.dist-info/` closes (but this is just a workaround...) the proper fix should be done upstream:
[ { "change_type": "MODIFY", "old_path": "contrib/build-wine/deterministic.spec", "new_path": "contrib/build-wine/deterministic.spec", "diff": "@@ -102,6 +102,14 @@ for x in a.datas.copy():\na.datas.remove(x)\nprint('----> Removed x =', x)\n+# not reproducible (see #7739):\n+print(\"Removing *.dist-in...
Python
MIT License
spesmilo/electrum
win build: fix reproducibility by excluding `*.dist-info/` closes https://github.com/spesmilo/electrum/issues/7739 (but this is just a workaround...) the proper fix should be done upstream: https://github.com/pypa/distlib/issues/164 https://bugs.python.org/issue47123
630,870
26.03.2022 02:12:12
-3,600
98d32f41d5ed0b29a9d45d773bfc97f6ad392670
build: (reproducibility) always uses "pip install" with "--no-build-isolation" fixes fixes related
[ { "change_type": "MODIFY", "old_path": "contrib/android/Dockerfile", "new_path": "contrib/android/Dockerfile", "diff": "@@ -145,8 +145,11 @@ RUN chown ${USER} /opt\nUSER ${USER}\n+COPY contrib/deterministic-build/requirements-build-base.txt /opt/deterministic-build/\nCOPY contrib/deterministic-build...
Python
MIT License
spesmilo/electrum
build: (reproducibility) always uses "pip install" with "--no-build-isolation" fixes https://github.com/spesmilo/electrum/issues/7737 fixes https://github.com/spesmilo/electrum/issues/7736 related https://github.com/spesmilo/electrum/commit/8559d1eb723c8c462c3d2a7365967ada46ef21c5
630,870
26.03.2022 03:21:03
-3,600
c93582f66175e2e12884f7c7c69d28e8ee69a80e
android build: update README to newer build.sh syntax
[ { "change_type": "MODIFY", "old_path": "contrib/android/Readme.md", "new_path": "contrib/android/Readme.md", "diff": "@@ -17,17 +17,17 @@ similar system.\n2. Build binaries\n+ The build script takes a few arguments. To see syntax, run it without providing any:\n```\n$ ./build.sh\n```\n+ For developm...
Python
MIT License
spesmilo/electrum
android build: update README to newer build.sh syntax
630,870
26.03.2022 15:26:13
-3,600
ec98ef5aee72d5b5e5ec119a1c176820c6bb4635
hw ledger: sign_transaction: add progress indicator related:
[ { "change_type": "MODIFY", "old_path": "RELEASE-NOTES", "new_path": "RELEASE-NOTES", "diff": "- during LN chan open, do not backup wallet automatically (#7733)\n- Imported wallets: fix delete_address rm-ing too many txs (#7587)\n- fix potential deadlock in wallet.py (d3476b6b)\n+ * Hardware wallets:...
Python
MIT License
spesmilo/electrum
hw ledger: sign_transaction: add progress indicator related: https://github.com/spesmilo/electrum/issues/7516
630,969
26.03.2022 19:41:49
-3,600
90e5984b647eb0211524e604b6fedff08894f6fd
update date in release notes
[ { "change_type": "MODIFY", "old_path": "RELEASE-NOTES", "new_path": "RELEASE-NOTES", "diff": "-# Release 4.2.1 - (March 24, 2022)\n+# Release 4.2.1 - (March 26, 2022)\n* Binaries:\n- Windows: we are dropping support for Windows 7. (#7728)\nVersion 4.2.0 already unintentionally broke compatibility wi...
Python
MIT License
spesmilo/electrum
update date in release notes
630,969
29.03.2022 17:42:04
-7,200
cb39bbbd943e19b392302a1ac557c374fcd2d36b
lnworker: make calc_routing_hints_for_invoice and create_invoice non-async
[ { "change_type": "MODIFY", "old_path": "electrum/commands.py", "new_path": "electrum/commands.py", "diff": "@@ -920,7 +920,7 @@ class Commands:\n@command('wnl')\nasync def add_lightning_request(self, amount, memo='', expiration=3600, wallet: Abstract_Wallet = None):\namount_sat = int(satoshis(amount...
Python
MIT License
spesmilo/electrum
lnworker: make calc_routing_hints_for_invoice and create_invoice non-async
630,870
29.03.2022 20:15:52
-7,200
68ba223ce1e11122d9760a891e3c938c2752543f
qt ConfirmTxDialog: word-wrap error message text e.g. this text: "This transaction requires a higher fee, or it will not be propagated by your current server. Try to raise your transaction fee, or use a server with a lower relay fee." is too long for a single line.
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/dialogs/confirm_tx_dialog.py", "new_path": "electrum/gui/kivy/uix/dialogs/confirm_tx_dialog.py", "diff": "@@ -10,7 +10,6 @@ from kivy.uix.label import Label\nfrom kivy.uix.widget import Widget\nfrom kivy.clock import Clock\n-from electrum...
Python
MIT License
spesmilo/electrum
qt ConfirmTxDialog: word-wrap error message text e.g. this text: "This transaction requires a higher fee, or it will not be propagated by your current server. Try to raise your transaction fee, or use a server with a lower relay fee." is too long for a single line.
630,870
29.03.2022 20:22:09
-7,200
4dd94172a6dc87a32bd6b0542c7c985f23afab1f
config: fee slider: add more steps in mempool mode closes
[ { "change_type": "MODIFY", "old_path": "electrum/simple_config.py", "new_path": "electrum/simple_config.py", "diff": "@@ -21,7 +21,8 @@ from .logging import get_logger, Logger\nFEE_ETA_TARGETS = [25, 10, 5, 2]\n-FEE_DEPTH_TARGETS = [10000000, 5000000, 2000000, 1000000, 500000, 200000, 100000]\n+FEE_...
Python
MIT License
spesmilo/electrum
config: fee slider: add more steps in mempool mode closes https://github.com/spesmilo/electrum/issues/6474
630,969
19.03.2022 09:36:50
-3,600
1364e7538acf37d1b649d2ca8ef647858540b227
bump fee of swap claim transactions Note: This adds a new field, spent_txid, to PartialTxOutput
[ { "change_type": "MODIFY", "old_path": "electrum/address_synchronizer.py", "new_path": "electrum/address_synchronizer.py", "diff": "@@ -761,10 +761,9 @@ class AddressSynchronizer(Logger):\nfor tx_hash, height in h:\nl = self.db.get_txi_addr(tx_hash, address)\nfor txi, v in l:\n- sent[txi] = height\n...
Python
MIT License
spesmilo/electrum
bump fee of swap claim transactions Note: This adds a new field, spent_txid, to PartialTxOutput
630,870
30.03.2022 17:42:12
-7,200
aa5172faa295432e67f1e6b55cb75c834da17090
swaps: fix forward swap: lnworker.create_invoice is not async follow-up
[ { "change_type": "MODIFY", "old_path": "electrum/submarine_swaps.py", "new_path": "electrum/submarine_swaps.py", "diff": "@@ -253,7 +253,7 @@ class SwapManager(Logger):\nassert self.lnwatcher\nprivkey = os.urandom(32)\npubkey = ECPrivkey(privkey).get_public_key_bytes(compressed=True)\n- lnaddr, invo...
Python
MIT License
spesmilo/electrum
swaps: fix forward swap: lnworker.create_invoice is not async follow-up https://github.com/spesmilo/electrum/commit/cb39bbbd943e19b392302a1ac557c374fcd2d36b
630,870
30.03.2022 19:01:57
-7,200
357aaff582836a755f4e4bfc9c5c829197061b72
swaps: when RBF-ing a forward swap tx, payment amt must not decrease
[ { "change_type": "MODIFY", "old_path": "electrum/submarine_swaps.py", "new_path": "electrum/submarine_swaps.py", "diff": "@@ -300,7 +300,7 @@ class SwapManager(Logger):\ndummy_output = PartialTxOutput.from_address_and_value(ln_dummy_address(), expected_onchain_amount_sat)\ntx.outputs().remove(dummy_...
Python
MIT License
spesmilo/electrum
swaps: when RBF-ing a forward swap tx, payment amt must not decrease
630,870
31.03.2022 20:45:05
-7,200
e36d7fed7da25ef4d4ef147d7c8c919ddafa04ea
swaps: more precise tx size estimation for claim tx when RBF-ing
[ { "change_type": "MODIFY", "old_path": "electrum/submarine_swaps.py", "new_path": "electrum/submarine_swaps.py", "diff": "@@ -11,7 +11,7 @@ from .crypto import sha256, hash_160\nfrom .ecc import ECPrivkey\nfrom .bitcoin import (script_to_p2wsh, opcodes, p2wsh_nested_script, push_script,\nis_segwit_a...
Python
MIT License
spesmilo/electrum
swaps: more precise tx size estimation for claim tx when RBF-ing
630,870
31.03.2022 22:50:31
-7,200
7268fa55f28061cde81749940bbc89654f10ae2d
config: abstract away mempool depth format str "%.1f MB from tip" related: (as that commit introduced depth targets that need more precision to display)
[ { "change_type": "MODIFY", "old_path": "electrum/gui/kivy/uix/dialogs/tx_dialog.py", "new_path": "electrum/gui/kivy/uix/dialogs/tx_dialog.py", "diff": "@@ -125,6 +125,7 @@ class TxDialog(Factory.Popup):\nself.app = app # type: ElectrumWindow\nself.wallet = self.app.wallet\nself.tx = tx # type: Trans...
Python
MIT License
spesmilo/electrum
config: abstract away mempool depth format str "%.1f MB from tip" related: https://github.com/spesmilo/electrum/commit/4dd94172a6dc87a32bd6b0542c7c985f23afab1f (as that commit introduced depth targets that need more precision to display)
630,969
01.04.2022 11:32:57
-7,200
1574e108699ced40fbede7c57ff3ec11af015a93
follow-up remove paid item from request_list
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/main_window.py", "new_path": "electrum/gui/qt/main_window.py", "diff": "@@ -1595,6 +1595,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):\nreturn\nif status == PR_PAID:\nself.notify(_('Payment received') + '\\n' + key)\n+ self.r...
Python
MIT License
spesmilo/electrum
follow-up 92c6d911570d0d0aa84ca835ab613b2cb7372f19: remove paid item from request_list
630,969
01.04.2022 13:55:36
-7,200
670f8dbe422f0da9463771a3c4b0e991c05738e9
submarine_swaps: use prevout to determine if a txin is claiming a swap
[ { "change_type": "MODIFY", "old_path": "electrum/submarine_swaps.py", "new_path": "electrum/submarine_swaps.py", "diff": "@@ -92,6 +92,7 @@ class SwapData(StoredObject):\nfunding_txid = attr.ib(type=Optional[str])\nspending_txid = attr.ib(type=Optional[str])\nis_redeemed = attr.ib(type=bool)\n+ _fun...
Python
MIT License
spesmilo/electrum
submarine_swaps: use prevout to determine if a txin is claiming a swap
630,969
30.03.2022 11:48:13
-7,200
f01197b6b55fc2087acb8456b9289256abf23126
Reverse swaps: Wait until funding tx is confirmed - override with allow_instant_swaps option (Qt)
[ { "change_type": "MODIFY", "old_path": "electrum/address_synchronizer.py", "new_path": "electrum/address_synchronizer.py", "diff": "@@ -239,6 +239,9 @@ class AddressSynchronizer(Logger):\nconflicting_txns -= {tx_hash}\nreturn conflicting_txns\n+ def get_transaction(self, txid: str) -> Transaction:\n...
Python
MIT License
spesmilo/electrum
Reverse swaps: Wait until funding tx is confirmed - override with allow_instant_swaps option (Qt)
630,969
25.03.2022 10:00:09
-3,600
e362d1aac4c326917592bcfe1f5d679f7649366a
Qt: make display of lists more stable. Use refresh_row() for address, utxo and contact lists. Replace unneeded calls to update_tabs() with refresh_tabs() Fix right-click menu after selecting multiple addresses.
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/address_list.py", "new_path": "electrum/gui/qt/address_list.py", "diff": "@@ -82,6 +82,7 @@ class AddressList(MyTreeView):\nROLE_SORT_ORDER = Qt.UserRole + 1000\nROLE_ADDRESS_STR = Qt.UserRole + 1001\n+ key_role = ROLE_ADDRESS_STR\ndef __init__...
Python
MIT License
spesmilo/electrum
Qt: make display of lists more stable. Use refresh_row() for address, utxo and contact lists. Replace unneeded calls to update_tabs() with refresh_tabs() Fix right-click menu after selecting multiple addresses.
630,969
01.04.2022 20:13:56
-7,200
083205714c5503be6899502cad08045a4b8cbb0b
Qt: reorganize settings dialog
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/settings_dialog.py", "new_path": "electrum/gui/qt/settings_dialog.py", "diff": "@@ -59,9 +59,6 @@ class SettingsDialog(WindowModalDialog):\nvbox = QVBoxLayout()\ntabs = QTabWidget()\n- gui_widgets = []\n- tx_widgets = []\n- oa_widgets = []\n# l...
Python
MIT License
spesmilo/electrum
Qt: reorganize settings dialog
630,870
01.04.2022 21:30:41
-7,200
0226e7196db9c6ad9479f3f14a4c12867a1c4b26
swaps: build index(es) for the swaps dict to avoid linear scanning
[ { "change_type": "MODIFY", "old_path": "electrum/submarine_swaps.py", "new_path": "electrum/submarine_swaps.py", "diff": "@@ -11,7 +11,7 @@ from .crypto import sha256, hash_160\nfrom .ecc import ECPrivkey\nfrom .bitcoin import (script_to_p2wsh, opcodes, p2wsh_nested_script, push_script,\nis_segwit_a...
Python
MIT License
spesmilo/electrum
swaps: build index(es) for the swaps dict to avoid linear scanning
630,870
01.04.2022 21:31:50
-7,200
207600e00cdff7e6a08ec21daddccda8d10162e7
transaction.py: TxOutpoint: nicer __str__ and __repr__ useful e.g. when TxOutpoint is used as key in a dict (and the dict is printed)
[ { "change_type": "MODIFY", "old_path": "electrum/transaction.py", "new_path": "electrum/transaction.py", "diff": "@@ -194,6 +194,12 @@ class TxOutpoint(NamedTuple):\nreturn TxOutpoint(txid=bfh(hash_str),\nout_idx=int(idx_str))\n+ def __str__(self) -> str:\n+ return f\"\"\"TxOutpoint(\"{self.to_str()...
Python
MIT License
spesmilo/electrum
transaction.py: TxOutpoint: nicer __str__ and __repr__ useful e.g. when TxOutpoint is used as key in a dict (and the dict is printed)
630,870
04.04.2022 20:51:18
-7,200
250795f137281b8d2c8d29081949ee781a1c0b2a
verifier: small clean-up this code runs in the interface's group, so it's confusing to call the network's methods
[ { "change_type": "MODIFY", "old_path": "electrum/verifier.py", "new_path": "electrum/verifier.py", "diff": "@@ -32,7 +32,6 @@ from .bitcoin import hash_decode, hash_encode\nfrom .transaction import Transaction\nfrom .blockchain import hash_header\nfrom .interface import GracefulDisconnect\n-from .ne...
Python
MIT License
spesmilo/electrum
verifier: small clean-up this code runs in the interface's group, so it's confusing to call the network's methods
630,870
06.04.2022 17:49:57
-7,200
3bae7dfd903f86f8637ea185adca2a24d520205b
mac build: git clone pyinstaller to allow using custom commits This allows more freedom than using releases from PyPI. (atm there is no released version that fixes ) Also, we now build the pyinstaller bootloader, just like in the windows build: one fewer binary blob to trust.
[ { "change_type": "MODIFY", "old_path": "contrib/deterministic-build/requirements-build-mac.txt", "new_path": "contrib/deterministic-build/requirements-build-mac.txt", "diff": "@@ -44,14 +44,12 @@ macholib==1.16 \\\npip==22.0.4 \\\n--hash=sha256:b3a9de2c6ef801e9247d1527a4b16f92f2cc141cd1489f3fffaf6a9...
Python
MIT License
spesmilo/electrum
mac build: git clone pyinstaller to allow using custom commits This allows more freedom than using releases from PyPI. (atm there is no released version that fixes https://github.com/pyinstaller/pyinstaller/pull/6701 ) Also, we now build the pyinstaller bootloader, just like in the windows build: one fewer binary blob...
630,969
07.04.2022 19:50:30
-7,200
ad41f4aed01a8848ce9139f22f84a433c3b7c3cc
trampoline legacy mpp: link to eclair issue
[ { "change_type": "MODIFY", "old_path": "electrum/lnworker.py", "new_path": "electrum/lnworker.py", "diff": "@@ -1553,7 +1553,7 @@ class LNWallet(LNWorker):\nif not self.channel_db:\n# in the case of a legacy payment, we don't allow splitting via different\n- # trampoline nodes, as currently no forwa...
Python
MIT License
spesmilo/electrum
trampoline legacy mpp: link to eclair issue
630,870
07.04.2022 20:20:30
-7,200
214ac19f15a08832206341829342774909a05cbf
window.run_coroutine_from_thread: don't use wallet.thread wallet.thread was serialising the fut.result() calls, so consider e.g. coro1 gets scheduled, wallet.thread waits on fut1.result() coro2 gets scheduled, coro2 finished with exception and wants to show an error popup, > wallet.thread is still waiting on fut1.resul...
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/main_window.py", "new_path": "electrum/gui/qt/main_window.py", "diff": "@@ -36,7 +36,7 @@ import base64\nfrom functools import partial\nimport queue\nimport asyncio\n-from typing import Optional, TYPE_CHECKING, Sequence, List, Union\n+from typi...
Python
MIT License
spesmilo/electrum
window.run_coroutine_from_thread: don't use wallet.thread wallet.thread was serialising the fut.result() calls, so consider e.g. - coro1 gets scheduled, - wallet.thread waits on fut1.result() - coro2 gets scheduled, - coro2 finished with exception and wants to show an error popup, -> wallet.thread is still waiting on ...
630,870
08.04.2022 20:22:50
-7,200
6c05de6fb93950973795ba870e1d8ef5324528e9
osx arm notes: simplify note: `pip install ".[crypto]"` needs quotes on macOS, at least in the default `zsh` shell. The quotes are not needed on Ubuntu using bash, or on Windows using powershell. ``` user@users-iMac electrum % python3 -m pip install --user -e .[crypto] zsh: no matches found: .[crypto] ```
[ { "change_type": "MODIFY", "old_path": "README.rst", "new_path": "README.rst", "diff": "@@ -35,7 +35,7 @@ but not everything. The following sections describe how to run from source, but\nis a TL;DR::\nsudo apt-get install libsecp256k1-0\n- python3 -m pip install --user .[gui,crypto]\n+ python3 -m pi...
Python
MIT License
spesmilo/electrum
osx arm notes: simplify note: `pip install ".[crypto]"` needs quotes on macOS, at least in the default `zsh` shell. The quotes are not needed on Ubuntu using bash, or on Windows using powershell. ``` user@users-iMac electrum % python3 -m pip install --user -e .[crypto] zsh: no matches found: .[crypto] ```
630,870
04.04.2022 15:47:56
-7,200
a05ef140d6542aed4f19ebe305d994dc6f8d7d94
address_sync: split off unconfirmed_tx from unverified_tx
[ { "change_type": "MODIFY", "old_path": "electrum/address_synchronizer.py", "new_path": "electrum/address_synchronizer.py", "diff": "@@ -85,8 +85,10 @@ class AddressSynchronizer(Logger):\nself.lock = threading.RLock()\nself.transaction_lock = threading.RLock()\nself.future_tx = {} # type: Dict[str, i...
Python
MIT License
spesmilo/electrum
address_sync: split off unconfirmed_tx from unverified_tx
630,870
04.04.2022 19:24:29
-7,200
30650c524cefd979963f60cef7b5da3e81ab67bc
address_sync: "up_to_date" now waits for SPV
[ { "change_type": "MODIFY", "old_path": "electrum/address_synchronizer.py", "new_path": "electrum/address_synchronizer.py", "diff": "@@ -90,7 +90,7 @@ class AddressSynchronizer(Logger):\n# Txs the server claims are in the mempool:\nself.unconfirmed_tx = defaultdict(int) # type: Dict[str, int] # txid ...
Python
MIT License
spesmilo/electrum
address_sync: "up_to_date" now waits for SPV
630,870
04.04.2022 20:38:16
-7,200
428dff90f88e887a00ed0a2d2b06f3bde4ae68e8
address_sync: include verifier in sync_state progress indicator
[ { "change_type": "MODIFY", "old_path": "electrum/address_synchronizer.py", "new_path": "electrum/address_synchronizer.py", "diff": "@@ -672,8 +672,14 @@ class AddressSynchronizer(Logger):\nwith self.lock:\nstatus_changed = self._up_to_date != up_to_date\nself._up_to_date = up_to_date\n- if self.netw...
Python
MIT License
spesmilo/electrum
address_sync: include verifier in sync_state progress indicator
630,870
08.04.2022 20:50:03
-7,200
29c1106988ce5a203a41a0ca70706be14cdda40f
qt main_window: move TaskThread from wallet.thread to window.thread
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/main_window.py", "new_path": "electrum/gui/qt/main_window.py", "diff": "@@ -205,6 +205,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):\nLogger.__init__(self)\nself._coroutines_scheduled = set() # type: Set[concurrent.futures.Fu...
Python
MIT License
spesmilo/electrum
qt main_window: move TaskThread from wallet.thread to window.thread
630,870
10.04.2022 15:17:40
-7,200
3451140ce784a337aa5f41500daa4613246c6513
qt coins list: fix populating labels follow-up
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/utxo_list.py", "new_path": "electrum/gui/qt/utxo_list.py", "diff": "@@ -118,6 +118,7 @@ class UTXOList(MyTreeView):\nutxo_item = [self.std_model.item(row, col) for col in self.Columns]\naddress = utxo.address\nlabel = self.wallet.get_label_for_...
Python
MIT License
spesmilo/electrum
qt coins list: fix populating labels follow-up https://github.com/spesmilo/electrum/commit/e362d1aac4c326917592bcfe1f5d679f7649366a
630,992
11.04.2022 13:44:56
-7,200
70fb4bf53840bcd51ceda2db53ce0340099ac8a6
android: create relative .buildozer symlink at correct folder, regardless of CWD
[ { "change_type": "MODIFY", "old_path": "contrib/android/build.sh", "new_path": "contrib/android/build.sh", "diff": "@@ -26,9 +26,9 @@ else\nfi\n# create symlink\n-rm -f .buildozer\n-mkdir -p \".buildozer_$1\"\n-ln -s \".buildozer_$1\" .buildozer\n+rm -f ${PROJECT_ROOT}/.buildozer\n+mkdir -p \"${PROJ...
Python
MIT License
spesmilo/electrum
android: create relative .buildozer symlink at correct folder, regardless of CWD (#7759)
630,870
11.04.2022 16:53:25
-7,200
419fc6e1c1500069f13915574ef4cb68415540a3
gui init: raise GuiImportError instead of sys.exit if dep is missing
[ { "change_type": "MODIFY", "old_path": "electrum/__init__.py", "new_path": "electrum/__init__.py", "diff": "@@ -11,6 +11,10 @@ if is_local and os.name == 'nt':\nos.add_dll_directory(os.path.dirname(__file__))\n+class GuiImportError(ImportError):\n+ pass\n+\n+\nfrom .version import ELECTRUM_VERSION\n...
Python
MIT License
spesmilo/electrum
gui init: raise GuiImportError instead of sys.exit if dep is missing
630,969
29.03.2022 18:17:38
-7,200
7102fb732e4ee7064f81a62bf61628a83e1e731d
follow-up prev: - detect payment of requests both onchain or LN - create single type of requests in GUI
[ { "change_type": "MODIFY", "old_path": "electrum/commands.py", "new_path": "electrum/commands.py", "diff": "@@ -913,8 +913,7 @@ class Commands:\nreturn False\namount = satoshis(amount)\nexpiration = int(expiration) if expiration else None\n- req = wallet.make_payment_request(addr, amount, memo, expi...
Python
MIT License
spesmilo/electrum
follow-up prev: - detect payment of requests both onchain or LN - create single type of requests in GUI
630,969
29.03.2022 14:07:53
-7,200
bf4455ef302f228828085148a267cba240d40840
follow-up db invoice unification: - fix command line - deprecate add_lightning_request
[ { "change_type": "MODIFY", "old_path": "electrum/commands.py", "new_path": "electrum/commands.py", "diff": "@@ -913,15 +913,10 @@ class Commands:\nreturn False\namount = satoshis(amount)\nexpiration = int(expiration) if expiration else None\n- req = wallet.create_request(amount, memo, expiration, ad...
Python
MIT License
spesmilo/electrum
follow-up db invoice unification: - fix command line - deprecate add_lightning_request
630,969
29.03.2022 18:38:04
-7,200
9ba5a3480080c9e94a99c231b458a810a2abf572
Qt receive tab: - show payment options in tabs: URI, Address or Lightning - use vertical tabs to save space - switch between QR and text views - open standalone QR window through menu, instead of clicking on QR code
[ { "change_type": "ADD", "old_path": "electrum/gui/icons/link.png", "new_path": "electrum/gui/icons/link.png", "diff": "Binary files /dev/null and b/electrum/gui/icons/link.png differ\n" }, { "change_type": "MODIFY", "old_path": "electrum/gui/qt/main_window.py", "new_path": "electrum/...
Python
MIT License
spesmilo/electrum
Qt receive tab: - show payment options in tabs: URI, Address or Lightning - use vertical tabs to save space - switch between QR and text views - open standalone QR window through menu, instead of clicking on QR code
630,969
29.03.2022 10:51:45
-7,200
f18a04295526a5294b10f92eba7824fd8c08eb1d
Qt: receive_lightning_help text
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/main_window.py", "new_path": "electrum/gui/qt/main_window.py", "diff": "@@ -1104,8 +1104,14 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):\nself.receive_address_qr.setVisible(not b)\nself.receive_URI_e.setVisible(b)\nself.receiv...
Python
MIT License
spesmilo/electrum
Qt: receive_lightning_help text
630,969
29.03.2022 10:36:36
-7,200
2c6e36e89d85cf5158ff0b51f8dce12ead8a49b9
Fallback addresses - add fallback address to LN invoices - Qt: if LN payment fails, propose onchain fallback
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/main_window.py", "new_path": "electrum/gui/qt/main_window.py", "diff": "@@ -1698,6 +1698,10 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):\ndef on_payment_failed(self, wallet, key, reason):\ninvoice = self.wallet.get_invoice(key...
Python
MIT License
spesmilo/electrum
Fallback addresses - add fallback address to BOLT-11 LN invoices - Qt: if LN payment fails, propose onchain fallback
630,969
25.01.2021 19:40:15
-3,600
60865f39027df041e0904bb78a4170ac2a4f1d7b
Show options if we do not have the liquidity to pay a lightning invoice: pay onchain, open channel, rebalance. If we do a swap or open a channel, the payment will be scheduled.
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/channels_list.py", "new_path": "electrum/gui/qt/channels_list.py", "diff": "@@ -383,7 +383,7 @@ class ChannelsList(MyTreeView):\nvbox.addLayout(Buttons(OkButton(d)))\nd.exec_()\n- def new_channel_dialog(self):\n+ def new_channel_dialog(self, *,...
Python
MIT License
spesmilo/electrum
Show options if we do not have the liquidity to pay a lightning invoice: pay onchain, open channel, rebalance. If we do a swap or open a channel, the payment will be scheduled.
630,969
13.03.2022 17:54:43
-3,600
0c64a884c98f22b050626256ffca1437bd9f1ec4
Qt: show single balance in statusbar - details in popup dialop - piechart in status bar
[ { "change_type": "ADD", "old_path": null, "new_path": "electrum/gui/qt/balance_dialog.py", "diff": "+#!/usr/bin/env python\n+#\n+# Electrum - lightweight Bitcoin client\n+# Copyright (C) 2013 ecdsa@github\n+#\n+# Permission is hereby granted, free of charge, to any person\n+# obtaining a copy of thi...
Python
MIT License
spesmilo/electrum
Qt: show single balance in statusbar - details in popup dialop - piechart in status bar