TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Bitcoin Guarantees Strong, Not Eventual, Consistency

103 pointsby reubanoalmost 9 years ago

8 comments

troymcalmost 9 years ago
I think people get consensus finality mixed up with eventual consistency. (To be fair, they do sound like similar things.)<p>Nakamoto Consensus (used by Bitcoin and others) never reaches consensus finality, i.e. a point in time when you can be sure that consensus has been achieved. All you can do is estimate the probability that a block is in the final chain.<p>That said, Nakamoto Consensus has some really nice properties compared to classical consensus algorithms. For example, most &quot;classical&quot; BFT consensus algorithms have a worst-case message complexity of O(N^2) (or in some new highly-academic algorithms O(N polylog(N))). Nakamoto Consensus, in contrast, has O(N) worst-case message complexity. That&#x27;s what enables Bitcoin (and the like) to scale so nicely to thousands of nodes.<p>Of course, if you&#x27;re building a permissioned ledger with 25 nodes, that&#x27;s irrelevant; the classical algorithms will work fine.<p>There&#x27;s more discussion of this in the SCP paper: Luu, Loi, Viswesh Narayanan, Kunal Baweja, Chaodong Zheng, Seth Gilbert, and Prateek Saxena. &quot;SCP: A Computationally-Scalable Byzantine Consensus Protocol For Blockchains.&quot;
评论 #11929324 未加载
评论 #11929122 未加载
评论 #11929027 未加载
jkirealmost 9 years ago
This really highlights the differences between trying to understand and formalise the theory behind distributed systems and trying to practically build and use distributed systems.<p>In a practical sense, bitcoin pretty much has the property of strong consistency. That is a useful thing for people to know and understand. However, none of the theory that applies to strongly consistent systems necessarily <i>needs</i> to apply to bitcoin, because bitcoin is not theoretically perfectly strongly consistent. This is also important for people to understand, as otherwise they may incorrectly assume that certain results apply to bitcoin, e.g. the CAP theorem, leading to confusion.<p>So, I really do believe it is important to differentiate between talking about the properties of distributed systems in a theoretical sense and talking about them in a practical sense. The current formalisations of distributed systems have mainly been built to understand the theoretical properties, which while can be useful as a starting point to understand the practical properties, its always important to note that distributed systems may have good enough approximations to useful theoretical properties for a particular use case.
评论 #11930618 未加载
评论 #11929255 未加载
marknadalalmost 9 years ago
Like several others (who got downvoted, I don&#x27;t know why) who have pointed out - this article provides no citations and confusing reasoning. The definition of &quot;eventual consistency&quot; is that all systems converge to the same state after enough time. Yet the author seems to be saying Bitcoin is strongly consistent because (if we ignore things in their variable state) it will converge to an agreed upon state.<p>Apparently it is up to you how you want to interpret the use of &quot;strong&quot; or &quot;eventual&quot; here.
评论 #11929350 未加载
ameliusalmost 9 years ago
This article has a very denigrating tone. And it doesn&#x27;t even cite the research that it is trying to disprove.
goldenkeyalmost 9 years ago
Given that the blockchain can split at any time with a probability based on incentive that approaches infitesmal values as chain size goes to infinity, the blockchain is not even eventually consistent. It is never consistent, only probabilisticly consistent.
评论 #11928900 未加载
评论 #11929874 未加载
kallebooalmost 9 years ago
tldr: author claims if you only look at transactions with 6 or more confirmations, it&#x27;s strong consistency (or rather, &quot;your chances of observing an anomaly are exponentially small&quot;)<p>Anyone not using Satoshi&#x27;s 6 confirmation rule is No true Scotsman.<p>No statistics are done on actual, real-life blockchain orphans to prove his claims.
评论 #11928718 未加载
coldneboalmost 9 years ago
How is omega not equivalent to the time interval in common EC strategies. Also, saying that &quot;EC&quot; doesn&#x27;t guarantee serializability sounds strange. It does, over t. And yes, CAP is widely misunderstood, but I&#x27;m not sure this is the fault of the academics.<p>Sounds kind of like this was written to a certain audience that is in a bubble wrt the wider field.
jkeleralmost 9 years ago
&gt; Because the probability drops exponentially with Ω, it&#x27;s easy to pick an Ω such that the chance of observing a blockchain reorganization is less likely than having the processor miscompute values due to strikes by alpha particles. If that&#x27;s not sufficient for pedants, one can pick a slightly higher Ω such that the chances of observing a reorganization are lower than the likelihood that all the oxygen molecules in the room, via random Brownian motion, will pile up into one corner of the room and leave one to suffocate in the other corner.<p>This guy obviously doesn&#x27;t understand what he is talking about. I would more probably remine the whole bitcoin blockchain on my cpu in a second than this thing happens.