8 ms·
Ask HN: How does consensus work in an enterprise blockchain?
We have seen a lot of focus given to bitcoin's PoW and the electricity usage. This got me thinking how the enterprise offerings like Quorum, Hyperledger work exactly? Are they like a PoS model?
Edit: Based on the inputs, I wanted to add couple more questions.
If the consensus is based on a set of trusted accounts, why are people using the enterprise blockchain stuff still talk about blockchain being "trustless"?
Second, if it is only about a set of shared ledger with multiple trusted parties, what is wrong with an API layer integration? What exactly is the value creation for a full fledged system?
Third, bitcoin blockchain defends against a miner getting hacked by making everyone do PoS. Sure coins will get stolen.
But, if we have a permission-ed server which can add stuff to an enterprise blockchain doesn't it make the whole thing a lot less secure?
- dozzie 9y ago> How does consensus work in an enterprise blockchain? It doesn't, because blockchain doesn't solve consensus problem.
- econner 9y agoWhat's the point of using a blockchain then?
- prepend 9y agoThere’s tons of answers to this, but one example I’m interested in is as a good shared, accessible audit log for data throughout an organization. Just having a stable history for all data helps with investigation and master data management. In this case consensus isn’t really necessary because all participants are trusted and should rarely differ (since they all have the same boss at some level).
- russdpale 9y agoI agree. But working at a huge company I can honestly say they don't really want an immutable ledger. They want to fudge and change things.
- prepend 9y agoI suppose maybe it depends on the organization. I’ve worked at companies that do want an immutable ledger. But probably not have it be public.
- slake 9y agoTypically a ledger should be immutable. That's what retains its auditability. Any fudging/changing should be done through reverse entries that explain why the reversal occurs.
- dozzie 9y agoTo tell which document (transaction) of a given pair correlated ones was issued earlier, which is called "timestamping". But you don't need consensus (as in Byzantine generals problem) to do that, you just need timestamping protocol.
- blueplanet200 9y agoMaybe explain a little more? Obviously in your opinion the OP is confused, but this answer is short and unhelpful.
- dozzie 9y agoFirst and foremost: what is consensus problem?
- YuriNiyazov 9y agoA trustless blockchain most certainly does. https://news.ycombinator.com/item?id=15915957 https://news.ycombinator.com/item?id=15915957
- dozzie 9y agoIt most certainly doesn't. You even confuse blockchain and Merkle trees, and call into existence some weird term "distributed blockchain". But then, consensus problem is a problem of establishing a specific value for almost all participants. Which implies that the value is established, which means that the protocol terminates. Blockchain was not designed to ever terminate, so it's not a consensus protocol even if for no other reason. Otherwise, what parts of blockchain exactly establish a common value among participants and what exactly is this common value?
- zero-x 9y agoWhat? There is consensus on the public blockchain every few seconds + block depth. It's called Nakamoto consensus, so yes blockchain 'solves' the problem. In smaller chains, there can certainly be consensus, it just won't be as trusted as a public chain and 51% attacks are potentially more feasible due to it having a smaller economic barrier.
- dozzie 9y ago> What? There is consensus on the public blockchain every few seconds + block depth. It's called Nakamoto consensus, so yes blockchain 'solves' the problem. It's a name used for Bitcoin's protocol. It doesn't mean it's consensus. How does the established value by this "consensus" protocol look like? And why do you consider it established, when other participants can have a totally different view of the list of documents in the protocol, or your view can change completely with next message? How is it an agreed value? And at what point should we look at the views of two different participants to see the same value? And how does it relate to Lamport's original publication about the consensus problem?
- 9y ago
- deleted 9y ago[deleted]
- heckerhut 9y agoIt’s based on a quorum of white-listed accounts that are allowed to sign blocks.
- YuriNiyazov 9y agoWhen the Bitcoin paper originally came out, it used the word 'blockchain' to specifically mean a 'trustless distributed blockchain' where consensus is reached via mining, and that is susceptible to a 50% + 1 attack, and where the mining nodes are individual businesses that have no reason to trust each other except that the game is set up in a way that it is in their self-interest to secure the blockchain. However, there's a use for the word 'blockchain' which is 'distributed blockchain', which is a data structure that is a chain of blocks where each includes a hash of the previous one - it's distributed amongst machines, but those fundamentally trust each other (like in case of JPMorgan chain), so there's no reason to use a 'trustless distributed blockchain'. You can't set up a miner and join Quorum and make money securing it. In such a case, quorum is probably solved just using standard distributed database algorithms like Paxos or Raft.
- 0xf8 9y agoJPM's Quorum is originally a fork of Ethereum though.
- YuriNiyazov 9y agoSure, but it's permissioned. Not everyone can join and mine.
- russdpale 9y agoHuh? Bitcoin white paper does not have the word block-chain in it.
- prepend 9y agoYet it describes the blockchain. It talks about blocks, it refers to them in a chain. While true that the word block-chain doesn’t exist, it isn’t relevant to OP’s point (since the paper clearly defines the blockchain concept now used so prevelantly).
- borplk 9y agoIt may not have the "blockchain" exactly but it certainly does have blocks and mentions chaining them together.
- viraptor 9y ago> Second, if it is only about a set of shared ledger with multiple trusted parties, what is wrong with an API layer integration? What exactly is the value creation for a full fledged system? > But, if we have a permission-ed server which can add stuff to an enterprise blockchain doesn't it make the whole thing a lot less secure? You're asking the right questions and this is pretty much a summary why the enterprise use is unlikely to use blockchain the same way as the public, if at all. Enterprise/banking may be interested in a distributed ledger as a datastructure, but other tech which provides a similar results already exists. Unfortunately if you look at most of the "big (company/bank) starts (experimenting with/using) (Bitcoin/blockchain)" news, they very rarely say why and how.
- brudgers 9y agoAs your edit notes, trust solves a lot of the technical hurdles that Bitcoin and Etherium and other protocols intended for use against adversaries must leap. Many of the proposed and actual uses of blockchain are layered on top of existing trust networks. For example inter-connected electrical grids operated by separate companies already trust each other and already have working settlement mechanisms. Potentially a blockchain can improve/simplify/quicken an existing flow of settlements between trusted parties by eliminating phonecalls, faxes, snail mailed bank drafts, and so on. It may reduce manual processing and human error and banks in the middle. As a technology, blockchain may be more like double entry accounting or an abacus than the many other things that the word "technology" tends to conjure up in our minds.
- narak 9y agoWorth watching this talk on Ripple's consensus algorithm by its architect: https://www.youtube.com/watch?v=7abKUs9tYZg https://www.youtube.com/watch?v=7abKUs9tYZg and related whitepaper: https://ripple.com/files/ripple_consensus_whitepaper.pdf https://ripple.com/files/ripple_consensus_whitepaper.pdf I have no affiliation with Ripple or XRP, just enjoyed the fairly technical nature of the talk.
- nnn1234 9y agoThe goal would be to enable co opetition. Think of patent pools, the incentive usually is to own the patent and enforce it, inside of patent pools however , the goal is to get to application. So a collection of non trusting entities can have a shared ledger of record. That most certainly is the pull, which Enterprise blockchain cos sell as simplified back office. Will it work like that in production ? No clue