Author

Topic: transactions in limbo (Read 799 times)

legendary
Activity: 1204
Merit: 1015
July 18, 2011, 04: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).
legendary
Activity: 2506
Merit: 1010
July 18, 2011, 04: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
newbie
Activity: 42
Merit: 0
July 18, 2011, 03: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.
newbie
Activity: 9
Merit: 0
July 18, 2011, 03: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?
administrator
Activity: 5222
Merit: 13032
July 18, 2011, 02:32:56 PM
#3
Bitcoin will automatically rebroadcast it every 30 minutes or so until it gets into a block.
newbie
Activity: 14
Merit: 0
July 18, 2011, 02:28:33 PM
#2
It definitely  will ... somehow (I'm noob, but I somehow I know it's not a problem).
newbie
Activity: 9
Merit: 0
July 18, 2011, 02: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?
Jump to: