Questions tagged [clique]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
12
votes
2answers
5k views

Setting up a private PoA Clique network with puppeth

I would like to set-up a new private network using Clique as protocol with the help of puppeth. When configuring the new Genesis block, this question is being asked: Which accounts are allowed to ...
7
votes
1answer
400 views

parity TPS optimization - please help

how to accelerate parity PoA ? I have been benchmarking different Ethereum clients with a focus on their PoA capabilities. Current results are: 56 TPS with parity aura 322 TPS with geth clique ...
6
votes
1answer
1k views

Synchronisation failed, dropping peer; err=“retrieved hash chain is invalid”; message loop

I have clique private proof-of-authority chain. I have updated all signer nodes' (currently I have 3 signer nodes) geth version to minimum Version: 1.8.16-stable. Also I have updated the other node ...
5
votes
1answer
1k views

Difference between Geth POA Clique and Parity POA Aura

I am creating my own private blockchain with a POA consensus. What is the difference between POA networks created by Geth (Clique) and by Parity (Aura), and are there scenarios that favor one over the ...
5
votes
1answer
1k views

How does the Clique PoA consensus protocol choose the next block-minting node?

How does the Clique PoA consensus protocol choose the next minting/mining node? Is it random (within the bounds of the number of blocks that must be elapsed before a node can mint/mine another block)? ...
5
votes
1answer
260 views

What number of confirmations is considered secure for Geth PoA Clique?

In Ethereum PoW the recommendation is to wait for 12 confirmations at least. [Q]: What rules to apply for Geth PoA Clique algorithm? My best guess so far: lower limit: sum of confirmation block ...
5
votes
1answer
607 views

How well do Proof of Authority (PoA) implementations of Geth (Clique) and Parity (Aura) scale?

Has anybody tried to run PoA networks with 100 or more validators? Given a fixed block size, how did the number of validators effect transaction throughput and latency?
5
votes
2answers
389 views

How to immediately include transactions into blocks if there is still space?

Geth version: 1.8.12-stable OS & Version: Linux/OSX Expected Behavior Transactions to distributed to network right at its sent block number and deployed within that. Actual Behavior ...
4
votes
1answer
989 views

Clique: Genesis File

What are the mandatory parameters of genesis.json File in PoA? and what are their expected values? for ex. values of byzantiumBlock epi155Block DAOForkBlock EIP150Block EIP158Block epoch nonce ...
4
votes
0answers
99 views

Error trying to synchronize geth clique client after shutdown

I'm working with a private network using geth clique clients. Each time a node shut downs, (after a power cut, or just killing the geth process), if a try to put it to work again, the node can't ...
3
votes
1answer
72 views

What is the purpose of Görli Testnet?

Görli testnet is started with the goal of being widely usable across all client implementations supporting Clique PoA engine (EIP-225) (see Comparison of the different TestNets) Since it exists ...
3
votes
1answer
727 views

Clique: New added signers won't show up on other nodes and mining new blocks stopped

I have followed following answer about How to add new Sealer in Geth 1.6 Proof of Authority?. Currently I have one signer account 0x4e4a0750350796164d8defc442a712b7557bf282. With one signer the ...
3
votes
2answers
1k views

Why is Geth ignoring --nodiscover?

I'm firing up a test network like so: geth --networkid=43766 --datadir ~/.ethereum/authchaintestnet/ --unlock b40474571297fd05ac82fd2994f45c977f3ca77a --password ~/.ethereum/authchaintestnet/...
3
votes
1answer
159 views

How to configure the sealer account for a private Clique PoA network in Pantheon

Pantheon is the new Java-based Ethereum node targeting the enterprise setups. I am trying to get my geth clique private network running on pantheon, but since pantheon has no account management, I am ...
3
votes
3answers
928 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 ...
3
votes
1answer
323 views

geth/parity PoA consensus algorithms - did someone try to measure the performance?

PoA consensus algorithms are an acceptable choice in public/private permissioned networks. [Q]: Did someone try to setup a benchmark for measuring the performance of existing PoA implementations in ...
3
votes
3answers
2k views

Ethereum POA ( proof of Authority ) for private network

