Bitcoin Forum
May 09, 2024, 10:37:14 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: transactions in limbo  (Read 794 times)
ihadanny (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


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?
1715294234
Hero Member
*
Offline Offline

Posts: 1715294234

View Profile Personal Message (Offline)

Ignore
1715294234
Reply with quote  #2

1715294234
Report to moderator
1715294234
Hero Member
*
Offline Offline

Posts: 1715294234

View Profile Personal Message (Offline)

Ignore
1715294234
Reply with quote  #2

1715294234
Report to moderator
1715294234
Hero Member
*
Offline Offline

Posts: 1715294234

View Profile Personal Message (Offline)

Ignore
1715294234
Reply with quote  #2

1715294234
Report to moderator
Bitcoin mining is now a specialized and very risky industry, just like gold mining. Amateur miners are unlikely to make much money, and may even lose money. Bitcoin is much more than just mining, though!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Captain Bitcoin
Newbie
*
Offline Offline

Activity: 14
Merit: 0


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).
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5194
Merit: 12982


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 (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


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
Newbie
*
Offline Offline

Activity: 42
Merit: 0


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.
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


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

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


Maged
Legendary
*
Offline Offline

Activity: 1204
Merit: 1015


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:  

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