Author

Topic: stuck tx (Read 742 times)

full member
Activity: 217
Merit: 259
January 14, 2015, 12:40:30 PM
#5
That worked! beautiful.

Why did my attempt to do it in the console fail?  Whats error code -22?

I think that if the transaction is already known by the bitcoind you can't send it again.  Since you got it with getrawtransaction it was already known.

AFAIK bitcoind will only resent transactions that belong to some of the wallet addresses it knows of.  Otherwise, if you were not connected to enough good peers at the first time, the transaction may get stuck.  In that case I think you need to restart bitcoind, or push the raw transaction through some other server.
legendary
Activity: 1260
Merit: 1019
January 14, 2015, 05:21:11 AM
#4
That worked! beautiful.

Why did my attempt to do it in the console fail?  Whats error code -22?

May be you have another conflicting transaction in your memory pool.
Bitcoin core does not allow conflicting trnsactions even none of them are confirmed.
Check your "transactions" tab for unconfirmed transactions (they are marked with '?')
And restart client to clear the memory pool.
sr. member
Activity: 406
Merit: 251
http://altoidnerd.com
January 14, 2015, 05:13:18 AM
#3
That worked! beautiful.

Why did my attempt to do it in the console fail?  Whats error code -22?
legendary
Activity: 1260
Merit: 1019
January 14, 2015, 05:01:43 AM
#2
try to push this long string (your transaction in hex representation) here:
https://blockchain.info/pushtx
or here:
http://webbtc.com/relay_tx
sr. member
Activity: 406
Merit: 251
http://altoidnerd.com
January 14, 2015, 04:21:50 AM
#1
How can I rebroadcast a tx?

I can't figure out why a tx I sent from core v0.9.1.0-g026a939 is stuck and not being spotted by anyone - not blockchain, not coinbase (recipient)

Code:
Status: 0/unconfirmed
Date: 1/14/15 02:49
To: 2.00000912 1MtRBy3VucV45wYZoztWrwNKf4APoVJNeA
Debit: -0.509 BTC
Transaction fee: -0.0002 BTC
Net amount: -0.5092 BTC
Transaction ID: 25d5283c75b1dcba6e7fb1ac1919d7ec4b57263db3f8bdbfe451f77190878175-000

I went to debug and did

Code:
getrawtransaction 25d5283c75b1dcba6e7fb1ac1919d7ec4b57263db3f8bdbfe451f77190878175 

which returned a long hex string.  Then I did

Code:
sendrawtransaction (hex string ... )

which returned

Code:
TX rejected (code -22)

pls halp
Jump to: