I have encrypted a running node's wallet - node stop syncing

+2 votes

Hi,

I have encrypted a running node's wallet (encryptwallet) and now the node is stop syncing with the network.

The debug messages are:

2018-10-17 13:23:59 mchn: Sending minimal parameter set to xx.xx.xx.xx:yyyy
2018-10-17 13:23:59 mchn: Internal error: Connection address not found in the wallet
2018-10-17 13:23:59 receive version message: /MultiChain:0.1.0.9/: version 70002, blocks=85076, us=my.ip.address:49969, peer=545
2018-10-17 13:23:59 mchn: Internal error: Connection address not found in the wallet
2018-10-17 13:23:59 ProcessMessage(verack, 321 bytes) FAILED peer=545

 

getinfo:

{
    "version" : "1.0.6",
    "nodeversion" : 10006901,
    "protocolversion" : 10009,
    "chainname" : "CHAN1",
    "description" : "...",
    "protocol" : "multichain",
    "port" : yyyy,
    "setupblocks" : 60,
    "nodeaddress" : "CHAN1@192.168.100.11:7269",
    "burnaddress" : "fXXXXXXY1mXXXXXXtNXXXXXXYJXXXXXXbMXyzT",
    "incomingpaused" : false,
    "miningpaused" : false,
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "walletdbversion" : 2,
    "reindex" : false,
    "blocks" : 85025,
    "timeoffset" : 0,
    "connections" : 0,
    "proxy" : "",
    "difficulty" : 0.00000006,
    "testnet" : false,
    "keypoololdest" : 1539779127,
    "keypoolsize" : 1,
    "unlocked_until" : 0,
    "paytxfee" : 0.00000000,
    "relayfee" : 0.00000000,
    "errors" : ""
}

It is stop working at that block height (when I encrypted the wallet), the network height now is 85076

 

 

asked Oct 17, 2018 by W4D

1 Answer

+1 vote

If you encrypt the wallet then the node cannot gain access to the private keys within, until it is unencrypted. One of these keys is required to connect to another node. To fix the problem use walletpassphrase to decrypt the wallet in memory using the password you set, then the node will be able to connect.

answered Oct 17, 2018 by MultiChain
Thank you, it works.
...