Bitcoin Forum
May 07, 2024, 09:11:09 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3]  All
  Print  
Author Topic: Can we still advertise the Satoshi Client for noobs?  (Read 3774 times)
Pieter Wuille
Legendary
*
Offline Offline

Activity: 1072
Merit: 1174


View Profile WWW
May 31, 2012, 10:37:12 AM
 #41

  • Download a block (bandwidth usage)
  • Verify its validity (CPU intensive, plus indexed queries)
  • Insert the block in the DB - indexation (IO intensive, and probably O(log) on the index size, or perhaps even O(n), don't know)
  • Proceed to next block

The blocks are downloaded into a memory buffer by the network handler thread. This buffer is 10 megabytes, so it can certainly contain several blocks simultaneously.

The initial verification is very fast.

The bulk of the verification is done while updating the index: we need to a) find previous outputs b) check they are not yet marked spent c) evaluate scripts and signatures d) mark previous outputs spent e) mark new outputs spendable. This has to be done transaction per transaction (mostly), as each transaction can legally spend the outputs of the previous ones. Certainly optimizations are possible, but it's not as easy as splitting verification and db updates into two threads.

By the way, Matt Corallo has a branch that does split the initial verification and connecting/indexing steps into separate threads, and this does indeed seem to improve throughput a bit.

I do Bitcoin stuff.
1715073069
Hero Member
*
Offline Offline

Posts: 1715073069

View Profile Personal Message (Offline)

Ignore
1715073069
Reply with quote  #2

1715073069
Report to moderator
1715073069
Hero Member
*
Offline Offline

Posts: 1715073069

View Profile Personal Message (Offline)

Ignore
1715073069
Reply with quote  #2

1715073069
Report to moderator
Even in the event that an attacker gains more than 50% of the network's computational power, only transactions sent by the attacker could be reversed or double-spent. The network would not be destroyed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715073069
Hero Member
*
Offline Offline

Posts: 1715073069

View Profile Personal Message (Offline)

Ignore
1715073069
Reply with quote  #2

1715073069
Report to moderator
caveden
Legendary
*
Offline Offline

Activity: 1106
Merit: 1004



View Profile
May 31, 2012, 12:16:47 PM
 #42

I'm not too sure about that, but wouldn't that kind of issue be helped by forwarding port 8333 (at router level)?

I'm not really willing to expose my IP like that. But anyway, I don't think it's a bandwidth issue.
caveden
Legendary
*
Offline Offline

Activity: 1106
Merit: 1004



View Profile
May 31, 2012, 12:17:53 PM
 #43

Thanks Pieter Wuille for the clarification.
Explodicle
Hero Member
*****
Offline Offline

Activity: 950
Merit: 1001


View Profile
May 31, 2012, 03:46:58 PM
 #44

When it becomes commonly accepted that transmission nodes in the Bitcoin network are feasibly mainly to those with dedicated or specialized hardware in environments where network connectivity significantly exceeds what joe-sixpack has access to, I doubt that it will bounce back (to 'users run nodes') no matter what the theory says is possible.
I've been assuming hardware/bandwidth is getting cheaper at a greater rate than the blockchain is growing. So it should become relatively easier to run a full client on normal hardware.

Have I assumed wrong? Has anyone checked the math?
Kupsi
Legendary
*
Offline Offline

Activity: 1193
Merit: 1003


9.9.2012: I predict that single digits... <- FAIL


View Profile
May 31, 2012, 04:46:43 PM
 #45

Has anyone checked the math?
https://en.bitcoin.it/wiki/Scalability
tvbcof
Legendary
*
Offline Offline

Activity: 4592
Merit: 1276


View Profile
May 31, 2012, 05:19:46 PM
 #46


I was going to point to that.  While that body of work probably didn't plant certain seeds of doubt in my mind, it certainly did help to germinate them.

Most 'Bitcoin is fine' arguments are winnable on this forum with two words: "Moore's Law."  I feel that there is some nuance to be contemplated.  Two of the more important ones:

 - Just because new technology is developed does not mean that it is necessarily universally available at low cost or without significant hurdles.

 - Bitcoin growth rates could easily dwarf technology developments even though both may be exponential.  (And if they don't, it means that Bitcoin remains a fringe toy for us geeks in my opinion.)


sig spam anywhere and self-moderated threads on the pol&soc board are for losers.
Dabs
Legendary
*
Offline Offline

Activity: 3416
Merit: 1912


The Concierge of Crypto


View Profile
June 01, 2012, 04:36:36 AM
 #47

I was / is still a noob, but I think I understand more of how or what bitcoin is or is not and how it works in a matter of a few days of lurking here, and reading all the wikis.

For me, I got the Satoshi client (version 4 or 5; 2 to 3 months ago) and just patiently waited for the whole blockchain to download over a week. Then I got pywallet and added some private keys I generated using vanitygen and bitaddress because I couldn't spend the money I had collected through the faucet.

I had other ideas regarding scalability but they involved incompatible protocol changes that may not be accepted by other people.

Pages: « 1 2 [3]  All
  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!