Bitcoin Forum
April 16, 2024, 10:53:04 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: newbie questions: fee estimation, file size prediction, ISP blocking  (Read 2135 times)
zyb (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
April 18, 2011, 01:57:48 PM
 #1

Hi, I'm using bitcoin for a few days now. I read a lot in the forum but am certainly still missing a lot of points I guess. So, here come a couple of questions that are puzzling me, and which are probably totally clear to you:

1. I see that there is a reason for transaction confirmation being relatively slow, where the main limitation comes from the protocol which allows procession of a block every 10 minutes. As far as I have understood, paying a fee increases the probability for a transaction. I sent out three orders at the same time (same origin, same recipient, same amount), but one with zero fee, one with 0.1 BTC and one with 0.2 BTC fee. All three transactions got their first confirmation after ca 1h, and it took ca 2h to get 6 confirmations. Shouldn't those transactions with fees have been processed faster? What fee should be paid to "ensure" that the transaction will be in the next block? Is there a way to estimate procession probability as a function of the fee? Does the amount of coins transferred (in my case three times 0.01 BTC) matter?

2. Do I understand that correctly, that blk0001.dat contains the complete global history of transactions?

3. My blk0001.dat file is 122 MB. When the bitcoin network is growing transactions will probably grow exponentially. Will that cause the file size also to grow exponentially? If so, isn't that a showstopper?

4. Can't it just happen that an ISP blocks all bitcoin connections, let's say, if a government decides that bitcoin is illegal an forces ISPs to do so? Or are the bitcoin packets designed in a way so that they are not (easily) discoverable by an ISP?

Thanks for clarifications!
1713264784
Hero Member
*
Offline Offline

Posts: 1713264784

View Profile Personal Message (Offline)

Ignore
1713264784
Reply with quote  #2

1713264784
Report to moderator
1713264784
Hero Member
*
Offline Offline

Posts: 1713264784

View Profile Personal Message (Offline)

Ignore
1713264784
Reply with quote  #2

1713264784
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
theGECK
Sr. Member
****
Offline Offline

Activity: 411
Merit: 250



View Profile
April 18, 2011, 07:16:22 PM
 #2

I will answer to the best of my ability.

1) The transaction fees only matter when the room for free transactions is filled up. Transactions can be given priority in 2 ways, by transaction fee and by age. The older a transaction is, the higher priority it is given. This applies to both free and fee transactions. If you pay a transaction fee, your transaction is placed into the section of the block that can contain hundreds of transactions. If that is full, the size of the fee and the age of the transaction determine which gets into the block first. All three of your transactions were confirmed at the same time because there was room in the block for them, so priority didn't matter.

2) Yes

3) The file size shouldn't grow more than a few hundred MB a year at full capacity, and that is if you are downloading the full chain. There are options for making the size smaller, just using headers, etc that are not necessary to implement at this time.

4) Bitcoin uses IRC, so an ISP would have to block IRC to stop it.

Use my referral codes for Bitcoin faucets and I'll send you 30% of my referral bonus - Win/Win! PM for details on all sites available or use one of the links here.

FreeBitco.in | FreeDoge.co.in
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5166
Merit: 12864


View Profile
April 18, 2011, 07:55:06 PM
 #3

4) Bitcoin uses IRC, so an ISP would have to block IRC to stop it.

Bitcoin doesn't use IRC for communication. It uses TCP over a fixed port, which makes it very easy to block. You can use Tor to bypass this, though.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
MoonShadow
Legendary
*
Offline Offline

Activity: 1708
Merit: 1007



View Profile
April 18, 2011, 08:14:55 PM
 #4


1. I see that there is a reason for transaction confirmation being relatively slow, where the main limitation comes from the protocol which allows procession of a block every 10 minutes.


Bitcoin's transactions confirmations are relatively fast, actually.  The banks and credit card companies maintain the illusion of instant transaction processing by simply making an advance guess on the likelyhood that your transaction isn't fraudulent, but then takes days to confirm.  Bitcoin could use a similar method to have instant transactions as well, but doesn't necessarily need such a method.
Quote
As far as I have understood, paying a fee increases the probability for a transaction. I sent out three orders at the same time (same origin, same recipient, same amount), but one with zero fee, one with 0.1 BTC and one with 0.2 BTC fee. All three transactions got their first confirmation after ca 1h, and it took ca 2h to get 6 confirmations. Shouldn't those transactions with fees have been processed faster?


This shows that, at present, there is no gain to adding voluntary transaction fees.  It is strange that your transactions took so long to process.  Was your client connected to the Bitcoin network at the time?

Quote

What fee should be paid to "ensure" that the transaction will be in the next block?


There is no way to garantee that any particular transaction will be in the next block.

Quote

2. Do I understand that correctly, that blk0001.dat contains the complete global history of transactions?


At present, this is an accurate understanding.

