electrum-personal-server

Maximally lightweight electrum server for a single user
git clone https://git.parazyd.org/electrum-personal-server
Log | Files | Refs | README

commit 500e497b96e9b681157ad8ecb9f4ad980603e3f3
parent 8488d0b1032ea42850f983835665925938b50481
Author: chris-belcher <chris-belcher@users.noreply.github.com>
Date:   Thu, 27 Jun 2019 10:38:52 +0100

Made error message have more actionable advice

Inspired by issue #117

Diffstat:
Melectrumpersonalserver/server/common.py | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/electrumpersonalserver/server/common.py b/electrumpersonalserver/server/common.py @@ -153,9 +153,11 @@ def handle_query(sock, line, rpc, txmonitor, disable_mempool_fee_histogram, history_hash = txmonitor.get_electrum_history_hash(scrhash) else: logger.warning("Address not known to server, hash(address) = " + - scrhash + ".\nThis means Electrum is requesting information " + - "about addresses that are missing from Electrum Personal " + - "Server's configuration file.") + scrhash + ".\nCheck that you've imported the master public " + + "key(s) correctly. The first three addresses of each key are " + + "printed out on startup,\nso check that they really are " + + "addresses you expect. In Electrum go to Wallet -> " + + "Information to get the right master public key.") history_hash = hashes.get_status_electrum([]) send_response(sock, query, history_hash) elif method == "blockchain.scripthash.get_history":