I am trying to set up private network in ethereum with POA, but I am unable to do so. getting below error I have tried using puppeth manager to setup the genesis file. The genesis file is set up to ...
3
votes
1answer
128 views

Is it possible to hard fork a private network to Constantinople?

I have a Proof-of-Authority private Ethereum network that has Byzantium EVM version and created by clique engine. I have a single miner that has Geth version: v1.8.27. { "config": { "chainId": ...
3
votes
1answer
408 views

Geth signing stops after a period of time

I have 5 clients setup (1 boot, 1 geth, 3 signers using Clique) - Most of the time they work no problem and mining starts, sometimes mining just stops with no warning nor issue/error message. Another ...
3
votes
2answers
3k views

What to do about “Block sealing failed” on a new Clique blockchain?

I've use puppeth to configure a test blockchain. I inited the blockchain and started geth. When I go into the console, this is the output I get: > miner.start() INFnOul l[0 6-> 09|00:30:09] ...
3
votes
0answers
221 views

Header broke chain ancestry, Synchronisation failed, dropping peer & retrieved hash chain is invalid

System information Geth version: Geth Version: 1.8.22-stable Git Commit: 7fa3509e2eaf1a4ebc12344590e5699406690f15 Architecture: arm Protocol Versions: [63 62] Network Id: 1 Go Version: go1.11.5 ...
3
votes
0answers
208 views

Unable to Add 3rd Proof-of-Authority Sealer Node

I have a geth POA private blockchain setup and running with 2 sealer nodes. Now I have setup a 3rd node as a sealer, and ran the following command on the both existing sealer nodes clique.propose("...
3
votes
0answers
575 views

Is Geth's Clique PoA Consensus Algorithm production ready?

Is it recommended to use geth's Clique PoA in a production setup or is it for test-net only? Does someone know of productive deployments of Clique PoA?
3
votes
1answer
150 views

Creation of a whitelist in a private network with Rinkeby Clique PoA?

I'd like to create a private network where I would limit the creation of smart contracts to a whitelist of accounts. Is there any option for this?
2
votes
1answer
288 views

What do Ethhash and CliqueConfig refer to in the genesis config?

I don't see any real documentaiton on what these are or to what they refer. Here is the structure in the config file: // Various consensus engines Ethash *EthashConfig `json:"ethash,omitempty"` ...
2
votes
1answer
78 views

Removing sealers from clique genesis

Running a private POA with clique. I know it is possible to add and remove signers using clique.propose(). However, If I lose access to one of the sealers defined in the genesis file is it possible ...
2
votes
1answer
451 views

Modify Clique consensus on geth

I moved on from PoW (which takes an eternity, I don't know why) to a PoA consensus (which is quasi instantaneous since I set the block mining to 1 second). Now everything works really quickly on my ...
2
votes
0answers
166 views

Can a Parity node can connect into Clique Proof-of-Authority consensus engine?

I have setup private Proof-of-Authority consensus engine (also named clique) network with Geth. Can a Parity node connect into it? If yes, how? Parity-goerli does this for AuRa (Parity's Proof-of-...
2
votes
0answers
72 views

Geth: process receipts (clique)

we set up our own ethereum instance using geth and the "clique" consensus mechanism. We have now 20 nodes and only 1 of them is a miner. My problem is: It seems like, that only the miner node is able ...
2
votes
0answers
262 views

Implementing validator contract on existing PoA chain

I'm running a private PoA chain with a height of around 700,000 blocks. I initialised the chain with two signer addresses included in the genesis file to get things started. Since then we've added ...
1
vote
2answers
71 views

How to get the miner address of a block with infura Rinkeby endpoint?

I've read some docs online that to get the miner/sealer/signer address of a particular block that runs with the Ethereum PoA/Clique consensus (the Rinkeby testnet for example), I need to call the ...
1
vote
1answer
496 views

Ethereum Clique RPC Call | web3.clique undefined issue

To access the functionality of Clique through geth javascript console is easy, like clique.getSnapshot(), clique.propose("address",bool) etc. But I'm not able to access those functionality using RPC ...
1
vote
1answer
84 views

How to set sealers in genesis block extradata for a Clique PoA network?

What is the format of the Clique PoA genesis extradata field to set up the sealers? This is an example: "extraData": "...
1
vote
1answer
104 views

Can race conditions occur in PoA network?

I have the following contract deployed on my PoA network with two sealers, node1 and node2. Let's assume a user, user1, submits a transaction with call to process() method to node1 and another user, ...
1
vote
1answer
631 views

Help with setting up Private POA(Clique) Ethereum Network

Geth Version : 1.8.12-stable-37685930 Testing on Amazon EC2 t2.large(8GB RAM) machine with Ubuntu 16.04 running. I am in need of setting up a multi node private POA(Clique) ethereum network. ...
1
vote
1answer
19 views

Duplication of events in permissioned geth Chain with clique PoA consensus algorithm

I have an Ethereum chain running on my local host via geth and i am using the clique PoA Algorithm. I have 4 authority nodes so the number of Nodes allowed to sign a block should always be 1 because ...
1
vote
0answers
17 views

What is 'dangling vote' in the geth clique POA algorithm?

I am reading the code implementation for clique POA algorithm(consensus/clique), and encountered this line of comment in consensus/clique/snapshot.go: // uncast removes a previously cast vote from ...
1
vote
1answer
61 views

How to start a node on private ethereum chain using “geth --config config.toml”?

I set up a chique poa ethereum private chain. the node can start to work using the command below: geth --networkid 123456 --rpc --rpcport "8545" --rpcaddr 0.0.0.0 --rpccorsdomain "*" --datadir ./...
1
vote
1answer
38 views

What is the best way to push transactions with hight rate (>1000 per second)?

In order to test the throughput of a private Ethereum, I need to send multiple transactions as fast as possible. Can web3js ensures fast delivery of transactions? or there is an other more efficient ...
1
vote
0answers
64 views

Is it possible to set miner reward on Geth clique?

I have a private network set up with ethereum & PoA clique consensus. Using in geth client miner.setEtherbase(eth.coinbase) on miner nodes, doesn't seems to work. Inspecting in block explorer ...
1
vote
0answers
33 views

Delay on receiving block by peered node

Sometimes it takes an around of 25ms to import new block by the other peered node after mined by miner. But sometimes it increases directly around 400ms to import block by peered node after mined by ...
1
vote
0answers
55 views

go-ethereum POA with clique - issue with add new signers when all old signers are removed

I have setup a POA network with Clique consensus on azure. Due to some issue all the signer vms got deleted and we have no more signers and only normal geth nodes. So i tried updating the geth nodes ...
1
vote
0answers
73 views

Add custom block header for Clique

Is it possible to add a new header to ethereums block header without messing up go-ethereums core too much.. im looking at the block.go file specifically at this part... see the custom super header i ...
1
vote
2answers
1k views

Private PoA Network doesn't mine

I have 5 (8GB/4vCPU) droplets (private networking enabled; IP's below are of this private network) running on DigitalOcean. I am startled because the workflow I outline below worked like charm locally....
1
vote
0answers
457 views

Clique: recommended sealer setup for small networks?

For example I have Proof-of-Authority private Ethereum network that has three nodes (pretty small network), which I control all the three nodes and can decide who is sealer or not. Later additional ...
0
votes
1answer
194 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 ...
0
votes
1answer
183 views

Geth PoA Clique and Chain Forks

In PoW, in the case of a chain fork, the client will continue on the chain with the most work on it. In Geth PoA Clique, forks still can ocur, since Sealers are racing against each other in sealing ...
0
votes
2answers
354 views

Geth PoA Clique and 100% transaction finality

In Bitcoin and Ethereum PoW, we have probabilistic BFT. I.e., the transaction finality will never reach 100%, but it will be very close to that with every further confirmation. How about Geth POA ...
0
votes
0answers
38 views

Calls to RPC sometimes gets Error: Connection refused or URL couldn't be resolved

I have a backend server that constantly gets logs and parses data from my client node (Clique non-sealer). I restrict the number of calls from my backend server -> client node to 25 at a time. Is ...
0
votes
1answer
41 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 ...