Bitcoin Forum
May 06, 2024, 12:07:41 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blockchain Size Issues  (Read 391 times)
btcscriptpremium (OP)
Sr. Member
****
Offline Offline

Activity: 246
Merit: 250

Run your own Casino! See profile for more info


View Profile WWW
August 31, 2015, 05:36:39 PM
 #1

I do coding and programming, so naturally I have to use the bitcoin client and bitcoind servers. I have found that the current 40gb size of them is actually too big, and it is increasing exponentially now. When it was 20gb, thats fine I guess, but having 40gb+ necessary space just to run the client, and you have to wait days to download it, thats when it starts to get hard to use for the average guy. To get a server from digitalocean that has this much space, thats 40 dollars a month. SSDs are optimal because of the constant reading and writing, but no one has ssd space for 40gb.
In the future, the blockchain will ONLY get bigger, and eventually something must be done about it. Maybe something like having the option to only save blocks if they have relation to you in the personal client. The entire blockchain is stored on bitcoin-qt, but is this really necessary? There is no blockchain search feature in the client, and having other people's transactions is useless to me and can't even query them.
I think that this number is getting too big, and it is increasing very quickly.

Check out http://trumpgeneral.com/ for great Trump information
1714997261
Hero Member
*
Offline Offline

Posts: 1714997261

View Profile Personal Message (Offline)

Ignore
1714997261
Reply with quote  #2

1714997261
Report to moderator
1714997261
Hero Member
*
Offline Offline

Posts: 1714997261

View Profile Personal Message (Offline)

Ignore
1714997261
Reply with quote  #2

1714997261
Report to moderator
Activity + Trust + Earned Merit == The Most Recognized Users on Bitcointalk
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
dothebeats
Legendary
*
Offline Offline

Activity: 3640
Merit: 1352


Cashback 15%


View Profile
August 31, 2015, 05:46:42 PM
 #2

Recording the whole transactions happened in the network is necessary to be available in all nodes so as to ensure that all transactions recorded on the block chain is valid. You can opt to run a SPV wallet and having that doesn't require you to download all of that 40 GB, only the wallet client and that's it (though you don't have all the functionalities that the Qt client have).

but no one has ssd space for 40gb.

As far as I know, there are 512 GB SSDs already in the market. What do you mean exactly with this?

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
btcscriptpremium (OP)
Sr. Member
****
Offline Offline

Activity: 246
Merit: 250

Run your own Casino! See profile for more info


View Profile WWW
August 31, 2015, 06:02:05 PM
 #3

Recording the whole transactions happened in the network is necessary to be available in all nodes so as to ensure that all transactions recorded on the block chain is valid. You can opt to run a SPV wallet and having that doesn't require you to download all of that 40 GB, only the wallet client and that's it (though you don't have all the functionalities that the Qt client have).

but no one has ssd space for 40gb.

As far as I know, there are 512 GB SSDs already in the market. What do you mean exactly with this?
Well, those are quite expensive, cost about 250$. I have a 128gb ssd i bought a couple years ago for 150$, and with my OS on it and basic programs, I only have 7gb free on it.

Check out http://trumpgeneral.com/ for great Trump information
Za1n
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011



View Profile
August 31, 2015, 09:09:23 PM
 #4

Recording the whole transactions happened in the network is necessary to be available in all nodes so as to ensure that all transactions recorded on the block chain is valid. You can opt to run a SPV wallet and having that doesn't require you to download all of that 40 GB, only the wallet client and that's it (though you don't have all the functionalities that the Qt client have).

but no one has ssd space for 40gb.

As far as I know, there are 512 GB SSDs already in the market. What do you mean exactly with this?
Well, those are quite expensive, cost about 250$. I have a 128gb ssd i bought a couple years ago for 150$, and with my OS on it and basic programs, I only have 7gb free on it.

Newegg has a 500 GB SSD right now for $169 + $0.99 shipping, so $170 for 500 GB shipped to your door. http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&IsNodeId=1&N=100008118%204814%20600038491

These prices will only get cheaper as time, and the blockchain growth, go on.

If you only have a few BTC, as has been pointed out a SPV wallet might work fine. For those with more BTC and/or like running a full node, I do not think $170 is too much to ask for a SSD that will last many years of block-chain growth. If you used a dedicated drive just for the blockchain, you could possibly get by with a 256 GB which can be acquired for under $100.

Also, there is no reason you need to store the block chain on a SSD, you can keep this data on an normal HDD which would make the price issue almost irrelevant.
uxgpf
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
August 31, 2015, 09:41:57 PM
Last edit: August 31, 2015, 09:53:59 PM by uxgpf
 #5

I do coding and programming, so naturally I have to use the bitcoin client and bitcoind servers. I have found that the current 40gb size of them is actually too big, and it is increasing exponentially now. When it was 20gb, thats fine I guess, but having 40gb+ necessary space just to run the client, and you have to wait days to download it, thats when it starts to get hard to use for the average guy. To get a server from digitalocean that has this much space, thats 40 dollars a month. SSDs are optimal because of the constant reading and writing, but no one has ssd space for 40gb.
In the future, the blockchain will ONLY get bigger, and eventually something must be done about it. Maybe something like having the option to only save blocks if they have relation to you in the personal client. The entire blockchain is stored on bitcoin-qt, but is this really necessary? There is no blockchain search feature in the client, and having other people's transactions is useless to me and can't even query them.
I think that this number is getting too big, and it is increasing very quickly.

Blockchain pruning was added in bitcoin 0.11, but doesn't support wallet yet. Pruning is enabled with -prune flag. (minimum allowed is 512 MB IIRC). It still needs to download the whole blockchain to validate it, so syncing takes time, but storage space is saved.

Here's an example:
Code:
$ (bitcoind -prune 4096&)

Code:
$ bitcoin-cli getblockchaininfo
{
    "chain" : "main",
    "blocks" : 372426,
    "headers" : 372426,
    "bestblockhash" : "00000000000000000380ecd0b5397445569a08eee5522dc786
622fe9551db586",
    "difficulty" : 54256630327.88996124,
    "verificationprogress" : 0.99998490,
    "chainwork" : "00000000000000000000000000000000000000000009c057d121a7
a1f435110d",
    "pruned" : true,
    "pruneheight" : 365168
}

Code:
$ du -h .bitcoin/blocks
57M .bitcoin/blocks/index
4.0G .bitcoin/blocks

Full validating node with just 4 GB of blocks, nice eh?
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!