Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: elements on June 27, 2011, 12:10:19 PM



Title: Sending BTC - Priority Protocol
Post by: elements on June 27, 2011, 12:10:19 PM
Hi,

I was wondering if there is any documentation about the priority protocol when sending bitcoins. I sent 5 BTC 1,5 hrs ago and haven't got a single confirmation.

Yesterday I got the first confirmation for a small payment only after 8 hrs.

Both payments were made with transaction fees.

I'd like to understand the priority protocol better so that's why I'd like to know if there is a way to find out what priority a payment has.

Thank you!



Title: Re: Sending BTC - Priority Protocol
Post by: BTCrow on June 27, 2011, 12:23:46 PM
Hi,

I was wondering if there is any documentation about the priority protocol when sending bitcoins. I sent 5 BTC 1,5 hrs ago and haven't got a single confirmation.

Yesterday I got the first confirmation for a small payment only after 8 hrs.

Both payments were made with transaction fees.

I'd like to understand the priority protocol better so that's why I'd like to know if there is a way to find out what priority a payment has.

Thank you!


In fact transactions fee have nothing to do with priority or not. So you can use the patch to remove fees from the current bitcoin client.

First confirmation after 8 hours, I never saw that...  When you wait did you checked that site: http://www.bitcoincharts.com/bitcoin/
will show you transactions (that he is aware of) unconfirmed and need to be processed. Also check at the bottom of your bitcoin client and make sure it's displaying X number of block equal to what are there: http://www.bitcoincharts.com/bitcoin/

Hope this help :)


Title: Re: Sending BTC - Priority Protocol
Post by: stakhanov on June 27, 2011, 12:28:34 PM
Hi,

I was wondering if there is any documentation about the priority protocol when sending bitcoins. I sent 5 BTC 1,5 hrs ago and haven't got a single confirmation.


The problem as far as I understand it is that miners get to decide whether they include a transaction in a block, and they can decide this entirely arbitraly. Of course, transaction fees should be an incentive to include transactions in their block, but nothing forces them to do so.

@BTCrow : you need to document yourself before posting...


Title: Re: Sending BTC - Priority Protocol
Post by: elements on June 27, 2011, 12:30:11 PM
Thank you !

Yes, I checked the block count in my client and on bitcoin watch. It was equal.

Well, thanks for the info about transaction fees. I thought payments send with transaction fee are higher in priority...



Title: Re: Sending BTC - Priority Protocol
Post by: elements on June 27, 2011, 01:42:15 PM
3 hours and 10 minutes

and still not one confirmation for a 5 BTC payment.

How is ist possible, that in approx. 20 blocks which have been created since sending there wasn't a single spot available for that payment.

Please can someone eleboarte ?


Title: Re: Sending BTC - Priority Protocol
Post by: cloud9 on June 27, 2011, 01:46:19 PM
Check blockexplorer.com and paste the sent address to see if it has been distributed by the network yet.

If not re-run your client with the following flag:    bitcoin -rescan

and wait until at least 1 confirmation is showing before disconnecting your client from the network.


Title: Re: Sending BTC - Priority Protocol
Post by: lemonginger on June 27, 2011, 02:02:02 PM
Are you positive it got broadcast?

Double click the transaction and see what it says - or search for it in the list of unincluded transactions at bitcoincharts/bitcoin


Title: Re: Sending BTC - Priority Protocol
Post by: elements on June 27, 2011, 02:07:38 PM
after i pressed "send" a new window opened asking for a transaction fee of 0.0005 BTC.
I clicked YES and then a new window opened "Paymente sent"

just like always (ok sometimes the fee window doesn't open and the "payment sent" window opens directly).

So, this really creeps me out, because it has never taken so long (except yesterday with the micropayment).

Funny thing is, that the receiving client already shows it - only without confirmations...

It would be really frustrating to loose 5 BTC that way!!!


Title: Re: Sending BTC - Priority Protocol
Post by: elements on June 27, 2011, 02:13:05 PM
OK, I finally got my first two confirmations.

So, thank you everyone for helping!

Still: is there any documentation on how sendings are categorized? When and how priorities are applied/changed? I think a lot of users would like to know!

Thanks again!


Title: Re: Sending BTC - Priority Protocol
Post by: jerfelix on June 27, 2011, 02:13:14 PM
Check your number of connections.

It's possible, I suppose, that you are connected to an "outpost" of the network, that isn't connected to the entire network.  For instance, if you have 0 connections, obviously your transaction is not going to reach the miners.  If you have 1 connection, and the person you are connected to only has 1 connection (i.e. back to you), then the transaction isn't going to make it to the miners.  If you have n connections to people who only have 1 connection (i.e. you), then it's not going anywhere.  And if you have n connections that are all interconnected but have no external connections to the network, then it's not going to make it to the miners.



Title: Re: Sending BTC - Priority Protocol
Post by: qualia8 on June 27, 2011, 02:14:47 PM
How many connections is your client showing?  Mine is often stuck at zero, and that can cause these long delays.


Title: Re: Sending BTC - Priority Protocol
Post by: elements on June 27, 2011, 03:08:27 PM
I'm using the latest client for Mac OSX v0.3.23

and I usually have 8 connections within a few minutes after starting the client.
(I also had 8 connections today and yesterday the whole time)

As far as I know there are no means to get info about how many connections in- and outbound I have via the 8 connections that are shown.



Title: Re: Sending BTC - Priority Protocol
Post by: Man From The Future on June 27, 2011, 03:19:24 PM
I'm using the latest client for Mac OSX v0.3.23

and I usually have 8 connections within a few minutes after starting the client.
(I also had 8 connections today and yesterday the whole time)

As far as I know there are no means to get info about how many connections in- and outbound I have via the 8 connections that are shown.


All connections are inbound and outbound, as in, I can send and receive.

A client opens 8 connections to other clients, and allows other clients to connect to it. If you do not have ports forwarded correctly, others cannot connect to you, only you to them. Try ticking the enable UPNP box in your bitcoin client's settings, and then restarting. It should allow you to get more than 8 ocnnections, although this depends on your setup.


Title: Re: Sending BTC - Priority Protocol
Post by: elements on June 27, 2011, 03:29:57 PM
I tried the upnp box twice but I only had 8 connections as per usual.

Furthermore I don't really know what the upnp means and if it decreases my client's/wallet's security...


Title: Re: Sending BTC - Priority Protocol
Post by: codler on June 27, 2011, 04:48:41 PM
You can read more at wiki
https://en.bitcoin.it/wiki/Transaction_fee#Technical_info

Quote
priority = sum(input_value_in_base_units * input_age)/size_in_bytes