Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: mb300sd on April 30, 2012, 06:38:31 AM



Title: Transaction rebroadcast button... 2BTC bounty!
Post by: mb300sd on April 30, 2012, 06:38:31 AM
I'm experiencing this very annoying issue right now. I sent a transaction while bitcoin was offline, I had to restart it to get it to connect and now have to wait forever for it to actually send. How difficult would it be for someone to write a patch that adds a rebroadcast button to transactions that are unconfirmed when bitcoin is opened? Even an rpc command would be great...


Title: Re: Transaction rebroadcast button... 2BTC bounty!
Post by: Stephen Gornick on April 30, 2012, 10:34:53 AM
I'm experiencing this very annoying issue right now. I sent a transaction while bitcoin was offline, I had to restart it to get it to connect and now have to wait forever for it to actually send. How difficult would it be for someone to write a patch that adds a rebroadcast button to transactions that are unconfirmed when bitcoin is opened? Even an rpc command would be great...

According to this -forceresend is going to be a command line option perhaps?  Or was it closed and is not being implemented (since the rebroadcast will occrur within 30 minutes anyway?)
 - https://github.com/bitcoin/bitcoin/pull/421


Title: Re: Transaction rebroadcast button... 2BTC bounty!
Post by: grue on May 01, 2012, 12:32:39 AM
1. start bitcoin
2. set system clock ahead 30 minutes
3. ???
4. profit!

gimme my 2 BTC!


Title: Re: Transaction rebroadcast button... 2BTC bounty!
Post by: throwaway on May 02, 2012, 01:56:52 PM
Some shopping addresses expire after 15 minutes, so the "rebroadcast now" button is definitely a good idea.


Title: Re: Transaction rebroadcast button... 2BTC bounty!
Post by: wabber on May 02, 2012, 02:24:05 PM
Some shopping addresses expire after 15 minutes, so the "rebroadcast now" button is definitely a good idea.

which merchants do that? Because for me that's obviously scamming. Can't they even save a few bytes for more than 15min :O


Title: Re: Transaction rebroadcast button... 2BTC bounty!
Post by: Stephen Gornick on May 02, 2012, 07:17:49 PM
Some shopping addresses expire after 15 minutes, so the "rebroadcast now" button is definitely a good idea.

which merchants do that? Because for me that's obviously scamming. Can't they even save a few bytes for more than 15min :O

Some do that to protect against exchange rate volatility.  The coins aren't lost, and in most instances the transaction can still be completed, just that the rate isn't guaranteed.  Generally you will only see this when there is a very low margin and that is the only way the service can offer the good at that price.  SpendBitcoins, for instance, is one which limits the amount of time for a transaction to arrive.  But they are giving credit at market price at the time the order is places, so even a 1% move in a few minutes (something that happens all to often with bitcoin) can cause them to lose money on the transaction.

But the "on-demand" re-broadcast feature is something that makes sense.  There is no technical reason not to have this, and it doesn't go against the protocol.


Title: Re: Transaction rebroadcast button... 2BTC bounty!
Post by: grue on May 02, 2012, 08:00:49 PM
Some do that to protect against exchange rate volatility.  The coins aren't lost, and in most instances the transaction can still be completed, just that the rate isn't guaranteed.  Generally you will only see this when there is a very low margin and that is the only way the service can offer the good at that price.  SpendBitcoins, for instance, is one which limits the amount of time for a transaction to arrive.  But they are giving credit at market price at the time the order is places, so even a 1% move in a few minutes (something that happens all to often with bitcoin) can cause them to lose money on the transaction.

But the "on-demand" re-broadcast feature is something that makes sense.  There is no technical reason not to have this, and it doesn't go against the protocol.

The only problem I can see is new users spamming "rebroadcast" in hopes of getting confirms faster. While this is not going to cause a flood, it is going to make it easier to trace the originator of a transaction, which reduces anonymity.


Title: Re: Transaction rebroadcast button... 2BTC bounty!
Post by: Stephen Gornick on May 02, 2012, 08:28:30 PM
The only problem I can see is new users spamming "rebroadcast" in hopes of getting confirms faster. While this is not going to cause a flood, it is going to make it easier to trace the originator of a transaction, which reduces anonymity.

But that is their choice to do.  And when anonymity is less important than resolving an outstanding issue, the technical ability to allow that seems a function the client should offer.    Even if it is only at the command line level if necessary.