Questions tagged [rpc-error-4]

For when bitcoin returns "code":-4 after calling an RPC function. Also known as RPC_WALLET_ERROR. Don't use this tag for general errors.

Filter by
Sorted by
Tagged with
4 votes
2 answers
1k views

Error: Wallet backup failed! (code -4) when setting up bitcoin-qt for first time

I downloaded and ran bitcoin-qt to play around with. First thing I did was create a wallet passphrase. The second thing I did was try to create a wallet backup. Then I got this message: Error: ...
theporpoise's user avatar
3 votes
1 answer
5k views

Dumpprivkey or dumpwallet won't show my private key for the address in my wallet

Haven't opened my wallet in a while so it's not in sync with the network. 5400 blocks remaining as I write. The wallet is not encrypted. Received some bitcoins to my address in this wallet. Now I ...
Emre Kenci's user avatar
  • 3,168
2 votes
1 answer
869 views

Namecoin: This transaction requires a transaction fee...But I have NMC

When I am attempting to reserve a name using the command: namecoind.exe name_new d/ I keep getting this error... error: {"code":-4,"message":"Error: This transaction requires a transaction fee of at ...
aceinthehole's user avatar
1 vote
1 answer
1k views

Bitcoin-Qt Command line - adding private key - Mac OSX

I recently created a custom Public key (with vanitygen) and i would like to add the corresponding private key to my bitcoin-Qt wallet client. I have started bitcoin-Qt in server mode using: $ open ...
deweydb's user avatar
  • 247
1 vote
1 answer
645 views

False error notifcation (double spent) 'code' => -4, 'message'

Now and than I seem to get a consistent false error notification. Error message: Request error: array ( 'code' => -4, 'message' => 'Error: The transaction was rejected! This might happen if some ...
Mike Hutting's user avatar
0 votes
1 answer
1k views

How do I use the getblocktemplate RPC command of Bitcoin Core GUI? I tried the following usages but none of them worked

I tried the following commands, but none of them worked. -getblocktemplate "segwit" -Error: Error parsing JSON: segwit -getblocktemplate ("segwit") -Error: Error parsing JSON: ...
GoneV's user avatar
  • 175
0 votes
0 answers
45 views

Getting hdseed from bitcoincore wallet [duplicate]

I want to recover the hdseed for a wallet in bitcoin-core. If I create a new wallet cli createwallet mywallet I assume that bitcoind will generate a random hdseed for it. But I don't see how to ...
Lepus Cyberneticus's user avatar
0 votes
1 answer
78 views

Will remote RPC under http expose the rpcusername and rpcpassword?

I'm confused with the examples of contacting bitcoin-cli as the examples always show sending user name:pass to http does this expose the name:pass? This command: (I modified the help example from ...
Ben Muircroft's user avatar