Bitcoin Forum
May 05, 2024, 02:16:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin's problems (rant warning)  (Read 1583 times)
Bitsky (OP)
Hero Member
*****
Offline Offline

Activity: 576
Merit: 514


View Profile
May 29, 2012, 09:51:34 AM
 #1

First of all, I like Bitcoin and the whole concept behind it. But there are some problems which need to be addressed if it's meant to succeed. This rant is not only based on my experience, but also on results of introducing Bitcoin to other (non-tech) people.

1. Blockchain size
(I'm using the sizes of the snapshots starting Sep/2011, provided by Bitcoincharts for my estimations)
On a rough average, the chain grows by 10% each month, although that may be too low, seeing that in May, it grew by 20%. Even if we just assume 10%, the chain reaches 2.6GB Sep/2012, and 8.2GB Sep/2013. On Sep/2014, it should be around 23GB. With a 20% monthly growth, the Sep/2014 chain will need 220GB. At this point, nobody will bother anymore. The initial blockchain download will become impossible. This needs to be fixed before users start dropping Bitcoin because of that. If each client would only provide 1GB local storage, that too adds up. Even with only 10,000 users there would be 10,000GB combined storage which is enough to store each block multiple times to provide redundancy (think of it as a p2p-raid).

2. CPU load
Some of the large blocks hog CPU, making it a pain to catch up. While waiting for the update to complete, I got stuck at block 181868 (526 tx) for more than 15 minutes with 100% CPU. It got so annoying that I stopped the client after that time. As a result, I'm currently stuck with an outdated chain. It's become easier to just download a nightly snapshot and do a rescan than letting the client update a few days; even though this takes ~5 hours on my connection. Yet with the next big block, the problem arises again. People should be able to skip verification, maybe in exchange for a malus like less frequent updates (e.g. every 30 mins instead of 10mins). Or only verify max 20 random transactions per block. Or a button to skip verifying the current block. This is not only a problem for users of older PC's, but also for lightweight hardware.

3. Simple management tools
While most of the users won't have to deal with internals, it still should be possible to manage wallets easily. I can extract keys via the pywallet tools after setting up Python, but a simple standalone tool should come with the client itself. Having said that, the devs of the various clients should agree on a wallet export/import format (XML?) to make it dead simple to switch between different clients.

4. Merge coincontrol
This is not a problem but a feature request. I've used the 0.6.2 release with coincontrol merged in recently. You quickly get used to this great extra and miss it in the official releases.

</rant>

Bounty: Earn up to 68.7 BTC
Like my post? Feel free to drop a tip to 1BitskyZbfR4irjyXDaGAM2wYKQknwX36Y
1714875385
Hero Member
*
Offline Offline

Posts: 1714875385

View Profile Personal Message (Offline)

Ignore
1714875385
Reply with quote  #2

1714875385
Report to moderator
You can see the statistics of your reports to moderators on the "Report to moderator" pages.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714875385
Hero Member
*
Offline Offline

Posts: 1714875385

View Profile Personal Message (Offline)

Ignore
1714875385
Reply with quote  #2

1714875385
Report to moderator
1714875385
Hero Member
*
Offline Offline

Posts: 1714875385

View Profile Personal Message (Offline)

Ignore
1714875385
Reply with quote  #2

1714875385
Report to moderator
1714875385
Hero Member
*
Offline Offline

Posts: 1714875385

View Profile Personal Message (Offline)

Ignore
1714875385
Reply with quote  #2

1714875385
Report to moderator
Foxpup
Legendary
*
Offline Offline

Activity: 4354
Merit: 3042


Vile Vixen and Miss Bitcointalk 2021-2023


View Profile
May 29, 2012, 10:10:18 AM
 #2

All of these are "problems" with the Satoshi client specifically, not Bitcoin itself, except for 1 and 2, which are a necessary evil of running a full node (which is not something that ordinary users are required (or even recommended) to do). The Satoshi client has these issues because it implements everything that is required for the Bitcoin network to operate (including things that ordinary users don't want or need) and does not implement certain things that many people want but are not strictly necessary for Bitcoin to function. All of these issues are or can be addressed by alternative clients.

Will pretend to do unspeakable things (while actually eating a taco) for bitcoins: 1K6d1EviQKX3SVKjPYmJGyWBb1avbmCFM4
I am not on the scammers' paradise known as Telegram! Do not believe anyone claiming to be me off-forum without a signed message from the above address! Accept no excuses and make no exceptions!
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
May 29, 2012, 10:13:02 AM
 #3

(I'm using the sizes of the snapshots starting Sep/2011, provided by Bitcoincharts for my estimations)
On a rough average, the chain grows by 10% each month, although that may be too low, seeing that in May, it grew by 20%. Even if we just assume 10%, the chain

Your exponential growth figures are incompatible with the current operations of the software. The current absolutely maximum rate of growth is about 52Gbytes/yr.  This is high and scaling improvements are needed to deal with it but with the download eventually not blocking use of the software its less of an issue.  ... But fundamentally running a full bitcoin node will remain to be more burdensome than alternatives.  It's also more secure— both for yourself and for all the users of bitcoin.

Quote
Some of the large blocks hog CPU, making it a pain to catch up. While waiting for the update to complete, I got stuck at block 181868 (526 tx) for more than 15 minutes with 100% CPU. It got so annoying that I stopped the client after that time. As a result, I'm currently stuck with an outdated chain. It's become easier to just download a nightly snapshot and do a rescan than letting the client update a few days; even though this takes ~5 hours on my connection. Yet with the next big block, the problem arises again.

This sounds strange, unexpected, and it's inconsistent with what other people are experiencing. What version of the software are you running? On what kind of system? (OS? CPU? Memory? SSD? HD?).  Especially the report of high cpu on a single block is surprising— there should not be more than a second to a few of CPU time spent on any block.

Quote
While most of the users won't have to deal with internals, it still should be possible to manage wallets easily. I can extract keys via the pywallet tools after setting up Python, but a simple standalone tool should come with the client itself. Having said that, the devs of the various clients should agree on a wallet export/import format (XML?) to make it dead simple to switch between different clients.

I'm not sure why you're using pywallet. Bitcoin has had integrated key import/export for something like a year now. Can you help me understand what's missing?

Moving between some different clients may be easier in the future, I don't know if it will ever be dead simple simply because differences in how wallets are handled are part of the distinctions which make alternative clients worth having.

Quote
4. Merge coincontrol
This is not a problem but a feature request. I've used the 0.6.2 release with coincontrol merged in recently. You quickly get used to this great extra and miss it in the official releases.

This is now becoming increasingly to happen because no one is stepping up to continue maintaining it.
Bitsky (OP)
Hero Member
*****
Offline Offline

Activity: 576
Merit: 514


View Profile
May 29, 2012, 01:21:21 PM
 #4

All of these are "problems" with the Satoshi client specifically, not Bitcoin itself, except for 1 and 2, which are a necessary evil of running a full node (which is not something that ordinary users are required (or even recommended) to do). The Satoshi client has these issues because it implements everything that is required for the Bitcoin network to operate (including things that ordinary users don't want or need) and does not implement certain things that many people want but are not strictly necessary for Bitcoin to function. All of these issues are or can be addressed by alternative clients.
I don't want to accuse the devs of the alternative clients of anything, but when it comes to money-related things I prefer sticking to the original; probably others think in a similar way. Maybe it would a good idea to release the original client "optimized" (thin client) for the ordinary users and add the options to switch to a "full" node in the options tab.

Your exponential growth figures are incompatible with the current operations of the software. The current absolutely maximum rate of growth is about 52Gbytes/yr.  This is high and scaling improvements are needed to deal with it but with the download eventually not blocking use of the software its less of an issue.  ... But fundamentally running a full bitcoin node will remain to be more burdensome than alternatives.  It's also more secure— both for yourself and for all the users of bitcoin.
52GB/yr is still a lot. Is the idea of a distributed blockchain where each node only holds 1-2GB out of question for a reason I'm missing? With such a "storage cluster", space would be less of an issue. Out of curiosity, what happens when the growth would exceed 52GB/yr?

This sounds strange, unexpected, and it's inconsistent with what other people are experiencing. What version of the software are you running? On what kind of system? (OS? CPU? Memory? SSD? HD?).  Especially the report of high cpu on a single block is surprising— there should not be more than a second to a few of CPU time spent on any block.
I ran into that with the 0.6.2 client released by Luke-Jr (https://bitcointalk.org/index.php?topic=82581.msg910320#msg910320) and I verified the checksum. Ran it on a XP-VM with 1.5GHz and 512MB RAM. Blockchain is accessed via a share. Most blocks were processed rather quick; usually just a few seconds per block, sometimes a minute or three. But when I noticed that the VM was eating up CPU constantly, I took a closer look; and block 181868 was being processed until I gave up after ~15 mins.

I'm not sure why you're using pywallet. Bitcoin has had integrated key import/export for something like a year now. Can you help me understand what's missing?
My bad then. I was working with an old 0.3.x client until recently and there I needed pywallet. Seems I didn't check if the 0.6.x releases already added that. Sorry for the confusion.

Bounty: Earn up to 68.7 BTC
Like my post? Feel free to drop a tip to 1BitskyZbfR4irjyXDaGAM2wYKQknwX36Y
TangibleCryptography
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


Tangible Cryptography LLC


View Profile WWW
May 29, 2012, 01:30:24 PM
 #5

As others have pointed out the issues you describe are related to a single full node client.  Over time less "casual users" will use full nodes and even less the reference Satoshi client.  512MB is a little light for system resources.
Bitsky (OP)
Hero Member
*****
Offline Offline

Activity: 576
Merit: 514


View Profile
May 29, 2012, 02:55:09 PM
 #6

On a side note, I got the client to continue updating again. I restarted the stuck backup and for now it's updating again.
Not sure if it was a coincidence that I shut it down the moment it was maybe done with the block, or if the restart made it skip the block in question.
A few blocks took several minutes (like 181917) but eventually completed. 130 blocks left right now.

Bounty: Earn up to 68.7 BTC
Like my post? Feel free to drop a tip to 1BitskyZbfR4irjyXDaGAM2wYKQknwX36Y
Garr255
Legendary
*
Offline Offline

Activity: 938
Merit: 1000


What's a GPU?


View Profile
May 29, 2012, 03:10:18 PM
 #7

Technology will keep up with blockchain expansion easily. It was only a few years ago when all programs were measured in kb.

“First they ignore you, then they laugh at you, then they fight you, then you win.”  -- Mahatma Gandhi

Average time between signing on to bitcointalk: Two weeks. Please don't expect responses any faster than that!
BrightAnarchist
Donator
Legendary
*
Offline Offline

Activity: 853
Merit: 1000



View Profile
May 29, 2012, 03:50:37 PM
 #8

I'm going to plug my proposal on how to drastically shrink the blockchain:

https://bitcointalk.org/index.php?topic=83645.0
mc_lovin
Legendary
*
Offline Offline

Activity: 1190
Merit: 1000


www.bitcointrading.com


View Profile WWW
May 29, 2012, 07:42:32 PM
 #9

lol I have a 60GB SSD in my laptop, I had better upgrade that soon because I think the blockchain is going to eat it up in a year's time!
Bitsky (OP)
Hero Member
*****
Offline Offline

Activity: 576
Merit: 514


View Profile
May 30, 2012, 08:21:04 AM
 #10

All of these issues are or can be addressed by alternative clients.
I took a look at the alt clients listed in the wiki, and that's what I came up with (left out those for mobile devices only):
Armory: Alpha-level stage. Very resource-intensive and thus will not be usable by everyone.
BitCoinJ: Java. Early development stage. Not safe to use with any serious quantity of money on the production network
Bitdollar: Beta version and may be very unstable
Electrum: Looks promising
Freecoin: Looks dead
MultiBit: Java
Pycoin: Looks dead
QBitcoin: Looks dead
Ufasoft Coin: Closed source

With Java being on the top of my "do not want" list, that only leaves Electrum as an alternative to test.

Technology will keep up with blockchain expansion easily. It was only a few years ago when all programs were measured in kb.
Storage itself might keep up, but don't forget non-tech related problems, like bandwidth caps or slow networks (https://bitcointalk.org/index.php?topic=84128.msg927811#msg927811).


Bounty: Earn up to 68.7 BTC
Like my post? Feel free to drop a tip to 1BitskyZbfR4irjyXDaGAM2wYKQknwX36Y
jim618
Legendary
*
Offline Offline

Activity: 1708
Merit: 1066



View Profile WWW
May 30, 2012, 03:00:56 PM
 #11

If you really do not want any Java on your machine then you are correct: Electrum is probably your best choice though Armory is maturing nicely.

Bitcoinj is pretty mature now - it has been 'alive' for well over a year and constantly improves. It is the workhorse behind various Bitcoin implementations such as Android Wallet, BitcoinSpinner, SatoshiDice etc.

You are correct that MultiBit is Java based but other than having to install the Java Runtime Environment (JRE) you wouldn't really notice what it is written in.  When you install it and run it it looks pretty much like any other application. It is deliberately fairly conventional (as bitcoin is enough of a step for most people).

If you want to try it out but do not want to have a JRE on your machine, you can always put both the JRE and MultiBit onto a USB drive.

<joking>I recommend wearing rubber gloves and a facemask whilst handling the USB drive with the JRE and MultiBit on to be sure of zero-Java-contamination. Spray a strong disinfectant (sodium hypochlorite works well) into the USB socket after you remove the USB drive to wash away any residual traces of Java from your machine. </joking>

MultiBit HD   Lightweight desktop client.                    Bitcoin Solutions Ltd   Bespoke software. Consultancy.
Bitsky (OP)
Hero Member
*****
Offline Offline

Activity: 576
Merit: 514


View Profile
May 30, 2012, 03:42:33 PM
 #12

I'm aware that my attitude towards Java is purely personal. It's based on numerous bad experiences with it in the past which in turn made me ban it from all systems I administrate. Plus, I hate Oracle Smiley


Bounty: Earn up to 68.7 BTC
Like my post? Feel free to drop a tip to 1BitskyZbfR4irjyXDaGAM2wYKQknwX36Y
jim618
Legendary
*
Offline Offline

Activity: 1708
Merit: 1066



View Profile WWW
May 30, 2012, 03:46:32 PM
 #13

Looks like Electrum is what you are after !

If you have an Android phone there is also an Electrum for Android you can install to use the same wallet with.

MultiBit HD   Lightweight desktop client.                    Bitcoin Solutions Ltd   Bespoke software. Consultancy.
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!