Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [rpc-error-25]

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

2
votes
1answer
39 views

Error parsing JSON in bitcoin-cli signrawtransactionwithkey

I have issues trying to sign a 2/3 multisig tx with the first private key. What am I doing something wrong or am I missing something for the arg? Command format: /usr/bin/bitcoin-cli -testnet ...
0
votes
2answers
1k views

bitcoin-cli could not locate RPC credentials

I'm running a bitcoind 0.16 and it seem working, blockchain in sync etc.. I've used the "new" rpcauth, which is non deprecated so kind of referennce as explained here: https://github.com/bitcoin/...
2
votes
2answers
110 views

Problem with Bitcoin Core’s regression test mode

I have started bitcoin daemon with -regtest flag. The output was Bitcoin server starting But, when I run bitcoin-cli -regtest generate 101 command, it shows error: couldn't connect to ...
0
votes
0answers
59 views

RPC connection not working for some altoins Qt walletes

I installed bitcoin-qt and dash-qt on my unbuntu 16.4 server and used a config like this: rpcuser=rpcuser rpcpassword=xxxxx port=xxx daemon=1 listen=1 server=1 txindex=1 rpcallowip=0.0.0.0/0 and was ...
1
vote
0answers
188 views

Using Decred's atomic swap; “transport connection broken: malformed HTTP response”

I am trying to run the initiate command according to the example at https://github.com/decred/atomicswap This is my input: $ btcatomicswap --testnet --rpcuser=myuser --rpcpass=mypass initiate ...
2
votes
0answers
654 views

I can't connect to RPC from python. JSONRPCException: -342

Tryed to run this code : from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException import logging import json logging.basicConfig() logging.getLogger("BitcoinRPC").setLevel(logging.DEBUG) ...
0
votes
1answer
2k views

bitcoind (JSON-RPC) returned HTTP 403 error, i don't know why

I set up bitcoind in Ubuntu 14.04 and I requested "getinfo", but returned HTTP 403 error "FORBIDDEN". I don't know why... The environment is below.. ・Ubuntu is installed in Virtualbox and bitcoind ...
5
votes
1answer
746 views

Problem with sendrawtransaction

When I use bitcoin-cli sendrawtransaction and only get -25 errors. I have tried to push the transaction using different blockchain explorer sites, but that didn't work. I have tried: ...
1
vote
1answer
259 views

OP_RETURN in rawtransaction rejected with error code -25

I'm newbie with bitcoin, i'm trying to generate a rawtransaction but bitcoin-cli sendrawtransaction return me an error code -25. The transaction is { "locktime": 0, "version": 1, "vin": [ ...
4
votes
2answers
1k views

Why is my raw transaction non-canonical, getting error -25, and being rejected?

I'm trying to port TX generation logic to a different (and unpopular) language. I've been beating my head against this way too long and should have walked away but, well, you know, closure, and ...
2
votes
1answer
164 views

UPDATED: -25 when pushing multisig

I am trying to push this correctly signed 2/3 multisig to the network (based on Gavin's example) and I get RPC_VERIFY_ERROR = -25, //! General error during transaction or block submission: The ...
3
votes
1answer
1k views

Receiving `error: {“code”:-25,“message”:“”}` on sendrawtransaction with v0.9.3

I'm running a bitcoind regtest node. When trying to relay a transaction (created using bitcoin-ruby) I receive error: {"code":-25,"message":""} When I restart the node and relay the exact same ...
3
votes
1answer
2k views

Error -25 when bitcoind sendrawtransaction

I am trying to send a bitcoin raw transaction, but always got such an error. what's the possible explaination? bitcoind --testnet sendrawtransaction ...
1
vote
1answer
419 views

Bitcoind transactions in regtest mode always fail with -25 error

I have a problem trying to make a transaction using bitcoind/bitcoin-cli in regtest mode (I do not know if it works in other modes). bitcoin-cli -regtest createrawtransaction '[{"txid" : "...