Skip to main content

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

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

Why can't I bumpfee a tx with 19 ancestors?

I have a wallet in bitcoin core 25.0 where one transaction has 19 ancestors and no descendants (the transaction IDs are obfuscated by A-T, where T is the most recent): $ bitcoin-cli ...
Kalle Rosenbaum's user avatar
3 votes
1 answer

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 K.'s user avatar
  • 3,198
2 votes
1 answer

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

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 ...
Do Not Track Me's user avatar
1 vote
1 answer

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

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
0 votes
1 answer

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
  • 185
0 votes
0 answers

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