chris-belcher / electrum-personal-server

Maximally lightweight electrum server for a single user
MIT License
599 stars 109 forks source link

Wallet passphrase requested #253

Open Nicholforest opened 3 years ago

Nicholforest commented 3 years ago

bitcoin core is working, but when I start eps I get:

INFO:2021-10-26 14:39:59,055: Obtaining bitcoin addresses to monitor . . . INFO:2021-10-26 14:39:59,057: Importing 1 wallets and 1 watch-only addresses into the Bitcoin node Traceback (most recent call last): File "/home/bitcoin/.local/bin/electrum-personal-server", line 10, in sys.exit(main()) File "/home/bitcoin/.local/lib/python3.7/site-packages/electrumpersonalserver/server/common.py", line 480, in main count=int(config.get("bitcoin-rpc", "initial_import_count"))) File "/home/bitcoin/.local/lib/python3.7/site-packages/electrumpersonalserver/server/deterministicwallet.py", line 29, in import_addresses rpc.call("importmulti", [watchonly_addr_param, {"rescan": False}]) File "/home/bitcoin/.local/lib/python3.7/site-packages/electrumpersonalserver/server/jsonrpc.py", line 123, in call raise JsonRpcError(response["error"]) electrumpersonalserver.server.jsonrpc.JsonRpcError: {'code': -13, 'message': 'Error: Please enter the wallet passphrase with walletpassphrase first.'}

1( is this the password associated with the bitcoin account? 2) Should it be entered into bitcoin.conf or config.cfg? 3) What format - in quotes, plain text?

chris-belcher commented 3 years ago

I'd recommend you create a new wallet for Bitcoin Core which is only used for EPS, and which isnt encrypted with a passphrase. The Core wallet used by EPS is just a watch only wallet, so there is no private key information and therefore theres not much point encrypting it. You tell EPS to use that new Core wallet by configuring in the config.cfg file here