Questions tagged [consensus]

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

Filter by
Sorted by
Tagged with
2
votes
0answers
23 views

How can I test a consensus protocol that I created?

Currently, I am designing my own blockchain consensus protocol and I want to test its performance. Is there any available tool or well-known framework that gives me this ability?
0
votes
2answers
44 views

How Ethereum supports in dealing with double spending problems

Let's us consider a scenario where I am using my ethereum wallet for creating a transaction request (where my account balance is 100 eth and I am doing a transaction of 50 eth to someone from one ...
1
vote
0answers
22 views

Are there more important “impossible triangles” aside from CAP theorem, FLP impossibility and Zamfir's triangle?

I have come across CAP theorem, FLP impossibility, and Zamfir's triangle ever since I began to study blockchain. As I interpret CAP theorem as the tradeoff between consistency, Availability, and ...
3
votes
2answers
49 views

How does Ethereum prevents a node from mining a block with tempered transaction?

My question is rather simple, and I found this question in the Bitcoin StackExchange that somehow relates to mine, although, for the Bitcoin Blockchain, which I'm not sure if Ethereum solves the ...
0
votes
0answers
21 views

Security implications on limiting the round change timeout of Istanbul BFT consensus algorithm?

I have a security-related question regarding the exponentially increasing timeout in the round change, which is used in the Istanbul Byzantine fault-tolerance consensus algorithm used by Quorum. ...
0
votes
0answers
84 views

Any platforms that do validator selection using pre-committed hash chains?

Has this mechanism for selecting validators been proposed and/or implemented in any distributed ledgers? Validators pre-commit hash chains of length w. When creating a block, validators commit the ...
0
votes
1answer
40 views

PoW in Public blockchain Vs. PoW in Private blockchain

I am reading about consensus mechanisms in blockchain and it is stated that PoW (Proof of Work) requires longer confirmation time compared with voting-based mechanisms. But some things are not clear ...
0
votes
2answers
28 views

Could this work? Proof of Consistency?

So, I have been doing some research on Blockchain , for my dissertation, recently and had spent a lot of time researching consensus protocols. This had led me to wondering if there is any other ways ...
0
votes
1answer
43 views

How a consensus algorithm is implemented in a private Blockchain network ( ethereum )? [closed]

How to implement a new custom consensus algorithm in a network.
0
votes
1answer
46 views

How Proof-Of-Learning can be implemented?

Seen a paper on Proof-Of-Learning and wanted to know-how the consensus works and how to implement it in ethereum?
0
votes
1answer
14 views

Can block validation be done using machine Learning Algorithms?

I am looking for a new era of products that leverages the potential of Machine Learning and the blockchain, Thinking of different aspects of Blockchain which can be improved with the help of machine ...
1
vote
0answers
16 views

How a full node knows which chain to follow?

After Istanbul fork, my full node followed the longest chain which has: Longest Chain Highest TotalDifficulty It seems that the shorter chain of the core-dev closing the gap - total difficulty ...
1
vote
0answers
32 views

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

Why some transaction errors lead to discarding the whole block?

In terms of go-ethereum code, transaction errors can be grouped into (I made up the terminology) several categories by their effect on state transition. System errors: like database connection issues....
0
votes
3answers
118 views

Why is PoW needed to confirm transactions and add new blocks [closed]

I have read and I vaguely understand about how Proof of Work works and what does it do. But why PoW? Or more bluntly, why do we need any algorithm at all to add new blocks. What would happen if ...
0
votes
1answer
20 views

How the consensus informations are transported across the network?

Lets consider the scenario, if one node in India, finds the nonce (in pow) and it will generate the block and propagate to the network. How the block will move across the each and every node of the ...
0
votes
0answers
25 views

Ethereum PoW vs FLP impossibility

I am new to Ethereum and still going through the theory of consensus protocols. After learning the FLP impossibility result, I am trying to understand how Ethereum PoW protocol overcomes the ...
1
vote
0answers
50 views

How to detect a consensus is BFT or not? [closed]

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 ?
1
vote
0answers
53 views

Computational complexity of EVM consensus

Are there any resources that look at the computational complexity of running Ethereum on a private network? I am not considering any smart contracts or even transactions. I simply am trying to find ...
0
votes
0answers
30 views

Relationship between fault tolerance and network latency

I'm currently studying Ethereum's PoS and a sentence on the relationship between fault tolerance and network delays caught my attention in the Proof of Stake FAQ. Quoting Vitalik: In this model, ...
0
votes
1answer
48 views

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

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
50 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
77 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
29 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
18 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
0answers
19 views

Dai [DAI] stablecoin Consensus Mechanism?

What is the Protocol (name of the Blockchain Protocol) of Dai [DAI] stablecoin and what is its Consensus Mechanism?
0
votes
1answer
30 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
21 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
35 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
43 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 ...
1
vote
1answer
153 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
1answer
29 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
59 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
72 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
96 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 ...
1
vote
2answers
147 views

Decentralized Access Control in permissioned Blockchain

For a business use case I am conceptualizing for my master's thesis, which is based on a Blockchain system, I need to understand impacts on decentralization/trustlessness. Many people argue that ...
1
vote
1answer
34 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
51 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
745 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
282 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
299 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
39 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
107 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
75 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
68 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 ...
8
votes
0answers
254 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
32 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
217 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
54 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
70 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 ...