Questions tagged [consensus]

The process used by mutually untrusting users to agree on the validation and execution of transactions and smart contracts.

The process used by mutually untrusting users to agree on the validation and execution of transactions and smart contracts.

272 questions
7
votes
2 answers

Smart contracts code: what are nodes in Ethereum actually agreeing upon during the consensus process?

When a contract is triggered, all nodes execute the code; where exactly does consensus come in? Are they agreeing upon the OUTPUT or just the code itself?
Mark J.
  • 361
  • 2
  • 6
5
votes
1 answer

What is the longest fork that had occurred so far?

What is the longest fork that had occurred since the start of Frontier?
mKoeppelmann
  • 7,616
  • 8
  • 36
  • 48
4
votes
2 answers

Can the term Nakamoto Consensus (NC) be used interchangeably with Proof of Work (PoW)?

Can the term Nakamoto Consensus (NC) be used interchangeably with Proof of Work (PoW)? Which term would the community prefer to use?
Nathan Aw
  • 1,954
  • 12
  • 27
3
votes
0 answers

Tendermint vs Algorand - Similarities and Differences

The core of Algorand uses a Byzantine agreement protocol called BA⋆ that scales to many users while Tendermint is based on a modified version of the DLS protocol which is resilient up to 1/3 of Byzantine participants. Am trying to decide between…
Nathan Aw
  • 1,954
  • 12
  • 27
2
votes
1 answer

Proof Of Authority Consensus and one authority getting hacked

What could happen if an authority (validator) gets hacked in a PoA consensus? Would it be able to block the system as it won't be able to mine its block?
David
  • 65
  • 7
2
votes
1 answer

Where are contracts actually running?

I wonder where "Smart Contracts" are actually running: Are they running on every node in the network? I rather doubt this, given the costs for running the contrat. If my assumption is correct and the "Smart Contract" is only running on one single…
Peter
  • 21
  • 3
2
votes
0 answers

Is the term "open execution" wrong in any way?

I read a post discussing Ethereum, and how it can be thought of as the next step of the "open source" movement of software, and he coined the term "open execution," and I rather liked it. The real question is whether or not this misses the mark,…
1
vote
0 answers

What's Ethereum's mechanism for transitioning to new consensus rules?

In Bitcoin, historically, several ways to fork the network in have been used: User Activated Soft Fork (UASF): on a certain hardcoded blockchain height the nodes simply start enforcing the new rules Miner Activated Soft Fork (MASF): the new rule…
anon2328
  • 31
  • 2
1
vote
0 answers

How to detect a consensus is BFT or not?

Can we divide consensus algorithms into BFT (Byzantine Fault Tolerant) and non-BFT ? If so, How to detect a consensus is BFT or non-BFT ? Is there any non-BFT consensus algorithm example ?
Questioner
  • 2,670
  • 2
  • 33
  • 62
1
vote
0 answers

Stakeholder entry censorship in PoS

If I am not mistaken, the following two assertions hold true for Ethereum PoS: An entity becomes a validator in the upcoming PoS block validation scheme by first issuing a special transaction to lock its stake. The rate of profit of a block…
Nur Yan
  • 11
  • 2
1
vote
2 answers

Why is Proof of Work, Proof of Stake associated with Consensus Mechanisms/Algorithms?

Many often associate Proof of Work, Proof of Stake, etc with blockchain consensus algorithm/mechanisms. I find that association to be inaccurate. Yes, proof of work / proof of stake are mechanisms by which leaders are elected to validate…
Nathan Aw
  • 1,954
  • 12
  • 27
1
vote
1 answer

Ethereum Uncles - What if there are conflicts?

In questions like here - In Ethereum, what is an uncle block? - people are saying that uncles are just being included in some of the next 7 blocks. So far so good. What if a uncle is conflicting with the corresponding sibling block? Is it…
1
vote
1 answer

How "consensus engine" interfaces with on-chain contract data such as validator stake/pool

In some proof-of-stake Ethereum implementation that uses on-chain smart contracts to manage staking and validator selection somehow (any example would work), how does the client interact with that when it runs the consensus engine? More…
BipedalJoe
  • 151
  • 6
1
vote
1 answer

How do nodes reject a fraudulent block

I read about block structure, hashing, verifying transactions, but I am struggling to understand how a bad block is rejected by miners. Let's say I am a bad actor and win the PoW competition and I have added a fraudulent transaction within the block…
1
vote
2 answers

A Fatal Flaw in the merge?

Maybe I am wrong and am misunderstanding something, but there is no validation done by the PoS chain. During the merge... let's say it happens at block #151... the PoW chain passes the blockchain over to the PoS chain to start processing…
1
2