Stack Exchange Network

Stack Exchange network consists of 175 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
1answer
19 views

How do I change the consensus algorithm for a network that i forked from github? [on hold]

can i change the consensus algorithm for a network that has forked from github? is there any link to understand how can make changes to consensus
1
vote
1answer
42 views

Three questions

I have recently become interested in crypto and after much reading on Ethereum I still have three burning questions that perhaps some of you can help with. Apologies in advance as some of these might ...
0
votes
1answer
28 views

plug our own consensus in any one of ethereum client? [duplicate]

Actually i try to add new consensus and will through modifying some consensus to see its effect on transaction throughput. so what platform should i use that provide me this facility or should i use ...
0
votes
1answer
10 views

Why did cryptokitties congest ethereum network when it has resizable block size?

So I am wondering how come eth network got congested when block size is resizable and it can take more trx if needed? I am reading some info that it can do that but miners don't want to do it as it ...
0
votes
1answer
13 views

When is chain data (length) compared between nodes? Is there any way to control this?

I am trying to use an ethereum blockchain in a multiagent network. I would like to control when information is exchanged between nodes to keep the network synchronous, so I am trying to figure out how ...
0
votes
1answer
20 views

Are the terms consensus mechanism and consensus algorithm the same?

I have seen that the terms consensus mechanism and consensus algorithm are used interchangeably sometimes. Are they really the same or there is a subtlety to it?
0
votes
0answers
7 views

How are the initial authoritative nodes determined in the PoA consensus protocol?

I am studying the different consensus protocols available. The Proof of Authority model claims to have a set of trusted nodes who are accountable for the validation and verification steps. My ...
1
vote
1answer
24 views

How exactly is the voting for the winning block regulated?

When using PoW, after an Ethereum miner has created a block, that block is propagated to peers (for verification and acceptance into the ledger). Obviously, the ETH reward for the mined block is not ...
1
vote
0answers
30 views

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

How does new block propagation, step by step, work in Ethereum?

I'm trying to understand how nodes propagate new valid blocks in Ethereum. Here's my attempt at a step by step how description of the process: 1. Miner constructs a new block and starts iterating ...
0
votes
0answers
39 views

Ethereum/Quorum Pluggable Consensus with Algorand Byzantine Agreement Protocol?

Can Quorum and Ethereum be possibly configured/modified to use Algorand Byzantine Agreement Protocol?
0
votes
0answers
24 views

What consensus are advised for a consortium supply chain?

Multiple organisations wants to share data around their supply chains systems What is the best consensus that is advised to use?
0
votes
1answer
21 views

How does number of miners impact in processing the business logic(smart contract) in Blockchains

Does a number of validating devices/miners have an impact on processing business logic? If I understand correctly, as the number of validating devices increases, the time it takes to reach the ...
0
votes
1answer
39 views

dApp exploit using multiple wallets

Im currently building a dApp where users will create content that then can be bet on by other users. The design opens up the problem of a user creating content,logging in with another wallet address, ...
2
votes
1answer
51 views

How to prevent modifying blockreward in geth code?

I found below variables in geth file 'consensus/ethash/consensus.go' var ( FrontierBlockReward = big.NewInt(5e+18) //.. ByzantiumBlockReward = big.NewInt(3e+18) //....
1
vote
2answers
66 views

Who generates the mathematical problem for miners?

In POW miners solve an problem for successfully mining a block, who provide the question to the miners ?, does all miners work on same problem ?, and how the miners verify the answer ?, if the problem ...
0
votes
1answer
101 views

Decentralized Access Control in permissioned Blockchain

For a business use case I am conceptualizing for my master's thesis, wich is based on a Blockchain system, I need to understand impacts on decentralization/trustlessness. Many people argue that ...
1
vote
1answer
21 views

How do consensus vulnerabilities occur when parity nodes do not mien?

While familiarizing myself with Ethereum, I found multiple security alerts referring to consensus issues, most notable those that arose because the geth and the parity client handled certain edge ...
0
votes
1answer
33 views

Ethereum fork that implements transaction ordering

Hyperledger fabric has its consensus that contains Transactions endorsement Transactions ordering Transactions committed to a block I wonder if there is an Ethereum consensus or fork that would have ...
2
votes
1answer
168 views

Where is the function that rewards the miner address for mining the block?

I have recently been digging into go-ethereum and have 'plugged' my own consensus mechanism which requires a node to solve a simple equation (2+2) etc to seal a block. However, even after letting it ...
0
votes
1answer
140 views

Relation between the number of block and transaction rate in Quorum

I want to know the relation between the number of blocks generated and the transaction send rate in quorum. I did some experiments on quorum with RAFT consensus, and I get (I invoked the same ...
0
votes
1answer
169 views

Cloning geth and adding a POS consensus algorithm? [closed]

I am currently learning how to use geth, so far I was able to create a private POW and POA blockchain using one of its consensus types (Clique). I am wondering how feasible it would be to clone the ...
1
vote
1answer
36 views

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?
0
votes
2answers
56 views

How do uncle blocks affect Ethereum world state?

Let's say you have two miners: A and B. Let's also say you have two transactions: one which increases a number at a smart contract by one (transaction X), and another which decreases the same number ...
0
votes
2answers
36 views

What is the max data and program complexity one smart-contract can support

I want to make a smart-contract for P2P trading. I am wandering if I have to create separate contracts for each bid and agreement between two entities, or I can simply create a single contract that ...
1
vote
2answers
39 views

How is the state “undone/reverted” after a longer chain is determined?

So say there is block_a, and block_b, both at height 1677. And a node accepts block_a, but then recieves block_b + block_c (which is mined on top of block_b), how exactly are the state changes made in ...
0
votes
0answers
12 views

POS and Ethereum - how are rogue nodes stopped?

How would rogue nodes be stopped under Ethereum and POS? What is stopping a voter who has a lot of token slipping into the network false data, eg a false name and address. That could be detected by ...
6
votes
0answers
214 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
31 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
169 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
43 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
53 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
211 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...
3
votes
1answer
768 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
298 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
52 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 ...
2
votes
1answer
229 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
480 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
51 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
99 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
1answer
160 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
170 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
123 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
75 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
31 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
71 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 ...
2
votes
1answer
167 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
86 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
744 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
33 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 ...