Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [consensus]

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

0
votes
0answers
11 views

Do uncles have any influence for consesus algorithm

Based on this question: What is the exact "longest chain" rule implemented in the Ethereum "Homestead" protocol? Is the situation still the same and uncles not counted for ...
6
votes
0answers
119 views

What happened in the Ropsten hardfork from Byzantium to Constantinople?

What were the consensus issues during the Constantinople hardfork in the Ropsten testnet? One noted consensus issue is: geth and parity have been in noticeable disagreement regarding block ...
2
votes
0answers
24 views

Is there a temporal reward in Casper, that the earlier you place bets, the more you are rewarded?

In Casper, the consensus-by-bet proof-of-stake system, is there a temporal reward, that the earlier you place bets, the more you are rewarded?
0
votes
2answers
23 views

Can we use Proof of Authority on private mainnet?

I am trying to figure out a way to use consensus algorithm on a private blockchain network, preferably ethereum. came across many suggestions. One of the suggestions which stuck was using PoA on ...
1
vote
2answers
31 views

how to reach consensus berween only 2 peers?

Can consensus take place between only 2 peers? Scenario: I am a patient who is visiting a doctor and all the communication/transaction between the both of us happen via a blockchain based app. So ...
3
votes
2answers
32 views

Dual blockchain

Could anybody please help me to understand how dual blockchains work? There are many Dapps which are built on dual blockchains, especially using the combination of Ethereum and Hyperledger. But I am ...
3
votes
2answers
44 views

Proof of Authority or PBFT

I want to choose a consensus algorithm for permissioned blockchain in healthcare. I know PoA and PBFT are good choices, but I want to know which one is better? Thanks...
2
votes
1answer
70 views

Is “Proof-of-work” a subset of “Byzantine fault tolerance (BFT)”?

Can we say that Proof-of-work is a type of Byzantine fault tolerance (BFT) ? In other words, is PoW a subset of BFT ? Or they are two different categories? Please note that there is a similar ...
7
votes
1answer
131 views

Who runs Plasma's side chains?

If I want to start a Plasma side chain for a project, do I need my own blockchain for it (with X amount of nodes etc) or is it run simply by those who participate in it? If it's run solely by its ...
1
vote
1answer
33 views

Smart contract consensus - underpinned by transactions?

I can easily visualise how consensus can be reached on transactions in systems such as Bitcoin, but I struggle to understand how consensus can work in a smart contract platform - i.e how can nodes ...
1
vote
1answer
62 views

Nothing at Stake problem - eth wiki

I am trying to understand proof of stake consensus. I found some explanation about the "nothing at stake problem at the Ethereum wiki. Here is the part about the "Slasher"-solution i don't understand:...
1
vote
2answers
55 views

What is the Oracle Problem definition exactly and briefly?

What is the Oracle Problem definition exactly and briefly? Does it mean "trusting on a centralized Oracle" ? Or "How to reach a consensus between a group of Oracles" ? Is the matter "centralization" ...
1
vote
0answers
25 views

“consensus over state” vs. “consensus over events”?

Does someone know what is difference between "consensus over state" and "consensus over events" ? I found just title of a reference i.e. "Ian Grigg, blog post “The Message is the Medium,” 2017." ...
0
votes
1answer
51 views

Delegated Proof of Stake (DPOS) vs. Proo of Stake? [closed]

What is the main difference between Delegated Proof of Stake (DPOS) vs. Proof of Stake? Is there any significant advantage for security? (since PoS in general suffers security problems.) And which ...
0
votes
0answers
53 views

What is the purpose of non-mining sealer nodes in clique POA private ethereum network with respect to the clique consensus

I did setup a private POA ethereum network with 4 nodes with 3 of them mining . I went on to try a lot of combinations with some miners and sealers and reached to a conclusion that every miner hash to ...
1
vote
1answer
93 views

What is the “main” difference between consensus mechanism of Bitcoin and Ethereum?

Bitcoin and Ethereum both use proof-of-work (PoW) consensus mechanism. One of differences between Bitcoin Pow and Ethereum PoW is difficulty level, meaning that while in bitcoin block generation rate ...
0
votes
2answers
36 views

Change in genesis file without creating chain from the start

