ttweaked the readme file, fixed a crash in broadcast transaction code - electrum-personal-server - Maximally lightweight electrum server for a single user
HTML git clone https://git.parazyd.org/electrum-personal-server
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit 0005f9b16f2ec818d564a4d431dc51b513088f54
DIR parent 66dad7f2f6e9432464c45d1c5ea1abae0ee5877c
HTML Author: chris-belcher <chris-belcher@users.noreply.github.com>
Date: Mon, 16 Apr 2018 19:45:06 +0100
ttweaked the readme file, fixed a crash in broadcast transaction code
Diffstat:
M README.md | 11 +++++------
M server.py | 2 +-
2 files changed, 6 insertions(+), 7 deletions(-)
---
DIR diff --git a/README.md b/README.md
t@@ -64,12 +64,11 @@ matches what is written in `config.cfg` (port 50002 by default).
A guide for installing Electrum Personal Server on a Raspberry Pi can be found
[here](https://github.com/Stadicus/guides/blob/master/raspibolt/raspibolt_64_electrum.md).
-By default Electrum will connect to several Electrum servers to obtain block
-headers. This can be avoided by starting Electrum on the command line with the
-`--oneserver` flag.
-
-By using the `--oneserver --server 127.0.0.1:50002:s` flags, the autoconnect
-button in the GUI can be disabled to prevent accidentally clicking on it.
+Pro Tip: run Electrum wallet with the command line arguments `--oneserver --server localhost:50002:s`.
+This stops Electrum connecting to several other servers to obtain block
+headers; and locks Electrum to connect only to your server, disabling the GUI
+button to stop accidental connections. This helps avoid a user accidentally
+ruining their privacy by connecting to public Electrum servers.
Electrum Personal Server also works on [testnet bitcoin](https://en.bitcoin.it/wiki/Testnet). The Electrum wallet can be started in testnet mode with the command line flag `--testnet`.
DIR diff --git a/server.py b/server.py
t@@ -196,7 +196,7 @@ def handle_query(sock, line, rpc, txmonitor):
try:
result = rpc.call("sendrawtransaction", [query["params"][0]])
except JsonRpcError as e:
- result = e.message
+ result = str(e)
debug("tx broadcast result = " + str(result))
send_response(sock, query, result)
elif method == "mempool.get_fee_histogram":