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 [clique]

The tag has no usage guidance.

0
votes
0answers
16 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 ...
1
vote
0answers
10 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 ...
0
votes
0answers
10 views

How to set sealers in extradata genesis block in PoA?

Which is the sintaxis to set up the sealers in extradata field? This is an example: "extraData": "...
3
votes
0answers
18 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 ...
0
votes
0answers
15 views

Open websocket in POA private network

Im following this tutorial to setup PoA private network: https://medium.com/@collin.cusce/using-puppeth-to-manually-create-an-ethereum-proof-of-authority-clique-network-on-aws-ae0d7c906cce. Nodes in ...
0
votes
0answers
22 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 ...
2
votes
1answer
41 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 ...
3
votes
1answer
111 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 ...
2
votes
0answers
89 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-...
4
votes
1answer
456 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 ...
0
votes
1answer
49 views

Geth syncing times out

Hell, I'm struggling to get a PoA network to run with nodes on several servers. I've reduced the problem to try to get a 2 sealers network since with more than 2 nodes it doesn't even start. With 2 ...
7
votes
1answer
259 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 ...
3
votes
1answer
394 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?
3
votes
1answer
148 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 ...
0
votes
1answer
102 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
226 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 ...
1
vote
0answers
39 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 ...
2
votes
0answers
41 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 ...
3
votes
0answers
121 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("...
5
votes
1answer
838 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 ...
0
votes
1answer
123 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
92 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, ...
4
votes
1answer
253 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 ...
1
vote
1answer
367 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. ...
0
votes
0answers
162 views

Creating a new Consensus Algorithm based on Clique

Im working on refactoring clique consensus algorithm to use a smart contract. For my initial proof of concept I am using 2 files, each with 3 node addresses, I am using these files to populate the ...
0
votes
0answers
158 views

How to set gas price for an OPCODE in a private PoA chain?

I have set up a private PoA network on my machine. I can set the gas price and gas limit for all transactions. Is it possible to set gas price required to sign a transaction for each OPCODE? Like I ...
0
votes
0answers
92 views

How to programatically add a signer within clique consensus algorithm

I'm trying to extend clique and to add a signer programatically, my initial PoC looks something like this which i have placed into the snapshot.go file in clique, when i do this, compile and restard ...
3
votes
1answer
450 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 ...
0
votes
1answer
144 views

How to filter transactions in PoA/Clique chain

(ETH noob here) I am thinking of running PoA/Clique based network for a potential dApp project. Is it possible for the sealer to apply filters on transactions before sealing a block? The scenario ...
1
vote
1answer
326 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
0answers
54 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 ...
0
votes
1answer
508 views

How to use events to retrieve data from a transaction? PRIVATE CHAIN

i am using GETH for the architecture and deployment of my contract on a private chain and it works pretty fine, but unfortunately i want to return data from a transaction function and this makes me ...
-1
votes
0answers
66 views

I am considering Clique PoA for a particular use case(explained below) and the physical configuration

I followed the post from https://medium.com/@gowriramasubramanian/hello-thanks-for-your-wonderful-post-ce8f1a5143ac Scenario description: I have a scenario where the authority is one node (a sealer), ...
0
votes
1answer
97 views

txpool on private chain not working unable to submit txn from non-miner

I have a local test setup with 3 Geth nodes, of which 2 are miners (Clique) and 1 non-miner. I noticed that submitted transactions are never synchronized with other nodes. Consequently, on a non-...
3
votes
2answers
641 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
271 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
1answer
294 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 ...
1
vote
2answers
847 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....
0
votes
0answers
28 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....
1
vote
0answers
404 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 ...
3
votes
1answer
513 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
0answers
514 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?
2
votes
1answer
241 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
0answers
215 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 ...
3
votes
2answers
703 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/...
2
votes
1answer
394 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 ...
3
votes
1answer
593 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)? ...
3
votes
1answer
146 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?
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] ...
10
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 ...