Quote

3. My blk0001.dat file is 122 MB. When the bitcoin network is growing transactions will probably grow exponentially. Will that cause the file size also to grow exponentially? If so, isn't that a showstopper?


The protocol includes a couple differnet methods of mitigating the expansion of the blockchain, none of which are presently implemented.
Quote

4. Can't it just happen that an ISP blocks all bitcoin connections, let's say, if a government decides that bitcoin is illegal an forces ISPs to do so? Or are the bitcoin packets designed in a way so that they are not (easily) discoverable by an ISP?


Traffic is quite open, and easily identified or blocked.  However, there are other methods of hiding the traffic, such as TOR, I2P or just a SSH tunnel.

"The powers of financial capitalism had another far-reaching aim, nothing less than to create a world system of financial control in private hands able to dominate the political system of each country and the economy of the world as a whole. This system was to be controlled in a feudalist fashion by the central banks of the world acting in concert, by secret agreements arrived at in frequent meetings and conferences. The apex of the systems was to be the Bank for International Settlements in Basel, Switzerland, a private bank owned and controlled by the world's central banks which were themselves private corporations. Each central bank...sought to dominate its government by its ability to control Treasury loans, to manipulate foreign exchanges, to influence the level of economic activity in the country, and to influence cooperative politicians by subsequent economic rewards in the business world."

- Carroll Quigley, CFR member, mentor to Bill Clinton, from 'Tragedy And Hope'
MoonShadow
Legendary
*
Offline Offline

Activity: 1708
Merit: 1007



View Profile
April 18, 2011, 08:18:54 PM
 #5

but I pay $2/GB for my internet usage so I'm hoping around 500MB or so.

Why is this?  Are you on a wireless ISP plan?  Or do you herald from a nation with poor access in general?

"The powers of financial capitalism had another far-reaching aim, nothing less than to create a world system of financial control in private hands able to dominate the political system of each country and the economy of the world as a whole. This system was to be controlled in a feudalist fashion by the central banks of the world acting in concert, by secret agreements arrived at in frequent meetings and conferences. The apex of the systems was to be the Bank for International Settlements in Basel, Switzerland, a private bank owned and controlled by the world's central banks which were themselves private corporations. Each central bank...sought to dominate its government by its ability to control Treasury loans, to manipulate foreign exchanges, to influence the level of economic activity in the country, and to influence cooperative politicians by subsequent economic rewards in the business world."

- Carroll Quigley, CFR member, mentor to Bill Clinton, from 'Tragedy And Hope'
theGECK
Sr. Member
****
Offline Offline

Activity: 411
Merit: 250



View Profile
April 18, 2011, 09:21:00 PM
 #6

4) Bitcoin uses IRC, so an ISP would have to block IRC to stop it.

Bitcoin doesn't use IRC for communication. It uses TCP over a fixed port, which makes it very easy to block. You can use Tor to bypass this, though.

It connects to an IRC server though when it is downloading the blockchain. Does it change the port from there?

Use my referral codes for Bitcoin faucets and I'll send you 30% of my referral bonus - Win/Win! PM for details on all sites available or use one of the links here.

FreeBitco.in | FreeDoge.co.in
MoonShadow
Legendary
*
Offline Offline

Activity: 1708
Merit: 1007



View Profile
April 18, 2011, 09:24:36 PM
 #7

4) Bitcoin uses IRC, so an ISP would have to block IRC to stop it.

Bitcoin doesn't use IRC for communication. It uses TCP over a fixed port, which makes it very easy to block. You can use Tor to bypass this, though.

It connects to an IRC server though when it is downloading the blockchain. Does it change the port from there?

The client does not require access to IRC to bootstrap, it's just quicker.  The clients communicate directly with one another in a peer-to-peer fashion, and do not require IRC or any other client-server protocol to act as a network intermediary.

"The powers of financial capitalism had another far-reaching aim, nothing less than to create a world system of financial control in private hands able to dominate the political system of each country and the economy of the world as a whole. This system was to be controlled in a feudalist fashion by the central banks of the world acting in concert, by secret agreements arrived at in frequent meetings and conferences. The apex of the systems was to be the Bank for International Settlements in Basel, Switzerland, a private bank owned and controlled by the world's central banks which were themselves private corporations. Each central bank...sought to dominate its government by its ability to control Treasury loans, to manipulate foreign exchanges, to influence the level of economic activity in the country, and to influence cooperative politicians by subsequent economic rewards in the business world."

- Carroll Quigley, CFR member, mentor to Bill Clinton, from 'Tragedy And Hope'
Rena
Newbie
*
Offline Offline

Activity: 19
Merit: 0



View Profile WWW
April 19, 2011, 01:05:27 AM
 #8

I wonder if an attacker could harm the network by taking over the IRC server it uses?
MoonShadow
Legendary
*
Offline Offline

