Author

Topic: blkindex.dat (Read 11534 times)

administrator
Activity: 5222
Merit: 13032
July 22, 2010, 09:17:45 PM
#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.
full member
Activity: 210
Merit: 105
July 22, 2010, 08:39:49 PM
#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.
sr. member
Activity: 308
Merit: 250
July 21, 2010, 06:48:51 PM
#8
But it'd still continue to grow after the 21 million coins.
sr. member
Activity: 308
Merit: 258
July 21, 2010, 06: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.
sr. member
Activity: 308
Merit: 250
July 21, 2010, 05: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.
sr. member
Activity: 308
Merit: 258
July 21, 2010, 04: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.
sr. member
Activity: 308
Merit: 250
July 21, 2010, 12: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.)
newbie
Activity: 42
Merit: 0
July 21, 2010, 12: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?
sr. member
Activity: 308
Merit: 250
July 21, 2010, 12: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.
newbie
Activity: 42
Merit: 0
July 21, 2010, 11:40:06 AM
#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.

Jump to: