Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: madmadmax on August 04, 2013, 02:03:34 PM



Title: Trying to send new coins
Post by: madmadmax on August 04, 2013, 02:03:34 PM
I am trying to send coins that I have just received and I am getting "code": -22,
"message": "TX rejected", why am I getting this error makes no sense? Shouldn't Bitcoin just keep rebroadcasting the transaction until it is sent? Is there anyway to do this without recompiling the source?


Title: Re: Trying to send new coins
Post by: darkmule on August 04, 2013, 02:43:06 PM
You can try manually retransmitting using the blockchain interface here:  https://blockchain.info/pushtx

To get the raw transaction information, get the transaction ID.  In Bitcoin-Qt, go to the transaction list, right click the transaction, and pick transaction details.  Copy the transaction ID. 

Then go to Help --> Debug Window and click the Console tab.

Type in getrawtransaction transactionID, where the transactionID is what you have in the clipboard.  Take that raw transmission data and paste it into the blockchain site.  The blockchain will check the raw transaction for validity, and if it is valid, will then transmit it, whereupon it should show up in the blockchain shortly.

If it still gets an error, your client for whatever reason is generating a malformed transaction.  If it doesn't, your client is for whatever reason generating a valid transaction but then failing to transmit it.


Title: Re: Trying to send new coins
Post by: madmadmax on August 04, 2013, 03:18:52 PM
You can try manually retransmitting using the blockchain interface here:  https://blockchain.info/pushtx

To get the raw transaction information, get the transaction ID.  In Bitcoin-Qt, go to the transaction list, right click the transaction, and pick transaction details.  Copy the transaction ID. 

Then go to Help --> Debug Window and click the Console tab.

Type in getrawtransaction transactionID, where the transactionID is what you have in the clipboard.  Take that raw transmission data and paste it into the blockchain site.  The blockchain will check the raw transaction for validity, and if it is valid, will then transmit it, whereupon it should show up in the blockchain shortly.

If it still gets an error, your client for whatever reason is generating a malformed transaction.  If it doesn't, your client is for whatever reason generating a valid transaction but then failing to transmit it.

I know how to transmit it through blockchain.info what I am looking to do is transmit it with Bitcoin-qt, perhaps set some option in the settings so all of this goes away.