Bitcoin Forum
April 16, 2024, 06:05:04 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Req]Add optional official download for wallet's cache integrated into installer  (Read 1045 times)
BCMan (OP)
Hero Member
*****
Offline Offline

Activity: 535
Merit: 500



View Profile
February 07, 2012, 11:37:09 AM
Last edit: February 07, 2012, 11:47:50 AM by BCMan
 #1

 Because this can be (and most probably is, most ppl just dont have so much patience to wait, when it will be finished, while watching to hdd usage indicator and enjoy highly unresponsible os) the main problem why bitcoin isn't popular. It's totally insane to download all this cache crap for >20 hours even for modern pc with fast hdd. It's so big problem to include the damn cache to the installer and update it at least once a week?
1713247504
Hero Member
*
Offline Offline

Posts: 1713247504

View Profile Personal Message (Offline)

Ignore
1713247504
Reply with quote  #2

1713247504
Report to moderator
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713247504
Hero Member
*
Offline Offline

Posts: 1713247504

View Profile Personal Message (Offline)

Ignore
1713247504
Reply with quote  #2

1713247504
Report to moderator
1713247504
Hero Member
*
Offline Offline

Posts: 1713247504

View Profile Personal Message (Offline)

Ignore
1713247504
Reply with quote  #2

1713247504
Report to moderator
tosaki
Sr. Member
****
Offline Offline

Activity: 401
Merit: 252



View Profile
February 07, 2012, 05:07:06 PM
 #2

I think it is against the decentralisation principe.
btc_artist
Full Member
***
Offline Offline

Activity: 154
Merit: 101

Bitcoin!


View Profile WWW
February 07, 2012, 09:40:05 PM
 #3

Idea:

1. Include a snapshot of the blockchain in the dowload installer (updated on a regular basis)
2. Add a peer request to get the checksum of a block.
3. Have the newly installed client request checksums from peers for all blocks in the pre-loaded blockchain.
4. The checksum for each block has to be provided by at least X peers, and it has to match the checksum for the block in the pre-loaded chain.

This would simply be a way to verify with peers that the pre-loaded blockchain is valid. It would still comply with the idea of keeping things decentralized, since you wouldn't be trusting the installer, you would be trusting your peers (the same ones you would be getting the blocks from anyway).

Is there any reason why this wouldn't work?

BTC: 1CDCLDBHbAzHyYUkk1wYHPYmrtDZNhk8zf
LTC: LMS7SqZJnqzxo76iDSEua33WCyYZdjaQoE
Sukrim
Legendary
*
Offline Offline

Activity: 2618
Merit: 1006


View Profile
February 08, 2012, 03:08:33 AM
 #4

Afaik there are anyways already "checkpoint blocks" hardcoded in the satoshi client.

After the chain gets downloaded, it needs to be checked anyways - a monthly or so updated "official" torrent of a blockchain file would be really nice however, like something "official" every 4000 blocks? Anyone with an existing blockchain anyways can verify the hash of that file.

The real issue however is still that one needs to download + verify a looot of data. This (I think) takes much longer than downloading that one gig or the other.

I agree however that the "out of the box" experience is really bad - after all you very often need a full blockchain to start things and it takes quite some time until then... which makes the first impression one of the worst ones

https://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
February 08, 2012, 03:17:22 AM
 #5

Because this can be (and most probably is, most ppl just dont have so much patience to wait, when it will be finished, while watching to hdd usage indicator and enjoy highly unresponsible os) the main problem why bitcoin isn't popular. It's totally insane to download all this cache crap for >20 hours even for modern pc with fast hdd. It's so big problem to include the damn cache to the installer and update it at least once a week?
it's much faster if you put the data directory on a RAM disk. maybe the dev team should consider caching blockchain parts in memory?

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
dogisland
Sr. Member
****
Offline Offline

Activity: 262
Merit: 250



View Profile
February 08, 2012, 11:55:21 AM
 #6

Because this can be (and most probably is, most ppl just dont have so much patience to wait, when it will be finished, while watching to hdd usage indicator and enjoy highly unresponsible os) the main problem why bitcoin isn't popular. It's totally insane to download all this cache crap for >20 hours even for modern pc with fast hdd. It's so big problem to include the damn cache to the installer and update it at least once a week?

I would agree that this would be a sensible thing to do.

Most people download the client from a central place anyway so I don't see much added risk including an up to date block chain.



gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
February 08, 2012, 01:57:56 PM
 #7

I would agree that this would be a sensible thing to do.

Most people download the client from a central place anyway so I don't see much added risk including an up to date block chain.

People can, and do, audit the software— even the binaries due to the use of a deterministic build process— so any replacement with a compromised version has the risk of detection.  At least as things are currently constructed, an opaque blockchain wouldn't have this property.

Discussions of including the blockchain are ignoring the real issue too— initial syncup is slow because the chain validation is slow. The validation is slow due to IO related implementation issues.

Once this is fixed there will be a lot less cause for concern. Beyond that, the software should eventually make validation and downloading decoupled so that it could go on in the background— making the client usable even while downloading/validation is going on. This would be much better than making the install file a gigabyte.

In any case, it's easy to propose things— and the idea that the package could include a copy of some blockchain, with the according loss of zero-trust hasn't failed to occur to pretty much anyone— why not sit down and spend some time trying to improve it?
malevolent
can into space
Legendary
*
Offline Offline

Activity: 3472
Merit: 1721



View Profile
February 10, 2012, 07:49:20 PM
 #8

In any case, it's easy to propose things— and the idea that the package could include a copy of some blockchain, with the according loss of zero-trust hasn't failed to occur to pretty much anyone— why not sit down and spend some time trying to improve it?

Will gladly help if you could teach me to program better (only know some php, rest is scripting and markup languages) and provide with extensive documentation of the source code.   Cheesy

Not joking.

Signature space available for rent.
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!