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 | 24.03.2021 19:37:37 | -3,600 | c2c3ece45510370aafae3eb4a4cb481cf9b15459 | wallet: implement get_utxos at specific block height
This allows looking up what UTXOs the wallet had at a specific time in the past. | [
{
"change_type": "MODIFY",
"old_path": "electrum/address_synchronizer.py",
"new_path": "electrum/address_synchronizer.py",
"diff": "@@ -835,27 +835,47 @@ class AddressSynchronizer(Logger):\nreturn result\n@with_local_height_cached\n- def get_utxos(self, domain=None, *, excluded_addresses=None,\n- ma... | Python | MIT License | spesmilo/electrum | wallet: implement get_utxos at specific block height
This allows looking up what UTXOs the wallet had at a specific time in the past. |
630,870 | 24.03.2021 20:52:35 | -3,600 | 638d4f747238f1255b58d40035366903a832dfb4 | commands: fix signtransaction cmd when used with "privkey" arg
A naive "solver" is implemented locally for p2pkh-like inputs.
Other more complex scripts cannot be signed atm without a wallet.
closes | [
{
"change_type": "MODIFY",
"old_path": "electrum/commands.py",
"new_path": "electrum/commands.py",
"diff": "@@ -393,11 +393,16 @@ class Commands:\n@command('wp')\nasync def signtransaction(self, tx, privkey=None, password=None, wallet: Abstract_Wallet = None):\n\"\"\"Sign a transaction. The wallet k... | Python | MIT License | spesmilo/electrum | commands: fix signtransaction cmd when used with "privkey" arg
A naive "solver" is implemented locally for p2pkh-like inputs.
Other more complex scripts cannot be signed atm without a wallet.
closes https://github.com/spesmilo/electrum/issues/7117 |
630,969 | 24.03.2021 15:34:53 | -3,600 | 241bf9ddd1aca6e3944463fbdc3bd84881b82bba | kivy: if password is unified, allow user to reset pin code | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/kivy/main_window.py",
"new_path": "electrum/gui/kivy/main_window.py",
"diff": "@@ -39,7 +39,8 @@ from kivy.clock import Clock\nfrom kivy.factory import Factory\nfrom kivy.metrics import inch\nfrom kivy.lang import Builder\n-from .uix.dialogs.passw... | Python | MIT License | spesmilo/electrum | kivy: if password is unified, allow user to reset pin code |
630,969 | 25.03.2021 11:14:05 | -3,600 | 8a7bd5cf3e9510239938313750169d33b47f7a4d | (minor) fix GUI if channel is force closing | [
{
"change_type": "MODIFY",
"old_path": "electrum/lnchannel.py",
"new_path": "electrum/lnchannel.py",
"diff": "@@ -305,6 +305,8 @@ class AbstractChannel(Logger, ABC):\n# because the state transition is irreversible. if the remote\n# force closed, we remain OPEN until the closing tx is confirmed\nself... | Python | MIT License | spesmilo/electrum | (minor) fix GUI if channel is force closing |
630,969 | 25.03.2021 11:24:33 | -3,600 | 6491421930728d218f935e48e162026d48842e5e | lnchannel: rename force_close_detected -> closing_detected, use it only if state is OPEN | [
{
"change_type": "MODIFY",
"old_path": "electrum/lnchannel.py",
"new_path": "electrum/lnchannel.py",
"diff": "@@ -304,7 +304,7 @@ class AbstractChannel(Logger, ABC):\n# we must not trust the server with unconfirmed transactions,\n# because the state transition is irreversible. if the remote\n# force... | Python | MIT License | spesmilo/electrum | lnchannel: rename force_close_detected -> closing_detected, use it only if state is OPEN |
630,969 | 25.03.2021 12:26:23 | -3,600 | 4b870f15a7dae083cb95e50b8c89c3407a612c0e | fix wrong call to request_force_close_from_backup, make it private | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/kivy/uix/dialogs/lightning_channels.py",
"new_path": "electrum/gui/kivy/uix/dialogs/lightning_channels.py",
"diff": "@@ -439,7 +439,7 @@ class ChannelBackupPopup(Popup, Logger):\nif not b:\nreturn\nloop = self.app.wallet.network.asyncio_loop\n- co... | Python | MIT License | spesmilo/electrum | fix wrong call to request_force_close_from_backup, make it private |
630,969 | 25.03.2021 16:12:24 | -3,600 | f14b7d5a1211fc9af30fb8b362f5cb932aba67a4 | check_password_for_directory: safeguards | [
{
"change_type": "MODIFY",
"old_path": "electrum/wallet.py",
"new_path": "electrum/wallet.py",
"diff": "@@ -3218,8 +3218,13 @@ def check_password_for_directory(config: SimpleConfig, old_password, new_passwor\nis_unified = False\n# it is a bit wasteful load the wallet here, but that is fine\n# becaus... | Python | MIT License | spesmilo/electrum | check_password_for_directory: safeguards |
630,870 | 25.03.2021 19:33:40 | -3,600 | 5beadaab95c8991ec85ba5793515937c2d08fe55 | commands: clean-up inject_fees cmd | [
{
"change_type": "MODIFY",
"old_path": "electrum/commands.py",
"new_path": "electrum/commands.py",
"diff": "@@ -1079,9 +1079,9 @@ class Commands:\n@command('n')\nasync def inject_fees(self, fees):\n- import ast\n- self.network.config.fee_estimates = ast.literal_eval(fees)\n- self.network.notify('fee... | Python | MIT License | spesmilo/electrum | commands: clean-up inject_fees cmd |
630,969 | 26.03.2021 09:21:49 | -3,600 | b64fcfb9e3704eb63b168453612959b718aef110 | lnpeer: if close_channel times out, check unconfirmed_closing_txid before raising an exception | [
{
"change_type": "MODIFY",
"old_path": "electrum/lnchannel.py",
"new_path": "electrum/lnchannel.py",
"diff": "@@ -304,7 +304,7 @@ class AbstractChannel(Logger, ABC):\n# we must not trust the server with unconfirmed transactions,\n# because the state transition is irreversible. if the remote\n# force... | Python | MIT License | spesmilo/electrum | lnpeer: if close_channel times out, check unconfirmed_closing_txid before raising an exception |
630,969 | 26.03.2021 10:34:50 | -3,600 | fdb0fe2f4c9992d5ce63e55f52c329249f1d060e | lnworker: guess routing fee in num_sats_can_send | [
{
"change_type": "MODIFY",
"old_path": "electrum/lnworker.py",
"new_path": "electrum/lnworker.py",
"diff": "@@ -81,7 +81,7 @@ from .channel_db import get_mychannel_info, get_mychannel_policy\nfrom .submarine_swaps import SwapManager\nfrom .channel_db import ChannelInfo, Policy\nfrom .mpp_split impor... | Python | MIT License | spesmilo/electrum | lnworker: guess routing fee in num_sats_can_send |
630,969 | 26.03.2021 15:49:10 | -3,600 | bdd9c4823f68399debd8798f9cdaccba60b15b53 | hardcoded trampoline nodes: replace IPs with domain names | [
{
"change_type": "MODIFY",
"old_path": "electrum/trampoline.py",
"new_path": "electrum/trampoline.py",
"diff": "@@ -54,8 +54,8 @@ TRAMPOLINE_FEES = [\n# hardcoded list\n# TODO for some pubkeys, there are multiple network addresses we could try\nTRAMPOLINE_NODES_MAINNET = {\n- 'ACINQ': LNPeerAddr(hos... | Python | MIT License | spesmilo/electrum | hardcoded trampoline nodes: replace IPs with domain names |
630,969 | 26.03.2021 16:27:32 | -3,600 | 41f22df26b09c7a5c03baaeb3aa7a09e742ac998 | submarine swaps: use num_sats_can_receive_no_mpp, to prevent funds being locked | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/kivy/uix/dialogs/lightning_channels.py",
"new_path": "electrum/gui/kivy/uix/dialogs/lightning_channels.py",
"diff": "@@ -726,7 +726,7 @@ class SwapDialog(Factory.Popup):\nmax_onchain_spend = 0\nreverse = int(min(self.lnworker.num_sats_can_send(),\... | Python | MIT License | spesmilo/electrum | submarine swaps: use num_sats_can_receive_no_mpp, to prevent funds being locked |
630,961 | 26.03.2021 21:54:26 | -3,600 | 7ea7e7cec979f0c8869243656127eb7a03ad1a1a | bitcoin.address_to_scripthash: add net param
closes | [
{
"change_type": "MODIFY",
"old_path": "electrum/bitcoin.py",
"new_path": "electrum/bitcoin.py",
"diff": "@@ -506,10 +506,11 @@ def address_to_hash(addr: str, *, net=None) -> Tuple[OnchainOutputType, bytes]:\nraise BitcoinException(f\"unknown address type: {addrtype}\")\n-def address_to_scripthash(a... | Python | MIT License | spesmilo/electrum | bitcoin.address_to_scripthash: add net param (#7143)
closes #7141 |
630,870 | 27.03.2021 01:44:18 | -3,600 | 1e3373bd2f7aaeec6507db22975cec91ff265527 | cosigner_pool: fix | [
{
"change_type": "MODIFY",
"old_path": "electrum/plugins/cosigner_pool/qt.py",
"new_path": "electrum/plugins/cosigner_pool/qt.py",
"diff": "@@ -34,7 +34,7 @@ import certifi\nfrom electrum import util, keystore, ecc, crypto\nfrom electrum import transaction\n-from electrum.transaction import Transact... | Python | MIT License | spesmilo/electrum | cosigner_pool: fix #7134 |
630,870 | 27.03.2021 03:39:10 | -3,600 | 472d11243341ad6c980462d908fbb57a1283f0c2 | sdist build: (minor) exclude more stuff from tar.gz, rm git clean log
The `git clean --dry-run` became redundant with "fresh clone" builds.
The new exclude in MANIFEST.in should not affect production builds (also due to fresh clone),
but they are nice when building from dirty local dir. | [
{
"change_type": "MODIFY",
"old_path": "MANIFEST.in",
"new_path": "MANIFEST.in",
"diff": "@@ -17,8 +17,11 @@ graft contrib/udev\nexclude electrum/*.so\nexclude electrum/*.so.0\n+exclude electrum/*.dll\n+exclude electrum/*.dylib\nglobal-exclude __pycache__\nglobal-exclude *.py[co~]\nglobal-exclude *.... | Python | MIT License | spesmilo/electrum | sdist build: (minor) exclude more stuff from tar.gz, rm git clean log
The `git clean --dry-run` became redundant with "fresh clone" builds.
The new exclude in MANIFEST.in should not affect production builds (also due to fresh clone),
but they are nice when building from dirty local dir. |
630,969 | 27.03.2021 12:19:38 | -3,600 | ac5565ed0a0cef1ac4e77875bf73c243059f8a29 | kivy: minor GUI improvements | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/kivy/uix/dialogs/checkbox_dialog.py",
"new_path": "electrum/gui/kivy/uix/dialogs/checkbox_dialog.py",
"diff": "@@ -3,18 +3,24 @@ from kivy.factory import Factory\nfrom kivy.properties import ObjectProperty\nfrom kivy.lang import Builder\n+\n+\n+\n... | Python | MIT License | spesmilo/electrum | kivy: minor GUI improvements |
630,969 | 27.03.2021 14:29:10 | -3,600 | e93becf33a5f16e59f496add8f0ae325dd971240 | wallet.add_transaction: prevent channel backup from being added twice | [
{
"change_type": "MODIFY",
"old_path": "electrum/address_synchronizer.py",
"new_path": "electrum/address_synchronizer.py",
"diff": "@@ -251,7 +251,12 @@ class AddressSynchronizer(Logger):\nreturn conflicting_txns\ndef add_transaction(self, tx: Transaction, *, allow_unrelated=False) -> bool:\n- \"\"\... | Python | MIT License | spesmilo/electrum | wallet.add_transaction: prevent channel backup from being added twice |
630,969 | 27.03.2021 11:07:40 | -3,600 | 03a95f36fc4205199485b47c35e3eecb76402207 | add trampoline.hodlister.co | [
{
"change_type": "MODIFY",
"old_path": "electrum/trampoline.py",
"new_path": "electrum/trampoline.py",
"diff": "@@ -56,7 +56,9 @@ TRAMPOLINE_FEES = [\nTRAMPOLINE_NODES_MAINNET = {\n'ACINQ': LNPeerAddr(host='node.acinq.co', port=9735, pubkey=bytes.fromhex('03864ef025fde8fb587d989186ce6a4a186895ee44a9... | Python | MIT License | spesmilo/electrum | add trampoline.hodlister.co |
630,969 | 28.03.2021 09:57:00 | -7,200 | 345c2b429547e9370afe7f8c50de44d727436c0d | qt: tooltip formatting function | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/messages.py",
"new_path": "electrum/gui/messages.py",
"diff": "# note: qt and kivy use different i18n methods\n+def to_rtf(msg):\n+ return '\\n'.join(['<p>' + x + '</p>' for x in msg.split('\\n\\n')])\n+\nMSG_RECOVERABLE_CHANNELS = \"\"\"\nAdd ext... | Python | MIT License | spesmilo/electrum | qt: tooltip formatting function |
630,969 | 28.03.2021 10:08:15 | -7,200 | a4210ce5e707037393cd0c60e223a2a35d466a91 | Qt: remove the 'local watchtower' option from GUI.
It is not realistic to expect Electrum to be used as a watchtower
in GUI mode, and possibly counter-productive (may set wrong
expectations).
A proper watchtower should be configured as a daemon. The
documentation will be updated to reflect this change. | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/qt/__init__.py",
"new_path": "electrum/gui/qt/__init__.py",
"diff": "@@ -370,8 +370,6 @@ class ElectrumGui(Logger):\nwith self._num_wizards_lock:\nif self._num_wizards_in_progress > 0 or len(self.windows) > 0:\nreturn\n- if self.config.get('persis... | Python | MIT License | spesmilo/electrum | Qt: remove the 'local watchtower' option from GUI.
It is not realistic to expect Electrum to be used as a watchtower
in GUI mode, and possibly counter-productive (may set wrong
expectations).
A proper watchtower should be configured as a daemon. The
documentation will be updated to reflect this change. |
630,969 | 28.03.2021 11:29:09 | -7,200 | f6b2e63b2ad2a88068c545b9caa5736f93e05f9b | Qt: invert trampoline checkbox in settings dialog. Share the help message with Kivy | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/kivy/uix/dialogs/settings.py",
"new_path": "electrum/gui/kivy/uix/dialogs/settings.py",
"diff": "@@ -9,6 +9,7 @@ from electrum.gui.kivy.i18n import _\nfrom electrum.plugin import run_hook\nfrom electrum import coinchooser\n+from electrum.gui impor... | Python | MIT License | spesmilo/electrum | Qt: invert trampoline checkbox in settings dialog. Share the help message with Kivy |
630,969 | 28.03.2021 11:35:09 | -7,200 | 4cf40107a27c4c934bebf8c5885a0e62bf2c0a77 | (minor) rm confusing adjective | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/qt/channels_list.py",
"new_path": "electrum/gui/qt/channels_list.py",
"diff": "@@ -501,7 +501,7 @@ class ChannelFeature(ABC):\nclass ChanFeatChannel(ChannelFeature):\ndef tooltip(self) -> str:\n- return _(\"This is a complete channel\")\n+ return ... | Python | MIT License | spesmilo/electrum | (minor) rm confusing adjective |
630,969 | 28.03.2021 15:11:21 | -7,200 | 9110648415277365433158b56aaaf2df8d16c5fa | Qt: minor changes to open channel dialog | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/qt/channels_list.py",
"new_path": "electrum/gui/qt/channels_list.py",
"diff": "@@ -405,6 +405,7 @@ class ChannelsList(MyTreeView):\nsuggest_button.clicked.connect(on_suggest)\nelse:\nfrom electrum.lnworker import hardcoded_trampoline_nodes\n+ vbox... | Python | MIT License | spesmilo/electrum | Qt: minor changes to open channel dialog |
630,969 | 29.03.2021 14:16:06 | -7,200 | cedd2baad753e7d9a96823114bdd737b8ddbaf89 | prepare release notes for 4.1.0 | [
{
"change_type": "MODIFY",
"old_path": "RELEASE-NOTES",
"new_path": "RELEASE-NOTES",
"diff": "-# Release 4.1.0 - (not released yet; release notes are a draft)\n- * The wallet creation wizard will no longer ask for seed type,\n- and create segwit wallets. Older seed types can still be\n- created wit ... | Python | MIT License | spesmilo/electrum | prepare release notes for 4.1.0 |
630,870 | 29.03.2021 16:20:24 | -7,200 | f9ae47eb99dd3c1a80ea8cdf2f8508136b53a648 | lnworker.num_sats_can_send should not return negative values | [
{
"change_type": "MODIFY",
"old_path": "electrum/lnworker.py",
"new_path": "electrum/lnworker.py",
"diff": "@@ -1940,6 +1940,7 @@ class LNWallet(LNWorker):\nfee_proportional_millionths = TRAMPOLINE_FEES[3]['fee_proportional_millionths']\n# inverse of fee_for_edge_msat\ncan_send_minus_fees = (can_sen... | Python | MIT License | spesmilo/electrum | lnworker.num_sats_can_send should not return negative values |
630,969 | 29.03.2021 17:35:04 | -7,200 | f06433e435212e281fb06b1951729f6b2e5666f1 | fix privkey in request_force_close_from_backup | [
{
"change_type": "MODIFY",
"old_path": "electrum/lnworker.py",
"new_path": "electrum/lnworker.py",
"diff": "@@ -2141,6 +2141,7 @@ class LNWallet(LNWorker):\nself.logger.info(f'requesting channel force close: {channel_id.hex()}')\nif isinstance(cb, ImportedChannelBackupStorage):\nnode_id = cb.node_id... | Python | MIT License | spesmilo/electrum | fix privkey in request_force_close_from_backup |
630,870 | 29.03.2021 17:49:27 | -7,200 | a509573ea0b005a5aebaff7ce62fc302e8401832 | lnrater: don't suggest nodes we have a channel backup with
We don't want to connect to nodes we already have a channel with on another device. | [
{
"change_type": "MODIFY",
"old_path": "electrum/lnchannel.py",
"new_path": "electrum/lnchannel.py",
"diff": "@@ -59,7 +59,7 @@ from .lnhtlc import HTLCManager\nfrom .lnmsg import encode_msg, decode_msg\nfrom .address_synchronizer import TX_HEIGHT_LOCAL\nfrom .lnutil import CHANNEL_OPENING_TIMEOUT\n... | Python | MIT License | spesmilo/electrum | lnrater: don't suggest nodes we have a channel backup with
We don't want to connect to nodes we already have a channel with on another device. |
630,969 | 29.03.2021 18:18:30 | -7,200 | 602437bd170068f2d1fc4ef837b4d3d01537c7a7 | fix remove_channel_backup (typo) | [
{
"change_type": "MODIFY",
"old_path": "electrum/lnworker.py",
"new_path": "electrum/lnworker.py",
"diff": "@@ -2120,7 +2120,7 @@ class LNWallet(LNWorker):\nchan = self.channel_backups[channel_id]\nassert chan.can_be_deleted()\nonchain_backups = self.db.get_dict(\"onchain_channel_backups\")\n- impor... | Python | MIT License | spesmilo/electrum | fix remove_channel_backup (typo) |
630,969 | 29.03.2021 18:37:13 | -7,200 | e38dabf5021ea509e6d4f4e5887ff9d77ba356c9 | lnchannel: get_state_for_GUI minor fix | [
{
"change_type": "MODIFY",
"old_path": "electrum/lnchannel.py",
"new_path": "electrum/lnchannel.py",
"diff": "@@ -339,7 +339,7 @@ class AbstractChannel(Logger, ABC):\ndef get_state_for_GUI(self) -> str:\ncs = self.get_state()\n- if cs == ChannelState.OPEN and self.unconfirmed_closing_txid:\n+ if cs ... | Python | MIT License | spesmilo/electrum | lnchannel: get_state_for_GUI minor fix |
630,969 | 29.03.2021 19:08:22 | -7,200 | 8b95b2127de767661ad2bac16afcf4c067a7dd54 | regtest backups: test both cases (onchain and imported)
lnpeer: call close_and_cleanup() after we force close,
or the above test will fail. | [
{
"change_type": "MODIFY",
"old_path": "electrum/lnpeer.py",
"new_path": "electrum/lnpeer.py",
"diff": "@@ -1081,6 +1081,7 @@ class Peer(Logger):\nelif we_are_ahead:\nself.logger.warning(f\"channel_reestablish ({chan.get_id_for_log()}): we are ahead of remote! trying to force-close.\")\nawait self.l... | Python | MIT License | spesmilo/electrum | regtest backups: test both cases (onchain and imported)
lnpeer: call close_and_cleanup() after we force close,
or the above test will fail. |
630,969 | 29.03.2021 19:57:51 | -7,200 | cd4df2fd850b05b669606121f86cdf8badd4d39d | detect conflicting channel backups, add warning before channel creation | [
{
"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": "@@ -15,6 +15,7 @@ from electrum.lnutil import ln_dummy_address, extract_nodeid\nfrom .label_dialog import LabelDialog\nfro... | Python | MIT License | spesmilo/electrum | detect conflicting channel backups, add warning before channel creation |
630,969 | 30.03.2021 12:31:32 | -7,200 | a1666b259d326e671983055d047dc9db896ecf28 | (minor) release notes | [
{
"change_type": "MODIFY",
"old_path": "RELEASE-NOTES",
"new_path": "RELEASE-NOTES",
"diff": "@@ -21,8 +21,8 @@ this release are user-visible.\n* Lightning:\n- recoverable channels (see below)\n- trampoline payments (see below)\n- - multi-part-payment (both sending and receiving)\n- - support for up... | Python | MIT License | spesmilo/electrum | (minor) release notes |
630,969 | 29.03.2021 11:03:33 | -7,200 | bbdfde5b412cb3f850dc7d5e935da82c39102dba | fix capital gains | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/messages.py",
"new_path": "electrum/gui/messages.py",
"diff": "@@ -37,3 +37,8 @@ Another instance of this wallet (same seed) has an open channel with the same re\nAre you sure?\n\"\"\"\n+\n+\n+MSG_CAPITAL_GAINS = \"\"\"\n+This summary covers only ... | Python | MIT License | spesmilo/electrum | fix capital gains |
630,870 | 30.03.2021 18:48:17 | -7,200 | f830939586bb6f1414a55cf1e387c8debebe3fb6 | lnworker: change crypto for onchain static backups
Use scripthash as nonce instead of scriptPubKey,
as first two bytes of scriptPubKey are static, i.e. wasted. | [
{
"change_type": "MODIFY",
"old_path": "electrum/lnworker.py",
"new_path": "electrum/lnworker.py",
"diff": "@@ -32,7 +32,7 @@ from .util import NetworkRetryManager, JsonRPCClient\nfrom .lnutil import LN_MAX_FUNDING_SAT\nfrom .keystore import BIP32_KeyStore\nfrom .bitcoin import COIN\n-from .bitcoin ... | Python | MIT License | spesmilo/electrum | lnworker: change crypto for onchain static backups
Use scripthash as nonce instead of scriptPubKey,
as first two bytes of scriptPubKey are static, i.e. wasted. |
630,969 | 30.03.2021 19:04:06 | -7,200 | 182f41fe843f03916ff6eba46f37cc4cad568022 | (minor) rephrasing | [
{
"change_type": "MODIFY",
"old_path": "RELEASE-NOTES",
"new_path": "RELEASE-NOTES",
"diff": "# Release 4.1.0 - Kangaroo (March 30, 2021)\n-This version is our first major release since we implemented the\n-Lightning protocol. While our initial Lightning release was mostly\n-about supporting the pro... | Python | MIT License | spesmilo/electrum | (minor) rephrasing |
630,870 | 30.03.2021 19:05:42 | -7,200 | 8ea2b4432ad86fc84cba391dee2f6b0dba14ed50 | tests: add test for keystore.get_lightning_xprv | [
{
"change_type": "MODIFY",
"old_path": "electrum/tests/test_wallet_vertical.py",
"new_path": "electrum/tests/test_wallet_vertical.py",
"diff": "@@ -123,6 +123,9 @@ class TestWalletKeystoreAddressIntegrityForMainnet(ElectrumTestCase):\nself.assertEqual(w.get_receiving_addresses()[0], 'bc1q3g5tmkmlvxr... | Python | MIT License | spesmilo/electrum | tests: add test for keystore.get_lightning_xprv |
630,870 | 30.03.2021 19:55:48 | -7,200 | 2cebdc8c1cc30b9fe99445915c1232fd4e6aab98 | add back "lightning is experimental" warning text | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/messages.py",
"new_path": "electrum/gui/messages.py",
"diff": "@@ -22,10 +22,16 @@ To prevent fund losses, please save this backup on another device.\nIt may be imported in another Electrum wallet with the same seed.\n\"\"\"\n-MSG_LIGHTNING_WARNIN... | Python | MIT License | spesmilo/electrum | add back "lightning is experimental" warning text |
630,870 | 30.03.2021 21:16:14 | -7,200 | 7b7bba22992eca4536a91249758f178b4a7e044a | wallet_db: put 'seed_type' into keystores (incl db upgrade) | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/qt/main_window.py",
"new_path": "electrum/gui/qt/main_window.py",
"diff": "@@ -2400,7 +2400,12 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):\nwallet_type = self.wallet.db.get('wallet_type', '')\nif self.wallet.is_watching_only():\... | Python | MIT License | spesmilo/electrum | wallet_db: put 'seed_type' into keystores (incl db upgrade) |
630,870 | 30.03.2021 21:27:43 | -7,200 | 35bc461fe1720f4d9f4af312413017d93c22a044 | keystore: encapsulate "can_have_deterministic_lightning_xprv" logic | [
{
"change_type": "MODIFY",
"old_path": "electrum/base_wizard.py",
"new_path": "electrum/base_wizard.py",
"diff": "@@ -545,7 +545,7 @@ class BaseWizard(Logger):\ndef create_keystore(self, seed, passphrase):\nk = keystore.from_seed(seed, passphrase, self.wallet_type == 'multisig')\n- if self.wallet_ty... | Python | MIT License | spesmilo/electrum | keystore: encapsulate "can_have_deterministic_lightning_xprv" logic |
630,870 | 30.03.2021 21:53:18 | -7,200 | 537ec92460d314857bf955eef1c4fa6fdf2d726a | wallet: change init_lightning to sometimes create deterministic LN keys | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/kivy/main_window.py",
"new_path": "electrum/gui/kivy/main_window.py",
"diff": "@@ -1421,23 +1421,26 @@ class ElectrumWindow(App, Logger):\n\"This means that you must save a backup of your wallet everytime you create a new channel.\\n\\n\"\n\"If yo... | Python | MIT License | spesmilo/electrum | wallet: change init_lightning to sometimes create deterministic LN keys |
630,969 | 31.03.2021 05:34:34 | -7,200 | b0cf9dbeb3a229571eb55b1b65444e4767560bb9 | kivy: remove unnecessary friction in _enable_lightning | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/kivy/main_window.py",
"new_path": "electrum/gui/kivy/main_window.py",
"diff": "@@ -1436,11 +1436,8 @@ class ElectrumWindow(App, Logger):\ndef _enable_lightning(self, b):\nif not b:\nreturn\n- self.protected(_(\"Create lightning keys?\"), self.__en... | Python | MIT License | spesmilo/electrum | kivy: remove unnecessary friction in _enable_lightning |
630,969 | 31.03.2021 06:07:29 | -7,200 | 0459d4adb9dbea782937fa5b4587725ef2d053a8 | history_list: use from_timestamp and to_timestamp in summary | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/qt/history_list.py",
"new_path": "electrum/gui/qt/history_list.py",
"diff": "import os\nimport sys\n+import time\nimport datetime\nfrom datetime import date\nfrom typing import TYPE_CHECKING, Tuple, Dict\n@@ -439,11 +440,11 @@ class HistoryList(My... | Python | MIT License | spesmilo/electrum | history_list: use from_timestamp and to_timestamp in summary |
630,969 | 31.03.2021 09:51:16 | -7,200 | 4b586d9cf0b20ede7bcf59817487e52aa8d4886b | kivy: remove dead code (follow-up 64a931f21e) | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/kivy/main_window.py",
"new_path": "electrum/gui/kivy/main_window.py",
"diff": "@@ -1392,14 +1392,6 @@ class ElectrumWindow(App, Logger):\nstatus = _('Enabled')\nelse:\nstatus = _('Enabled, non-recoverable channels')\n- if self.wallet.db.get('seed_... | Python | MIT License | spesmilo/electrum | kivy: remove dead code (follow-up 64a931f21e) |
630,969 | 31.03.2021 10:57:36 | -7,200 | bf6ecb64182b424a072112e36f5738eaf8cd64b9 | make init_lightning callable at runtime, without reloading the wallet | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/kivy/main_window.py",
"new_path": "electrum/gui/kivy/main_window.py",
"diff": "@@ -1428,8 +1428,5 @@ class ElectrumWindow(App, Logger):\ndef _enable_lightning(self, b):\nif not b:\nreturn\n- wallet_path = self.get_wallet_path()\nself.wallet.init_l... | Python | MIT License | spesmilo/electrum | make init_lightning callable at runtime, without reloading the wallet |
630,969 | 31.03.2021 11:00:55 | -7,200 | e13e0b11f199cdc1a6f20975ed9dec1e7be35d8b | Do not display the warning about static backups in init_lightning. It is not useful to display the same message twice. | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/kivy/main_window.py",
"new_path": "electrum/gui/kivy/main_window.py",
"diff": "@@ -1416,7 +1416,9 @@ class ElectrumWindow(App, Logger):\nelif self.wallet.can_have_lightning():\nroot.dismiss()\nif self.wallet.can_have_deterministic_lightning():\n- ... | Python | MIT License | spesmilo/electrum | Do not display the warning about static backups in init_lightning. It is not useful to display the same message twice. |
630,870 | 31.03.2021 13:52:48 | -7,200 | 815cc5a1d8fb365af845c4d9fddf238510e515ce | gitignore: add some macOS specific stuff | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -17,6 +17,7 @@ bin/\n.mypy_cache\n.vscode\nelectrum_data\n+.DS_Store\n# icons\nelectrum/gui/kivy/theming/light-0.png\n@@ -39,9 +40,11 @@ contrib/android_debug.keystore\ncontrib/android/android_debug.keystore\n... | Python | MIT License | spesmilo/electrum | gitignore: add some macOS specific stuff |
630,870 | 31.03.2021 17:00:39 | -7,200 | c23fca37d48becb76b9cc2db4348be4d2a5039d1 | build: clarify which locale files are included
related: | [
{
"change_type": "MODIFY",
"old_path": "MANIFEST.in",
"new_path": "MANIFEST.in",
"diff": "@@ -25,3 +25,7 @@ global-exclude *.py[co~]\nglobal-exclude *.py.orig\nglobal-exclude *.py.rej\nglobal-exclude .git\n+\n+# Maybe we should exclude the compiled locale files? see https://askubuntu.com/a/144139\n+... | Python | MIT License | spesmilo/electrum | build: clarify which locale files are included
related: 2cb4e56be3292203c7d6b92a5401c2f78df4a496 |
630,870 | 31.03.2021 21:51:57 | -7,200 | f87727c19538e314666f872c357f9b8815594537 | android build: update kivy
fixes
using older kivy master due to | [
{
"change_type": "MODIFY",
"old_path": "contrib/android/buildozer.spec",
"new_path": "contrib/android/buildozer.spec",
"diff": "@@ -42,8 +42,8 @@ requirements =\nandroid,\nopenssl,\nplyer,\n- # kivy 2.0.0\n- kivy==dedcb6bcabe3d8d6758dcee607e8c33b174d782b,\n+ # kivy master 2020-12-10 (2.0.0 plus a fe... | Python | MIT License | spesmilo/electrum | android build: update kivy
fixes #7155
using older kivy master due to #7156 |
630,870 | 01.04.2021 04:36:02 | -7,200 | a2ed95340ce941acb4cc6f9181c78637dcbdc61a | locale/i18n: set language as early as possible
related:
related: | [
{
"change_type": "MODIFY",
"old_path": "run_electrum",
"new_path": "run_electrum",
"diff": "@@ -91,6 +91,7 @@ from electrum.commands import get_parser, known_commands, Commands, config_varia\nfrom electrum import daemon\nfrom electrum import keystore\nfrom electrum.util import create_and_start_event... | Python | MIT License | spesmilo/electrum | locale/i18n: set language as early as possible
related: #7158
related: #4621 |
630,870 | 01.04.2021 17:02:34 | -7,200 | 92226b077ad9d248e0f3325f3de89b34b1778ea5 | qt tx dialog: handle fiat fee for zero-fee tx
fix | [
{
"change_type": "MODIFY",
"old_path": "electrum/wallet.py",
"new_path": "electrum/wallet.py",
"diff": "@@ -1131,7 +1131,7 @@ class Abstract_Wallet(AddressSynchronizer, ABC):\nitem['fiat_currency'] = fx.ccy\nitem['fiat_rate'] = Fiat(fiat_rate, fx.ccy)\nitem['fiat_value'] = Fiat(fiat_value, fx.ccy)\n... | Python | MIT License | spesmilo/electrum | qt tx dialog: handle fiat fee for zero-fee tx
fix #7166 |
630,896 | 22.03.2021 08:25:26 | -3,600 | 63308f94a03efeb43807355df79305cb39ad6565 | reorganize with_lock decorator | [
{
"change_type": "MODIFY",
"old_path": "electrum/address_synchronizer.py",
"new_path": "electrum/address_synchronizer.py",
"diff": "@@ -32,7 +32,7 @@ from aiorpcx import TaskGroup\nfrom . import bitcoin, util\nfrom .bitcoin import COINBASE_MATURITY\n-from .util import profiler, bfh, TxMinedInfo, Unr... | Python | MIT License | spesmilo/electrum | reorganize with_lock decorator |
630,896 | 26.03.2021 09:37:24 | -3,600 | 209449bec4cb60c1cc66137804c79e8332d33235 | lnrouter tests: add another channel to graph
We need another channel to have routes with three hops. This can be
later used to test payment successes. | [
{
"change_type": "MODIFY",
"old_path": "electrum/tests/test_lnrouter.py",
"new_path": "electrum/tests/test_lnrouter.py",
"diff": "@@ -4,6 +4,7 @@ import shutil\nimport asyncio\nfrom electrum.util import bh2u, bfh, create_and_start_event_loop\n+from electrum.lnutil import ShortChannelID\nfrom electru... | Python | MIT License | spesmilo/electrum | lnrouter tests: add another channel to graph
We need another channel to have routes with three hops. This can be
later used to test payment successes. |
630,969 | 02.04.2021 15:33:37 | -7,200 | 039d11e350539e00515223b6fec38e06f8aa393a | Qt swap dialog: do not call update() from the asyncio thread. Fixes some segfaults that were triggered by opening the dialog | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/qt/swap_dialog.py",
"new_path": "electrum/gui/qt/swap_dialog.py",
"diff": "from typing import TYPE_CHECKING, Optional\n+from PyQt5.QtCore import pyqtSignal\nfrom PyQt5.QtWidgets import QLabel, QVBoxLayout, QGridLayout, QPushButton\nfrom electrum.i... | Python | MIT License | spesmilo/electrum | Qt swap dialog: do not call update() from the asyncio thread. Fixes some segfaults that were triggered by opening the dialog |
630,969 | 02.04.2021 17:19:56 | -7,200 | 30d9e6a964ed322becb6dbed367c1acbc32749dc | add contrib/release.sh script | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "contrib/release.sh",
"diff": "+#\n+# Note: update locale before:\n+# 1. cd /opt/electrum-locale && ./update && push\n+# 2. cd to the submodule dir, and git pull\n+# 3. cd .. && git push\n+#!/bin/bash\n+\n+ELECTRUM_DIR=/opt/electrum\n+WWW_DIR=/op... | Python | MIT License | spesmilo/electrum | add contrib/release.sh script |
630,969 | 02.04.2021 17:33:37 | -7,200 | f249ccdfd76374e6e5b940b947ff61e61a1ba933 | prepare release 4.1.1 | [
{
"change_type": "MODIFY",
"old_path": "RELEASE-NOTES",
"new_path": "RELEASE-NOTES",
"diff": "+# Release 4.1.1 (April 2, 2021)\n+ * fix Qt crash with the swap dialog\n+ * fix Kivy bug with scrollbar (#7155)\n+ * fix localization issues (#7158 #4621)\n+ * fix python crash with swaps (#7160)\n+ * othe... | Python | MIT License | spesmilo/electrum | prepare release 4.1.1 |
630,969 | 02.04.2021 18:24:12 | -7,200 | debe5cf03a3867b8b2db19185e5f329f007b5288 | release script: add hash comparison step before uploading | [
{
"change_type": "MODIFY",
"old_path": "contrib/release.sh",
"new_path": "contrib/release.sh",
"diff": "@@ -20,6 +20,7 @@ VERSION=`python3 -c \"import electrum; print(electrum.version.ELECTRUM_VERSION)\"`\necho \"VERSION: $VERSION\"\nREV=`git describe --tags`\necho \"REV: $REV\"\n+COMMIT=$(git rev-p... | Python | MIT License | spesmilo/electrum | release script: add hash comparison step before uploading |
630,870 | 03.04.2021 01:44:42 | -7,200 | 34e64ef152cc433722f460fdb203ce5135be9f6d | qt gui: some more clean-up when exiting
related:
This fixes the case where the user quits by pressing Ctrl+C,
and some other minor things.
There is still another issue that sometimes causes a segfault during shutdown... | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/qt/__init__.py",
"new_path": "electrum/gui/qt/__init__.py",
"diff": "@@ -375,6 +375,9 @@ class ElectrumGui(Logger):\nself.app.lastWindowClosed.connect(quit_after_last_window)\ndef clean_up():\n+ # If there are still some open windows, try to clean... | Python | MIT License | spesmilo/electrum | qt gui: some more clean-up when exiting
related: https://github.com/spesmilo/electrum/issues/6889
This fixes the case where the user quits by pressing Ctrl+C,
and some other minor things.
There is still another issue that sometimes causes a segfault during shutdown... |
630,870 | 03.04.2021 01:47:44 | -7,200 | e686b4081942ee69041338faa277774eb1c1ca7d | qt init: don't catch BaseException unless there is good reason
let KeyboardInterrupt propagate out | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/qt/__init__.py",
"new_path": "electrum/gui/qt/__init__.py",
"diff": "@@ -255,7 +255,7 @@ class ElectrumGui(Logger):\nwallet = None\ntry:\nwallet = self.daemon.load_wallet(path, None)\n- except BaseException as e:\n+ except Exception as e:\nself.lo... | Python | MIT License | spesmilo/electrum | qt init: don't catch BaseException unless there is good reason
let KeyboardInterrupt propagate out |
630,870 | 03.04.2021 04:13:28 | -7,200 | d62a4833e596831b322bdc55d954d35dc4f273ff | lnpeer.channel_establishment_flow: check funding_sat in bounds earlier
closes | [
{
"change_type": "MODIFY",
"old_path": "electrum/lnpeer.py",
"new_path": "electrum/lnpeer.py",
"diff": "@@ -600,9 +600,6 @@ class Peer(Logger):\nif not self.lnworker.channel_db and not self.lnworker.is_trampoline_peer(self.pubkey):\nraise Exception('Not a trampoline node: ' + str(self.their_features... | Python | MIT License | spesmilo/electrum | lnpeer.channel_establishment_flow: check funding_sat in bounds earlier
closes #7169 |
630,870 | 03.04.2021 05:42:32 | -7,200 | 14c5ceeacf8011a67cfa34638e0420bd0e27f09e | qt init: (trivial) refactor system tray | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/qt/__init__.py",
"new_path": "electrum/gui/qt/__init__.py",
"diff": "@@ -122,16 +122,19 @@ class ElectrumGui(Logger):\nself.network_updated_signal_obj = QNetworkUpdatedSignalObject()\nself._num_wizards_in_progress = 0\nself._num_wizards_lock = thr... | Python | MIT License | spesmilo/electrum | qt init: (trivial) refactor system tray |
630,870 | 03.04.2021 06:17:47 | -7,200 | be43632cc47eb8cc35c2a39a21bc2089e5ce8ca1 | qt init: more clean-up for system tray
related: | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/qt/__init__.py",
"new_path": "electrum/gui/qt/__init__.py",
"diff": "@@ -392,6 +392,8 @@ class ElectrumGui(Logger):\nself.app.sendEvent(self.app.clipboard(), event)\nif self.tray:\nself.tray.hide()\n+ self.tray.deleteLater()\n+ self.tray = None\ns... | Python | MIT License | spesmilo/electrum | qt init: more clean-up for system tray
related: https://github.com/spesmilo/electrum/issues/6889#issuecomment-812776695 |
630,969 | 03.04.2021 14:28:22 | -7,200 | e64aed2aeca27014a1fb026588061d45dde9107e | android backups: fix missing parameter | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/kivy/main_window.py",
"new_path": "electrum/gui/kivy/main_window.py",
"diff": "@@ -1342,7 +1342,7 @@ class ElectrumWindow(App, Logger):\nreturn\n# note: Clock.schedule_once is a hack so that we get called on a non-daemon thread\n# (needed for Wall... | Python | MIT License | spesmilo/electrum | android backups: fix missing parameter |
630,870 | 03.04.2021 19:17:32 | -7,200 | 981381346f7dc095f6c0df4150ddc936c9d2884f | qt: even more clean-up before exiting
related: | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/qt/__init__.py",
"new_path": "electrum/gui/qt/__init__.py",
"diff": "@@ -88,6 +88,10 @@ class QNetworkUpdatedSignalObject(QObject):\nclass ElectrumGui(Logger):\n+ network_dialog: Optional['NetworkDialog']\n+ lightning_dialog: Optional['LightningDi... | Python | MIT License | spesmilo/electrum | qt: even more clean-up before exiting
related: https://github.com/spesmilo/electrum/issues/6889#issuecomment-812776695 |
630,870 | 04.04.2021 00:49:25 | -7,200 | a3b16c7640b59a7af940141da3c01b8234df1cc9 | qt init: shutdown properly if last open window was a wizard
fixes | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/qt/__init__.py",
"new_path": "electrum/gui/qt/__init__.py",
"diff": "@@ -240,6 +240,17 @@ class ElectrumGui(Logger):\nself._cleanup_before_exit()\nself.app.quit()\n+ def _maybe_quit_if_no_windows_open(self) -> None:\n+ \"\"\"Check if there are any... | Python | MIT License | spesmilo/electrum | qt init: shutdown properly if last open window was a wizard
fixes #7171 |
630,870 | 04.04.2021 01:05:23 | -7,200 | 1cd5235426dc5640c825a8b5cffa3188498eedab | qt init: rm gui.close() method
There is gui.stop() already, which does the same thing (which is shared API with kivy).
Also, the _cleanup_before_exit() call was redundant in close(),
aboutToQuit handles that. | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/qt/__init__.py",
"new_path": "electrum/gui/qt/__init__.py",
"diff": "@@ -180,7 +180,7 @@ class ElectrumGui(Logger):\nsubmenu.addAction(_(\"Close\"), window.close)\nm.addAction(_(\"Dark/Light\"), self.toggle_tray_icon)\nm.addSeparator()\n- m.addAct... | Python | MIT License | spesmilo/electrum | qt init: rm gui.close() method
There is gui.stop() already, which does the same thing (which is shared API with kivy).
Also, the _cleanup_before_exit() call was redundant in close(),
aboutToQuit handles that. |
630,870 | 04.04.2021 01:43:49 | -7,200 | 349a033ce6a599b1acd98d98b4cd1794b886aa83 | qt: fix some widget parenting issues
If you force-show a widget (e.g. `w.setVisible(True)`) before parenting it,
a small window will flash (appear and disappear) for a fraction of second,
which is a bit irritating. | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/qt/main_window.py",
"new_path": "electrum/gui/qt/main_window.py",
"diff": "@@ -1028,9 +1028,10 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):\nself.history_model.set_view(self.history_list)\nl.searchable_list = l\ntoolbar = l.creat... | Python | MIT License | spesmilo/electrum | qt: fix some widget parenting issues
If you force-show a widget (e.g. `w.setVisible(True)`) before parenting it,
a small window will flash (appear and disappear) for a fraction of second,
which is a bit irritating. |
630,870 | 04.04.2021 02:45:00 | -7,200 | 7102e79aa4f28ea8407cc0ea996f614d8323346f | add missing release notes for old backports | [
{
"change_type": "MODIFY",
"old_path": "RELEASE-NOTES",
"new_path": "RELEASE-NOTES",
"diff": "-# Release 4.1.1 (April 2, 2021)\n+# Release 4.1.1 - (April 2, 2021)\n* fix Qt crash with the swap dialog\n* fix Kivy bug with scrollbar (#7155)\n* fix localization issues (#7158 #4621)\n@@ -456,6 +456,11 @... | Python | MIT License | spesmilo/electrum | add missing release notes for old backports |
630,870 | 04.04.2021 19:07:01 | -7,200 | c1cb2e67f6486f96d05c4345295a26688adcef5b | qt channels dialog: handle funding tx missing
see | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/qt/channel_details.py",
"new_path": "electrum/gui/qt/channel_details.py",
"diff": "@@ -14,7 +14,7 @@ from electrum.lnaddr import LnAddr, lndecode\nfrom electrum.bitcoin import COIN\nfrom electrum.wallet import Abstract_Wallet\n-from .util import B... | Python | MIT License | spesmilo/electrum | qt channels dialog: handle funding tx missing
see https://github.com/spesmilo/electrum/issues/7175#issuecomment-813058152 |
630,870 | 04.04.2021 19:53:10 | -7,200 | 94774c6ad22916026b7183736960abe2f33e3142 | lnutil: add rationale for MIN_FUNDING_SAT
related: | [
{
"change_type": "MODIFY",
"old_path": "electrum/lnutil.py",
"new_path": "electrum/lnutil.py",
"diff": "@@ -309,6 +309,12 @@ REDEEM_AFTER_DOUBLE_SPENT_DELAY = 30\nCHANNEL_OPENING_TIMEOUT = 24*60*60\n+# Small capacity channels are problematic for many reasons. As the onchain fees start to become\n+# ... | Python | MIT License | spesmilo/electrum | lnutil: add rationale for MIN_FUNDING_SAT
related: https://github.com/spesmilo/electrum/issues/7169#issuecomment-812800652 |
630,870 | 04.04.2021 23:00:57 | -7,200 | 84ec734385ca7c81ad79fc1cc2f993f16fe2ebf1 | kivy: implement freezing addresses | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/kivy/uix/dialogs/addresses.py",
"new_path": "electrum/gui/kivy/uix/dialogs/addresses.py",
"diff": "@@ -26,6 +26,7 @@ Builder.load_string('''\nmemo: ''\namount: ''\nstatus: ''\n+ is_frozen: False\nBoxLayout:\nspacing: '8dp'\nheight: '32dp'\n@@ -36,... | Python | MIT License | spesmilo/electrum | kivy: implement freezing addresses |
630,870 | 06.04.2021 18:27:28 | -7,200 | c41cd4ae04d8e44a1810bbf1829326911f0eaf53 | qt init: move Ctrl-C handling earlier | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/qt/__init__.py",
"new_path": "electrum/gui/qt/__init__.py",
"diff": "@@ -393,6 +393,12 @@ class ElectrumGui(Logger):\nwizard.terminate()\ndef main(self):\n+ # setup Ctrl-C handling and tear-down code first, so that user can easily exit whenever\n+... | Python | MIT License | spesmilo/electrum | qt init: move Ctrl-C handling earlier |
630,969 | 06.04.2021 19:04:17 | -7,200 | 1b763b4a3c6a456c6b944c7cd7493a7ec1a54a12 | add electrum svg icons | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "electrum/gui/icons/electrum_darkblue.svg",
"diff": "+<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n+<!-- Created with Inkscape (http://www.inkscape.org/) -->\n+\n+<svg\n+ xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\n+ xmlns:cc=... | Python | MIT License | spesmilo/electrum | add electrum svg icons |
630,896 | 06.04.2021 19:27:44 | -7,200 | 2a45fdf09b6ccde41d896caa2de86f1839bc0468 | lnrouter: penalty code simplification | [
{
"change_type": "MODIFY",
"old_path": "electrum/lnrouter.py",
"new_path": "electrum/lnrouter.py",
"diff": "@@ -334,29 +334,11 @@ class LiquidityHintMgr:\ncan_send = hint.can_send(node_from < node_to)\ncannot_send = hint.cannot_send(node_from < node_to)\n- # if we know nothing about the channel, ret... | Python | MIT License | spesmilo/electrum | lnrouter: penalty code simplification
Co-authored-by: ghost43 <somber.night@protonmail.com> |
630,896 | 26.03.2021 10:53:46 | -3,600 | 95e095fa3f6e226fbca92b7df9fc86de04ed9b37 | lnpeer test: payment now succeeds in two payments | [
{
"change_type": "MODIFY",
"old_path": "electrum/tests/test_lnpeer.py",
"new_path": "electrum/tests/test_lnpeer.py",
"diff": "@@ -814,12 +814,11 @@ class TestPeer(TestCaseForTestnet):\n'ab': (200_000_000, 200_000_000), # high fees\n'bd': (200_000_000, 200_000_000), # high fees\n}\n- # the payment ha... | Python | MIT License | spesmilo/electrum | lnpeer test: payment now succeeds in two payments |
630,870 | 07.04.2021 14:52:54 | -7,200 | dfc0f896b7f8073710d35b0012018d9fe50c80e4 | icons: clean up electrum svg icons
change viewport to square, no cropping, add small margins
rm invisible objects | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/icons/electrum_darkblue.svg",
"new_path": "electrum/gui/icons/electrum_darkblue.svg",
"diff": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n-<!-- Created with Inkscape (http://www.inkscape.org/) -->\n-\n<svg\nxmlns:dc=\"http://pur... | Python | MIT License | spesmilo/electrum | icons: clean up electrum svg icons
- change viewport to square, no cropping, add small margins
- rm invisible objects |
630,870 | 07.04.2021 17:13:43 | -7,200 | c68d73715aa9380086ab6f6c9da260e791d7f84b | android build: only build one apk for debug builds | [
{
"change_type": "MODIFY",
"old_path": "contrib/android/make_apk",
"new_path": "contrib/android/make_apk",
"diff": "@@ -46,13 +46,11 @@ else\n-storepass \"$P4A_DEBUG_KEYSTORE_PASSWD\" \\\n-keypass \"$P4A_DEBUG_KEYALIAS_PASSWD\"\nfi\n- # build two apks (only one on Travis CI)\n+ # only build one apk ... | Python | MIT License | spesmilo/electrum | android build: only build one apk for debug builds |
630,870 | 08.04.2021 10:46:54 | -7,200 | 52be6a545315ec9b99a565a745e80b40681593c0 | lnrater: use network.asyncio_loop instead of asyncio.get_event_loop()
fixes | [
{
"change_type": "MODIFY",
"old_path": "electrum/lnrater.py",
"new_path": "electrum/lnrater.py",
"diff": "@@ -91,14 +91,14 @@ class LNRater(Logger):\nself._last_progress_percent = 0\ndef maybe_analyze_graph(self):\n- loop = asyncio.get_event_loop()\n+ loop = self.network.asyncio_loop\nfut = asyncio.... | Python | MIT License | spesmilo/electrum | lnrater: use network.asyncio_loop instead of asyncio.get_event_loop()
fixes #5376 |
630,870 | 07.04.2021 18:57:04 | -7,200 | 3d9798757dd4bec7dab0375b66aa675d201595e1 | android: update app icon; use "adaptive icons" on API 26+
see
p4a and buildozer had to be patched for this; I will try to upstream the patches, see: | [
{
"change_type": "MODIFY",
"old_path": "contrib/android/Dockerfile",
"new_path": "contrib/android/Dockerfile",
"diff": "@@ -160,8 +160,8 @@ RUN cd /opt \\\n&& cd buildozer \\\n&& git remote add sombernight https://github.com/SomberNight/buildozer \\\n&& git fetch --all \\\n- # commit: kivy/buildozer... | Python | MIT License | spesmilo/electrum | android: update app icon; use "adaptive icons" on API 26+
see https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive
p4a and buildozer had to be patched for this; I will try to upstream the patches, see:
https://github.com/kivy/python-for-android/pull/2446
https://github.com/kivy/buildozer/p... |
630,870 | 08.04.2021 14:39:36 | -7,200 | 0ee944297263e9bc332c101c9a5327395911993b | qt update notifications: add another key for redundancy | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/qt/update_checker.py",
"new_path": "electrum/gui/qt/update_checker.py",
"diff": "@@ -24,7 +24,8 @@ class UpdateCheck(QDialog, Logger):\ndownload_url = \"https://electrum.org/#download\"\nVERSION_ANNOUNCEMENT_SIGNING_KEYS = (\n- \"13xjmVAB1EATPP8Rs... | Python | MIT License | spesmilo/electrum | qt update notifications: add another key for redundancy |
630,870 | 29.02.2020 00:34:06 | -3,600 | 9f08293c0e85e7c0db77a00fc54801bd530f9307 | mnemonic: make sure newly generated seeds are not valid as bip39 | [
{
"change_type": "MODIFY",
"old_path": "electrum/keystore.py",
"new_path": "electrum/keystore.py",
"diff": "@@ -877,12 +877,17 @@ def bip39_to_seed(mnemonic, passphrase):\nb'mnemonic' + passphrase.encode('utf-8'), iterations = PBKDF2_ROUNDS)\n-def bip39_is_checksum_valid(mnemonic: str) -> Tuple[bool... | Python | MIT License | spesmilo/electrum | mnemonic: make sure newly generated seeds are not valid as bip39 |
631,026 | 08.04.2021 22:12:14 | -25,200 | bc72e0fc151a267dafc924cb2cc83d1bcea0ee3d | Prevent spaces from causing issues in make_osx
In some places in the script if some directory name had spaces it could cause issues.
I also added quotes around a few other directory names that currently are hardcoded with names without spaces as a way to prevent any future mishap | [
{
"change_type": "MODIFY",
"old_path": "contrib/osx/make_osx",
"new_path": "contrib/osx/make_osx",
"diff": "@@ -9,7 +9,7 @@ GIT_REPO=https://github.com/spesmilo/electrum\nexport GCC_STRIP_BINARIES=\"1\"\n-. $(dirname \"$0\")/../build_tools_util.sh\n+. \"$(dirname \"$0\")/../build_tools_util.sh\"\nCO... | Python | MIT License | spesmilo/electrum | Prevent spaces from causing issues in make_osx (#7191)
In some places in the script if some directory name had spaces it could cause issues.
I also added quotes around a few other directory names that currently are hardcoded with names without spaces as a way to prevent any future mishap |
630,870 | 08.04.2021 19:49:43 | -7,200 | 1d8b1ef69897ccb94f337a10993ca5d2b7a46741 | dnssec: trivial clean-up
rm unused imports
mark private API as private
don't catch BaseException | [
{
"change_type": "MODIFY",
"old_path": "electrum/dnssec.py",
"new_path": "electrum/dnssec.py",
"diff": "# https://github.com/rthalley/dnspython/blob/master/tests/test_dnssec.py\n-# import traceback\n-# import sys\n-import time\n-import struct\n-import hashlib\n-\n-\n+import dns\nimport dns.name\nimp... | Python | MIT License | spesmilo/electrum | dnssec: trivial clean-up
- rm unused imports
- mark private API as private
- don't catch BaseException |
630,896 | 09.04.2021 09:27:21 | -7,200 | bc20f57a783eff87d663ac379a8baf05d1151227 | lnrouter: remove blacklist boolean | [
{
"change_type": "MODIFY",
"old_path": "electrum/lnrouter.py",
"new_path": "electrum/lnrouter.py",
"diff": "@@ -180,8 +180,7 @@ class LiquidityHint:\nself._cannot_send_forward = None\nself._can_send_backward = None\nself._cannot_send_backward = None\n- self.is_blacklisted = False\n- self.timestamp =... | Python | MIT License | spesmilo/electrum | lnrouter: remove blacklist boolean |
630,896 | 09.04.2021 09:40:33 | -7,200 | 5e03d751ebb6b6f94fafbc800f34ad2bc7f09cc9 | lnrouter: add hint timestamp | [
{
"change_type": "MODIFY",
"old_path": "electrum/commands.py",
"new_path": "electrum/commands.py",
"diff": "@@ -1091,6 +1091,10 @@ class Commands:\nasync def clear_ln_blacklist(self):\nself.network.path_finder.liquidity_hints.clear_blacklist()\n+ @command('n')\n+ async def reset_liquidity_hints(self... | Python | MIT License | spesmilo/electrum | lnrouter: add hint timestamp |
630,870 | 13.04.2021 19:05:07 | -7,200 | 12fac3a167d4d14c0791504d65c3220622bca81f | fix running with --offline | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/kivy/main_window.py",
"new_path": "electrum/gui/kivy/main_window.py",
"diff": "@@ -188,6 +188,7 @@ class ElectrumWindow(App, Logger):\nuse_gossip = BooleanProperty(False)\ndef on_use_gossip(self, instance, x):\nself.electrum_config.set_key('use_go... | Python | MIT License | spesmilo/electrum | fix running with --offline |
630,870 | 14.04.2021 19:08:04 | -7,200 | 67c6f0e1bdf2c8bb967e65c51673d3283cb94808 | wallet: make sure we don't create zero input txs
fixes | [
{
"change_type": "MODIFY",
"old_path": "electrum/coinchooser.py",
"new_path": "electrum/coinchooser.py",
"diff": "@@ -307,6 +307,10 @@ class CoinChooserBase(Logger):\ntotal_input = input_value + bucket_value_sum\nif total_input < spent_amount: # shortcut for performance\nreturn False\n+ # any bitcoi... | Python | MIT License | spesmilo/electrum | wallet: make sure we don't create zero input txs
fixes #7207 |
630,870 | 14.04.2021 08:12:50 | -7,200 | 6650e6bbae12a79e12667857ee039f1b1f30c7e3 | logging: (move-only) move module level code to near the end | [
{
"change_type": "MODIFY",
"old_path": "electrum/logging.py",
"new_path": "electrum/logging.py",
"diff": "@@ -59,21 +59,6 @@ def _shorten_name_of_logrecord(record: logging.LogRecord) -> logging.LogRecord:\nreturn record\n-# enable logs universally (including for other libraries)\n-root_logger = logg... | Python | MIT License | spesmilo/electrum | logging: (move-only) move module level code to near the end |
630,870 | 15.04.2021 18:50:54 | -7,200 | f53f1772036090f36c9d6165b16f5f6f12c30328 | kivy swaps: handle no dynamic fee estimates
fixes | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/kivy/uix/dialogs/lightning_channels.py",
"new_path": "electrum/gui/kivy/uix/dialogs/lightning_channels.py",
"diff": "@@ -680,12 +680,12 @@ class SwapDialog(Factory.Popup):\ndef update_fee_text(self):\nfee_per_kb = self.config.fee_per_kb()\n+ fee_p... | Python | MIT License | spesmilo/electrum | kivy swaps: handle no dynamic fee estimates
fixes #7215 |
630,870 | 15.04.2021 19:00:46 | -7,200 | 7ffb2c3cb03c2e01fa9911779b7d7284840e4f03 | config: (trivial) add some type hints and rm unused variable | [
{
"change_type": "MODIFY",
"old_path": "electrum/interface.py",
"new_path": "electrum/interface.py",
"diff": "@@ -29,7 +29,7 @@ import sys\nimport traceback\nimport asyncio\nimport socket\n-from typing import Tuple, Union, List, TYPE_CHECKING, Optional, Set, NamedTuple, Any, Sequence\n+from typing i... | Python | MIT License | spesmilo/electrum | config: (trivial) add some type hints and rm unused variable |
630,969 | 16.04.2021 16:03:25 | -7,200 | 75d77c55d6d0fa43c338ca00c2cc01c49f737ddc | commands, input sanitization: allow 'max' amounts only in specific contexts (payto, paytomany) | [
{
"change_type": "MODIFY",
"old_path": "electrum/commands.py",
"new_path": "electrum/commands.py",
"diff": "@@ -75,9 +75,12 @@ class NotSynchronizedException(Exception):\npass\n+def satoshis_or_max(amount):\n+ return satoshis(amount) if amount != '!' else '!'\n+\ndef satoshis(amount):\n# satoshi con... | Python | MIT License | spesmilo/electrum | commands, input sanitization: allow 'max' amounts only in specific contexts (payto, paytomany) |
630,870 | 19.04.2021 16:06:43 | -7,200 | 4f6c0c2c61f236f610befe829ae706208db01053 | kivy bump fee dialog: handle no dynamic fee estimates
fix | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/kivy/uix/dialogs/bump_fee_dialog.py",
"new_path": "electrum/gui/kivy/uix/dialogs/bump_fee_dialog.py",
"diff": "@@ -102,11 +102,16 @@ class BumpFeeDialog(FeeSliderDialog, Factory.Popup):\ndef update_text(self):\ntarget, tooltip, dyn = self.config.g... | Python | MIT License | spesmilo/electrum | kivy bump fee dialog: handle no dynamic fee estimates
fix #7220 |
630,870 | 19.04.2021 16:40:57 | -7,200 | b27925c6c5cb512c386173174835496041c0dc37 | kivy tx dialog: dscancel btn text was too long
see first part of | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/kivy/uix/dialogs/tx_dialog.py",
"new_path": "electrum/gui/kivy/uix/dialogs/tx_dialog.py",
"diff": "@@ -197,11 +197,12 @@ class TxDialog(Factory.Popup):\ndef update_action_button(self):\naction_button = self.ids.action_button\n+ # note: button text... | Python | MIT License | spesmilo/electrum | kivy tx dialog: dscancel btn text was too long
see first part of #6868 |
630,870 | 19.04.2021 17:36:24 | -7,200 | b8ec85d61554f11819c1e5dcf38576d2a42a8cbf | kivy tx dialog: abstract away ActionDropdown, mv into its own file | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "electrum/gui/kivy/uix/actiondropdown.py",
"diff": "+from typing import NamedTuple, Callable, Sequence\n+\n+from kivy.uix.dropdown import DropDown\n+from kivy.uix.button import Button\n+\n+from electrum.gui.kivy.i18n import _\n+\n+\n+class Action... | Python | MIT License | spesmilo/electrum | kivy tx dialog: abstract away ActionDropdown, mv into its own file |
630,870 | 19.04.2021 18:02:19 | -7,200 | e15a11a43747e34bae4502a39797a2fdefcca9c9 | kivy: use ActionDropdown in ChannelDetailsPopup | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/kivy/uix/dialogs/lightning_channels.py",
"new_path": "electrum/gui/kivy/uix/dialogs/lightning_channels.py",
"diff": "@@ -4,19 +4,20 @@ from typing import TYPE_CHECKING, Optional, Union\nfrom kivy.lang import Builder\nfrom kivy.factory import Facto... | Python | MIT License | spesmilo/electrum | kivy: use ActionDropdown in ChannelDetailsPopup |
630,870 | 19.04.2021 18:36:59 | -7,200 | 0ab9687734251353e7aa2812757a9d6dedc09ced | kivy: make ActionDropdown disappear when an action is selected | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/kivy/uix/actiondropdown.py",
"new_path": "electrum/gui/kivy/uix/actiondropdown.py",
"diff": "@@ -53,6 +53,11 @@ class ActionDropdown(Button):\ndropdown = DropDown()\nself.text = self.dropdown_text\nself._on_release = dropdown.open\n+ def on_btn(op... | Python | MIT License | spesmilo/electrum | kivy: make ActionDropdown disappear when an action is selected |
630,870 | 19.04.2021 18:51:57 | -7,200 | 4e0a20ae4611858590ab092602ace647f51e1e47 | gui messages: mv one more message to messages.py | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/kivy/uix/dialogs/lightning_channels.py",
"new_path": "electrum/gui/kivy/uix/dialogs/lightning_channels.py",
"diff": "@@ -472,11 +472,7 @@ class ChannelDetailsPopup(Popup, Logger):\nclosed = chan.get_closing_height()\nif closed:\nself.closing_txid,... | Python | MIT License | spesmilo/electrum | gui messages: mv one more message to messages.py |
630,870 | 19.04.2021 18:56:04 | -7,200 | 11bb39ee82eb8dd99f8caedfe6768e90f15066e6 | kivy: implement freezing channels | [
{
"change_type": "MODIFY",
"old_path": "electrum/gui/kivy/uix/dialogs/lightning_channels.py",
"new_path": "electrum/gui/kivy/uix/dialogs/lightning_channels.py",
"diff": "@@ -244,6 +244,8 @@ Builder.load_string(r'''\ncan_receive:''\nis_open:False\nwarning: ''\n+ is_frozen_for_sending: False\n+ is_fro... | Python | MIT License | spesmilo/electrum | kivy: implement freezing channels |
630,969 | 21.04.2021 10:28:36 | -7,200 | 8ce94248d477adbf911b25e34603bb47892ca003 | kivy: update wizard message: pin->password | [
{
"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,7 @@ class ChoiceLineDialog(WizardChoiceDialog):\nclass ShowSeedDialog(WizardDialog):\nseed_text = StringProperty('')\n- mess... | Python | MIT License | spesmilo/electrum | kivy: update wizard message: pin->password |
630,870 | 22.04.2021 17:13:56 | -7,200 | af44c846cc53d31c32a25826af596340053448e7 | tests: add test for payto command | [
{
"change_type": "MODIFY",
"old_path": "electrum/tests/test_commands.py",
"new_path": "electrum/tests/test_commands.py",
"diff": "@@ -6,7 +6,9 @@ from electrum.util import create_and_start_event_loop\nfrom electrum.commands import Commands, eval_bool\nfrom electrum import storage, wallet\nfrom elect... | Python | MIT License | spesmilo/electrum | tests: add test for payto command |
630,870 | 22.04.2021 17:57:50 | -7,200 | 720d60c391b4bf73d0afdcf0c7800b252e067143 | (trivial) rm dead code
follow-up | [
{
"change_type": "MODIFY",
"old_path": "electrum/network.py",
"new_path": "electrum/network.py",
"diff": "@@ -253,7 +253,6 @@ class Network(Logger, NetworkRetryManager[ServerAddr]):\ndefault_server: ServerAddr\n_recent_servers: List[ServerAddr]\n- channel_blacklist: 'ChannelBlackList'\nchannel_db: O... | Python | MIT License | spesmilo/electrum | (trivial) rm dead code
follow-up #7152 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.