You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
electrum plugin: Automatically enable --skipmerklecheck and --electrum-skip-merkle
For better out-of-the-box pruning support, and to save some resources.
This also changes the way the server/oneserver/skipmerklecheck settings
are set, to reduce the risk of accidentally connecting to public servers
with inappropriate settings:
- The configurations are no longer persisted to the config file and will
get lost on restart, unless the plugin explicitly re-enables them.
- The GUI for changing servers is disabled while the plugin is active,
preventing the user from switching servers with the settings still on.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,14 @@
2
2
3
3
## Unreleased
4
4
5
-
- Electrum: Implement `--electrum-skip-merkle` to avoid generating SPV proofs entirely, even when it's possible. (#34)
5
+
- Electrum server: Implement `--electrum-skip-merkle` to save some resources by not generating SPV proofs entirely, even when it's possible. (#34)
6
+
7
+
- Electrum plugin: Automatically enable `--skipmerklecheck` and `--electrum-skip-merkle`, for better out-of-the-box pruning support and to save some resources. (#34)
6
8
7
9
- Indexer: Use `listsinceblock` instead of `listtransactions`. This makes syncing more bandwidth-efficient and simplifies the implementation. (#33)
8
10
11
+
- Electrum server: Optimize dispatching notifications to subscribers.
12
+
9
13
## 0.1.3 - 2020-06-02
10
14
11
15
- Electrum: Use dummy SPV proofs to support pruning with the `--skipmerklecheck` option.
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -171,7 +171,9 @@ You can use bwt with pruning, but:
171
171
172
172
2. Electrum needs to be run with `--skipmerklecheck` to tolerate missing SPV proofs for transactions in pruned blocks.
173
173
174
-
If you're running Electrum with `--skipmerklecheck`, you may also configure bwt with `--electrum-skip-merkle` to save some resource by not generating SPV proofs even when it's possible.
174
+
> If you're running Electrum with `--skipmerklecheck`, you may also configure bwt with `--electrum-skip-merkle` to save some resources by not generating SPV proofs even when it's possible.
175
+
>
176
+
> Both of these settings are automatically enabled when using the Electrum plugin.
# setting `oneserver`/`skipmerklecheck` directly on `cmdline_options` keeps the settings in-memory only without
111
+
# persisting them to the config file, reducing the chance of accidentally leaving them on with public servers.
112
+
self.config.cmdline_options['oneserver'] =True
113
+
114
+
# for `skipmerklecheck`, this is also the only way to set it an runtime prior to v4 (see https://github.com/spesmilo/electrum/commit/61ccc1ccd3a437d98084089f1d4014ba46c96e3b)
0 commit comments