We're working with private Blockchain(PoA, 2 consensus node) and we've already created few blocks. Now we'd like to add some change in genesis file. So, basically question is, how can we support ...
0
votes
2answers
46 views

Can state in a smart contract be immutable

My question is referring to immutability of smart contract data. If I make a function in smart contract and write a conditional such that if a key of a map already exists jump out of the function and ...
1
vote
0answers
26 views

How do mrand.Float64() output the same result with same order in reorganisation?

Recently, I did go deep into the code of reorganisation in blockchain, but I'm confused by the mrand.Float64() in WriteBlockWithState. Here is the code: original code position // If the total ...
1
vote
1answer
40 views

How can I transfer half mining award to an address?

Creating a dapp, which requires half allocated mining fee should go to an address. I managed to cut down the mining as well as the block reward: consensus.go // Accumulate the rewards for the ...
0
votes
0answers
62 views

Proof of authority reward mechanism

Can anybody explain the reward mechanism in Proof of Authority (PoA) protocol? What kind of reward is received by the validators in PoA? So far I came up with the following points: There is no ...
0
votes
1answer
25 views

Quorum Consensus - BAR (Byzantine Altruistic Rational) Fault Tolerance / BAR Fault Tolerance / BAR Model

I refer to http://www.cs.utexas.edu/~dahlin/projects/bft/ http://www.cs.cornell.edu/lorenzo/papers/sosp05.pdf http://www.cs.northwestern.edu/~fabianb/classes/cs-443-w07/BAR.pdf https://blog.ethereum....
1
vote
1answer
145 views

Validation of Smart Contract execution in Ethereum

Now I understand that miners will run smart contracts in Ethereum and other nodes in the network will be checking the validity of the contract execution from How is a node selected to run Smart ...
0
votes
0answers
15 views

Smart Contract as Part of Consensus Layer | Consensus enforced by Smart Contract

Often, consensus (POS/POW,PBFT,IBFT) is not associated with smart contract. but smart contract can also be further used enforce consensus as well? Perhaps to further breakdown consensus, there is ...
0
votes
1answer
62 views

quorum istanbul byzantine fault tolerance (ibft) consensus nodes count for failover - recommended configuration

In Quorum, specifically for istanbul byzantine fault tolerance (ibft) consensus algorithm, what is the ideal node count for failover? i.e., recommended configuration? Nathan Aw (Singapore)
0
votes
0answers
33 views

How does go-ethereum test the consensus algorithm

What facility does go-ethereum use to test its consensus algorithm? build/ci.go -test only has some limited unit tests.
0
votes
0answers
119 views

Quorum consensus protocol - Validating block

In the Quorum whitepaper it says "Once successfully validated, Voter Nodes send their vote to the BlockVoting contract using a standard Ethereum Transaction that is distributed to all Nodes. Since ...
7
votes
1answer
1k views

QuorumChain Consensus vs Raft Consensus vs Istanbul consensus quorum

I am reading about Quorum which is an Ethereum-based distributed ledger protocol with transaction/contract privacy and new consensus mechanisms. I have read about QuorumChain consensus and Raft ...
7
votes
2answers
251 views

Hyperledger Consensus protocol. [closed]

I'm soo deep inside the consensus protocols like PoW, PoS, PoA or other variants used on permissioned/private blockchains such as JPMorgan's Quorum (Based on Raft), Istambul etc.. But I've not ...
8
votes
1answer
2k views

How many transactions per second can Ethereum currently handle? What changes will allow the network to be able to handle more? [duplicate]

I've been searching for a more precise answer to this question, but I've seen a lot of conflicting information stating that Ethereum can currently handle anywhere from 12-45 transactions per second. ...
2
votes
1answer
482 views

Is Quorum production ready

Quorum is private permissioned blockchain network.Is it production ready or still in beta/Proof of Concept stage?
1
vote
1answer
121 views

How to test and bechmark POA consensus? [closed]

How test POA consusus that only authorized sealer can seal the block. How to run test cases ?
3
votes
1answer
79 views

What happened in the anomalous transaction, where an account was deleted despite out of gas?

