Bitcoin Forum
April 25, 2014, 07:40:10 AM *
News: Due to the OpenSSL heartbleed bug, changing your forum password is recommended.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: blkindex.dat  (Read 3247 times)
andy_3_913
Jr. Member
*
Offline Offline

Activity: 42



View Profile

Ignore
July 21, 2010, 04:40:06 PM
 #1

just curious,
the blkindex.dat on my pc is currently 28256 kb.
according to bc, the number of blocks=69456.
i'm assuming the blkindex.dat file will continue to grow?
how big is this likely to get.


172Yrvwi9xn25Ss17fZMNk56iu8FvcvtLS
1398411610
Hero Member
*
Offline Offline

Posts: 1398411610

View Profile Personal Message (Offline)

Ignore
1398411610
Reply with quote  #2

1398411610
Report to moderator
1398411610
Hero Member
*
Offline Offline

Posts: 1398411610

View Profile Personal Message (Offline)

Ignore
1398411610
Reply with quote  #2

1398411610
Report to moderator
1398411610
Hero Member
*
Offline Offline

Posts: 1398411610

View Profile Personal Message (Offline)

Ignore
1398411610
Reply with quote  #2

1398411610
Report to moderator

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1398411610
Hero Member
*
Offline Offline

Posts: 1398411610

View Profile Personal Message (Offline)

Ignore
1398411610
Reply with quote  #2

1398411610
Report to moderator
1398411610
Hero Member
*
Offline Offline

Posts: 1398411610

View Profile Personal Message (Offline)

Ignore
1398411610
Reply with quote  #2

1398411610
Report to moderator
Quantumplation
Member
**
Offline Offline

Activity: 84


View Profile

Ignore
July 21, 2010, 05:00:23 PM
 #2

As of right now, if blkindex is where the blocks are stored, then the file will grow infinitely large over infinite time.

Against my better judgement... 1ADjszXMSRuAUjyy3ShFRy54SyRVrNDgDc
andy_3_913
Jr. Member
*
Offline Offline

Activity: 42



View Profile

Ignore
July 21, 2010, 05:31:21 PM
 #3

As of right now, if blkindex is where the blocks are stored, then the file will grow infinitely large over infinite time.

scarey biccies!!  Grin

seriously, there must be some limit as to how large it will get?

172Yrvwi9xn25Ss17fZMNk56iu8FvcvtLS
Quantumplation
Member
**
Offline Offline

Activity: 84


View Profile

Ignore
July 21, 2010, 05:33:39 PM
 #4

Yup, until the last bitcoin user stops using the service, or some other "shutdown condition", the file will continue to grow as new blocks are generated roughly ever 10 minutes.  If we were to stop generating blocks at some point, we would stop being able to perform transactions.

(Granted, I'm not 100% sure that this is where the blocks are stored, but I'm assuming it is.)

Against my better judgement... 1ADjszXMSRuAUjyy3ShFRy54SyRVrNDgDc
knightmb
Sr. Member
****
Offline Offline

Activity: 266


Timekoin - Save Electricity, Don't Waste It!


View Profile WWW

Ignore
July 21, 2010, 09:03:32 PM
 #5

just curious,
the blkindex.dat on my pc is currently 28256 kb.
according to bc, the number of blocks=69456.
i'm assuming the blkindex.dat file will continue to grow?
how big is this likely to get.

Take a size reading at a certain block size, wait a few blocks, check the size again, and then some linear math to take a guess at how big it would get. I did that in another thread somewhere on this board, basically came up with a number like 348MB once every coin was generated.

Quantumplation
Member
**
Offline Offline

Activity: 84


View Profile

Ignore
July 21, 2010, 10:42:17 PM
 #6

knightmb: Blocks continue to get generated even after all the coins have been "minted".  Also, each block varies in size based on how many transactions occur in that span of time, so yours would only be a rough estimate.

Against my better judgement... 1ADjszXMSRuAUjyy3ShFRy54SyRVrNDgDc
knightmb
Sr. Member
****
Offline Offline

Activity: 266


Timekoin - Save Electricity, Don't Waste It!


View Profile WWW

Ignore
July 21, 2010, 11:18:56 PM
 #7

knightmb: Blocks continue to get generated even after all the coins have been "minted".  Also, each block varies in size based on how many transactions occur in that span of time, so yours would only be a rough estimate.
Yes, very rough estimate for the all the 21 million coins, so I remember seeing somewhere about how long it would take to generate them all. It put it at least a century into the future, so 350+MB might be small potato 100 years from now for both desktop and mobile devices.

Quantumplation
Member
**
Offline Offline

Activity: 84


View Profile

Ignore
July 21, 2010, 11:48:51 PM
 #8

But it'd still continue to grow after the 21 million coins.

Against my better judgement... 1ADjszXMSRuAUjyy3ShFRy54SyRVrNDgDc
lachesis
Full Member
***
Offline Offline

Activity: 210


View Profile

Ignore
July 23, 2010, 01:39:49 AM
 #9

Generation never "stops" - the number of coins generated gets halved every 210,240 blocks (4 years). It will take somewhere around 17.5 years from block 0 to generate 20 million coins. The next 1.024 million will never be completely generated. Generation won't "stop" until the number of coins generated per block is less than 10^-8 (minimum precision of Bitcoin). That will happen somewhere around block 6.76*10^6, or roughly 130years in the future.

Bitcoin has a Merkle Tree implementation that allows old block transactions to be purged or something like that. Read the design paper, it's all a little above my head.

Besides, in 10 years our phones will all have a terabyte of storage and our desktops will have god knows how much.

Bitcoin Calculator | Scallion | GPG Key | WoT Rating | 1AFTbit16o6FNg2msnAbXVR2G3EVTWefmc
Vanity .onion address service - <8 character addresses free!
theymos
Administrator
Hero Member
*
Offline Offline

Activity: 1540


View Profile
July 23, 2010, 02:17:45 AM
 #10

Generation never "stops" - the number of coins generated gets halved every 210,240 blocks (4 years). It will take somewhere around 17.5 years from block 0 to generate 20 million coins. The next 1.024 million will never be completely generated. Generation won't "stop" until the number of coins generated per block is less than 10^-8 (minimum precision of Bitcoin). That will happen somewhere around block 6.76*10^6, or roughly 130years in the future.

Bitcoin has a Merkle Tree implementation that allows old block transactions to be purged or something like that. Read the design paper, it's all a little above my head.

Besides, in 10 years our phones will all have a terabyte of storage and our desktops will have god knows how much.

It will stop. The halving is done as a bitwise right shift instead of division, so the number of coins awarded will eventually be 0. Block #6,929,999 will be the last one to produce coins. This should happen around 2140.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!