RPC giving error -13

0

Bitcoin rpc calls giving error

-13: Error: Please enter the wallet passphrase with walletpassphrase first.

Pankaj Kumar

Posted 2018-11-28T10:29:49.347

Reputation: 145

Answers

2

Your wallet is locked with a passphrase, first you need to unlock it before executing commands related to private keys using walletpassphrase:

# Unlock the wallet for 60 seconds
$ bitcoin-cli walletpassphrase "my pass phrase" 60

# Some transaction commands ...

# Lock the wallet again (before 60 seconds)
$ bitcoin-cli walletlock 

JBaczuk

Posted 2018-11-28T10:29:49.347

Reputation: 6 172

i am running the bitcoind-cli in regtest also i have not added any passphrasePankaj Kumar 2018-11-29T09:09:17.280

The wallet is protected with a password. You can always delete your regtest files and start overJBaczuk 2018-11-29T12:57:02.737

when i have first time started the reg test at that time i have not created any wallet passphrase , if there is already wallet passphrase created then how can i see that , Is there is any conf file that store the wallet passphrase ?Pankaj Kumar 2018-11-30T09:05:53.380