Bitcoin Forum
May 10, 2024, 03:41:16 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: stuck tx  (Read 725 times)
Altoidnerd (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 251


http://altoidnerd.com


View Profile WWW
January 14, 2015, 08:21:50 AM
Last edit: January 14, 2015, 08:43:47 AM by Altoidnerd
 #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

Do you even mine?
http://altoidnerd.com 
12gKRdrz7yy7erg5apUvSRGemypTUvBRuJ
1715312476
Hero Member
*
Offline Offline

Posts: 1715312476

View Profile Personal Message (Offline)

Ignore
1715312476
Reply with quote  #2

1715312476
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715312476
Hero Member
*
Offline Offline

Posts: 1715312476

View Profile Personal Message (Offline)

Ignore
1715312476
Reply with quote  #2

1715312476
Report to moderator
1715312476
Hero Member
*
Offline Offline

Posts: 1715312476

View Profile Personal Message (Offline)

Ignore
1715312476
Reply with quote  #2

1715312476
Report to moderator
amaclin
Legendary
*
Offline Offline

Activity: 1260
Merit: 1019


View Profile
January 14, 2015, 09: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
Altoidnerd (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 251


http://altoidnerd.com


View Profile WWW
January 14, 2015, 09:13:18 AM
 #3

That worked! beautiful.

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

Do you even mine?
http://altoidnerd.com 
12gKRdrz7yy7erg5apUvSRGemypTUvBRuJ
amaclin
Legendary
*
Offline Offline

Activity: 1260
Merit: 1019


View Profile
January 14, 2015, 09: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.
johoe
Full Member
***
Offline Offline

Activity: 217
Merit: 241


View Profile
January 14, 2015, 04: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.

Donations to 1CF62UFWXiKqFUmgQMUby9DpEW5LXjypU3
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!