Activity: 1708
Merit: 1007



View Profile
April 19, 2011, 01:19:52 AM
 #9

I wonder if an attacker could harm the network by taking over the IRC server it uses?

Not for long.  IRC is not a critical aspect of the system.  IT's not even part of the protocol, and is only used as a peer discovery method that is not exclusive.

"The powers of financial capitalism had another far-reaching aim, nothing less than to create a world system of financial control in private hands able to dominate the political system of each country and the economy of the world as a whole. This system was to be controlled in a feudalist fashion by the central banks of the world acting in concert, by secret agreements arrived at in frequent meetings and conferences. The apex of the systems was to be the Bank for International Settlements in Basel, Switzerland, a private bank owned and controlled by the world's central banks which were themselves private corporations. Each central bank...sought to dominate its government by its ability to control Treasury loans, to manipulate foreign exchanges, to influence the level of economic activity in the country, and to influence cooperative politicians by subsequent economic rewards in the business world."

- Carroll Quigley, CFR member, mentor to Bill Clinton, from 'Tragedy And Hope'
MoonShadow
Legendary
*
Offline Offline

Activity: 1708
Merit: 1007



View Profile
April 19, 2011, 06:38:40 PM
 #10

but I pay $2/GB for my internet usage so I'm hoping around 500MB or so.

Why is this?  Are you on a wireless ISP plan?  Or do you herald from a nation with poor access in general?

A first-world nation with third-world internet access due to a telco monopoly.

Do you mind telling us the nation in question?  I might have a solution for you to pursue, depending on where in the world you are.  And are you an urban dweller?

"The powers of financial capitalism had another far-reaching aim, nothing less than to create a world system of financial control in private hands able to dominate the political system of each country and the economy of the world as a whole. This system was to be controlled in a feudalist fashion by the central banks of the world acting in concert, by secret agreements arrived at in frequent meetings and conferences. The apex of the systems was to be the Bank for International Settlements in Basel, Switzerland, a private bank owned and controlled by the world's central banks which were themselves private corporations. Each central bank...sought to dominate its government by its ability to control Treasury loans, to manipulate foreign exchanges, to influence the level of economic activity in the country, and to influence cooperative politicians by subsequent economic rewards in the business world."

- Carroll Quigley, CFR member, mentor to Bill Clinton, from 'Tragedy And Hope'
MoonShadow
Legendary
*
Offline Offline

Activity: 1708
Merit: 1007



View Profile
April 19, 2011, 09:01:37 PM
 #11

but I pay $2/GB for my internet usage so I'm hoping around 500MB or so.

Why is this?  Are you on a wireless ISP plan?  Or do you herald from a nation with poor access in general?

A first-world nation with third-world internet access due to a telco monopoly.

Do you mind telling us the nation in question?  I might have a solution for you to pursue, depending on where in the world you are.  And are you an urban dweller?

New Zealand, and yes.

NZ is good.  Urban is probably good.  You might want to consider setting up a mesh node filtered for only Bitcoin traffic, and annouce in the area that you are doing so.  If users join the mesh, bitcoin traffic to the outside world can be shared (if you're careful about it) and most of the traffic that your personal node would see would be coming across the mesh.  The trick is to force your local client to only permit one or two connections from the ISP and the rest from the mesh, and as long as others agree to do the same and don't freeload (not a given), your own personal chargeable traffic from Bitcoin should be managable. You should throttle the ISP Bitcoin traffic anyway, down to modem speeds; or set it up to only connect to ISP side nodes at particular times of the day.  In the future if you have a portable client on a smartphone, set it up so that it only connects to the mesh clients via wifi and never over the cell network.

Better yet, try to convince your ISP to set up a node of it's own that you could connect to without charges.  If traffic beyond your ISP is what is getting you charges, they might be willing to do this because such a local node can function well as a caching gateway, permitting the ISP to block outbound Bitcoin connections without actually interfering with the Bitcoin network.  As the Bitcoin network grows, I have no doubt that ISP's are going to want to control bandwidth consumption.

Of course, I have no idea how receptive they might be to the idea, but it's worth an email.

"The powers of financial capitalism had another far-reaching aim, nothing less than to create a world system of financial control in private hands able to dominate the political system of each country and the economy of the world as a whole. This system was to be controlled in a feudalist fashion by the central banks of the world acting in concert, by secret agreements arrived at in frequent meetings and conferences. The apex of the systems was to be the Bank for International Settlements in Basel, Switzerland, a private bank owned and controlled by the world's central banks which were themselves private corporations. Each central bank...sought to dominate its government by its ability to control Treasury loans, to manipulate foreign exchanges, to influence the level of economic activity in the country, and to influence cooperative politicians by subsequent economic rewards in the business world."

- Carroll Quigley, CFR member, mentor to Bill Clinton, from 'Tragedy And Hope'
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!