In the Byzantium Revision of the Yellow Paper, Appendix K: Here is equation 195: Here is the transaction, It was made during efforts to de-bloat the state post EIP-150. It appears that the txn was ...
1
vote
1answer
36 views

Finality in Casper: can full node delete everything other than block header and state tree after reaching finality?

In the coming release Casper, I am assuming after Casper reaches finality, the finalized block will never reorg. Is it safe for the full nodes to delete everything (e.g., all transactions) other than ...
1
vote
1answer
33 views

Is it possible to use low mining complexity to remove some certain transaction in the past?

I have a question that has concerned me for a long time. It relates to the security and reliability of the blockchain applications. Let's assume I want to build an application that uses Ethereum or ...
5
votes
1answer
135 views

Incentive to vote early in Casper FFG protocol?

If I understand the Casper FFG protocol correctly, (1) all votes are public, and (2) the optimal voting strategy would be to observe other votes and vote accordingly (see this post, section "The ...
3
votes
1answer
191 views

How to introduce new consensus protocol for the Ethereum based application?

I am developing a Blockchain based application using Ethereum. Can I introduce my own consensus protocol for the application. Any suggestions would be appreciated. EDIT : Or will it be possible to ...
0
votes
0answers
19 views

Enterprise Version of Ethereum / Private Blockchains / Consortium Blockchains - How Malicious Actors are deterred?

Not sure if this is the right forum for enterprise versions of Ethereum but will try. Understand that through the use of Proof of Work (PoW) Sybil attacks are deterred in public blockchains. The ...
0
votes
0answers
26 views

Private network enabling micropayment; consensus mechanism

I am having a hard time figuring out what type of consensus would be best suited for a private chain with own token, which main purpose would be to enable high volume micro payments (network will also ...
1
vote
3answers
86 views

How to ensure the state of a smart contract is final?

If I understand correctly, the state of a smart contract (its data storage and associated events) can only be changed via transactions. The transactions are stored in blocks and as such in a public ...
1
vote
2answers
390 views

geth Clique consensus skip empty blocks

The Clique consensus seems to be always sealing a new block at fixed intervals of period seconds, where period is the setting in the genesis block (config.clique.period). That seems wasteful, indeed ...
1
vote
1answer
76 views

Contract with long execution time

When sending a transaction to a contract, what happens if the contract code takes longer to execute than the block takes to mine? Whether it be computational based or static limits. Would this cause ...
0
votes
0answers
29 views

Proof of Work and/or Proof of Stake Fully Decentralised (i.e., trustless)

Can one say that only proof of work and/or proof of stake (when POS is implemented) category of consensus algorithm is fully decentralised (i.e., trustless)? As all the other consensus algorithms ...
2
votes
1answer
46 views

How miners know about forks? (Theoretical question)

Let's say Alice wants to send a transaction tx to the blockchain and the transaction is added to a block that belongs in a fork. Then after k blocks when the network reaches consensus this tx does not ...
0
votes
0answers
46 views

Is it possible to run PBFT on ethereum blockchain, supporting a native asset?

Would appreciate some help on this topic. I want to know if its possible to run PBFT, or some other consensus that does not require mining incentives, on a permission Ethereum-based blockchain? If ...
0
votes
1answer
124 views

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 ...
0
votes
0answers
27 views

About Geth miningLogAtDepth

I created a Clique blockchain with 10 Geth nodes. They use to fork sometime and fork finally become a side fork after 5 blocks. Which is configured in the const value miningLogAtDepth = 5 in worker....
0
votes
0answers
11 views

How does Proof of Stake work in Ethereum? [duplicate]

How does a node validate the pending transactions and get the right to create a block? The node with the highest stake? Can a node not participate?
0
votes
1answer
36 views

Possibility of Quantum Computing significantly speeding up transactions per second (TPS) / transaction rate for blockchain consensus algorithm?

Possibility of Quantum Computing significantly speeding up transactions per second (TPS) / transaction rate for blockchain consensus algorithm? For example, Shor Algorithm, the most complex quantum ...
0
votes
1answer
24 views

How many nodes can confirm the correctness of the hash value by miner?

After mining the hash value for the new block, How many nodes can confirm the correctness of the hash value by miner? In one of blockchain paper, all other nodes must mutually confirm the correctness ...