Bitcoin Forum
December 09, 2016, 04:02:07 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: transactions in limbo  (Read 637 times)
ihadanny
Newbie
*
Offline Offline

Activity: 9


View Profile
July 18, 2011, 06:26:44 PM
 #1

Hey,
What happens if I broadcast a new transaction to the network, but it only gets picked by miners that lost, and the winning miner for the next block did not receive my transaction?
How will it enter the block chain?
1481256127
Hero Member
*
Offline Offline

Posts: 1481256127

View Profile Personal Message (Offline)

Ignore
1481256127
Reply with quote  #2

1481256127
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Captain Bitcoin
Newbie
*
Offline Offline

Activity: 14


View Profile
July 18, 2011, 06:28:33 PM
 #2

It definitely  will ... somehow (I'm noob, but I somehow I know it's not a problem).

>>>>>>>>> New Global Bitcoin Trend  (http://bitcoinpyramid.com/r/51)<<<<<<<<<<
theymos
Administrator
Legendary
*
Offline Offline

Activity: 2506


View Profile
July 18, 2011, 06:32:56 PM
 #3

Bitcoin will automatically rebroadcast it every 30 minutes or so until it gets into a block.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
ihadanny
Newbie
*
Offline Offline

Activity: 9


View Profile
July 18, 2011, 07:36:51 PM
 #4

thanks! could you be more specific? who re-broadcasts the transactions every 30 minutes - my specific client? or everybody on the network aware of my transaction?
does a miner queue up all the unconfirmed transactions known to him when considering who will enter his next block according to their age?
if not, isn't it possible for my transaction to starve forever?
where can i see the code for this process?
Xephan
Jr. Member
*
Offline Offline

Activity: 42


View Profile
July 18, 2011, 07:55:15 PM
 #5

thanks! could you be more specific? who re-broadcasts the transactions every 30 minutes - my specific client? or everybody on the network aware of my transaction?
does a miner queue up all the unconfirmed transactions known to him when considering who will enter his next block according to their age?
if not, isn't it possible for my transaction to starve forever?
where can i see the code for this process?


That's why there's an option to pay a transaction fee, it will push your transaction up the queue. Although so far from my limited grand total of 3 transactions, this doesn't seem to be an issue. At least not at the moment when so many people are mining.

186q9YUW3x8TVHC5aYBEqgZZYMxft8Cw9f
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2002



View Profile
July 18, 2011, 08:05:35 PM
 #6

thanks! could you be more specific? who re-broadcasts the transactions every 30 minutes - my specific client?

If the client knows it has spent a coin but doesn't see that spend transaction in any blocks received, it will resend that transaction.  It is done infrequently and randomly to avoid giving away that the client is the origin of those transactions.

where can i see the code for this process?
 - https://github.com/bitcoin/bitcoin/blob/master/src/wallet.cpp#L693

You can see which transactions at least one node knows about yet have not yet been included in a block:
  - http://www.bitcoincharts.com/bitcoin

Maged
Legendary
*
Offline Offline

Activity: 1260


View Profile
July 18, 2011, 08:14:56 PM
 #7

In addition to the above...
thanks! could you be more specific? who re-broadcasts the transactions every 30 minutes - my specific client? or everybody on the network aware of my transaction?
If you happen to connect to a client that isn't aware of your transaction (or rejected it in the past), and they accept it, they will broadcast the transaction to anyone they are connected to when you rebroadcast the transaction.

does a miner queue up all the unconfirmed transactions known to him when considering who will enter his next block according to their age?
Pretty much. However, age is just one factor taken into account.

if not, isn't it possible for my transaction to starve forever?
Yes, that's possible. That's why the client has built-in checks to make sure that you pay enough fees so that this won't happen (at least, currently; all bets are off once most mining pools start modifying their clients).

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!