Questions tagged [clique]
The clique tag has no usage guidance.
78 questions
0
votes
0
answers
17
views
Clique doesn't show address of validator
I want to use Clique consensus
By default it writes Coinbase.address as 0x0000...
I want to write always address of validator of a block
I have tried to add code to function "Finalize"
But ...
0
votes
0
answers
12
views
Go-Ethereum compatible with negative difficulty if custom consensus engine is used?
Assuming a custom consensus engine similar to Clique proof-of-authority, is block.Difficulty allowed to be negative?
Why I ask:
Custom consensus engines can reuse the ReorgNeeded functionality if they ...
0
votes
1
answer
259
views
Editing genesis file in geth Clique
I'm working on project using the geth clique.
I have 4 nodes running on the network.
I created the 5th node with:
geth --datadir node5 account new
I have edited the genesis.json to add the account ...
0
votes
0
answers
101
views
Error at eth_estimateGas & eth_call geth local testnet
Here I am asking for help for my problem, namely to eth_call and eth_estimateGas. So I created LocalTestnet with the aim of making a Swap Testnet, but when I run it an error appears like the one I ...
2
votes
1
answer
731
views
Why do my blocks not have a baseFeePerGas property?
I've got a private network that's using the clique consensus protocol and is running using Geth (if that's relevant).
I have been confused about gas and transaction fees, so wrote a script to look at ...
0
votes
0
answers
69
views
Open ports for sealers in POA
Should sealers have open TCP/UDP ports that allow other nodes to connect when running a clique blockchain?
Edit:
In other words: Is it mandatory for sealer nodes to accept incoming connections on the ...
1
vote
0
answers
63
views
Geth(clique): Getting the total initial supply on a geth private network
Using ethers/web3 is it possible to get the total initial supply (which is predetermined on clique) so I can get a hold of the data and display it somewhere..
I know how to get the total supply of an ...
2
votes
1
answer
171
views
How Ethereum 2.0 and sharding will apply to private Ethereum with PoA consensus (Clique)?
We're about to run the private Ethereum PoA chain based on Clique and thinking how would we support it for ages. Hence we're wondering:
Whether Ethereum 2.0 updates (London, etc) are even applicable ...
0
votes
0
answers
136
views
Too many chain reorgs in a proof of authority (clique) based private blockchain
I'm studying on Proof of Authority (Clique) based blockchains. I've setup private networks with 1 validator nodes few times, things really go well in 1 validator but when I add 2 / 3 validators in the ...
3
votes
1
answer
792
views
Meaning of Clique epoch
Can someone explain the meaning of epoch in clique? So if my genesis file contains:
"clique":{
"period": 0,
"epoch": 0
}
What does it mean? As far as I ...
1
vote
0
answers
196
views
Is it possible to hard fork a private network to Berlin?
I have a Proof-of-Authority private Ethereum network that has Istanbul EVM version and created by clique engine. I have multiple signer nodes that has Geth version: v1.10.1-stable-c2d2f4ed.
"...
1
vote
0
answers
140
views
Storage space geth for private network?
Setup a private network with clique at 15 secs block creation. Started with 3 nodes. Then deployed a smart contract (ERC 721) and send two transactions. After about 2 days idling, and no transactions, ...
1
vote
0
answers
307
views
How do you hard-fork a Clique PoA chain to use new validators?
Imagine you've got a running PoA chain using Clique PoA with Geth. If everything is running normally, you can propose additions and removals of validators and the existing validators will vote on the ...
1
vote
1
answer
771
views
Geth v1.9.24 - POA - no sealing with period 0 - "Sealing paused, waiting for transactions"
I have a private clique network with geth v1.9.24. 1 sealer and 1 node. With period=0 there is no sealing happening, all transactions go to txpool as pending, and logs show "Sealing paused, ...
1
vote
0
answers
143
views
Geth-Clique PoA
In the PoA consensus algorithm Clique, when a sealer broadcasts a block for a given height of the blockchain, do the other sealers check the validity of the transactions inside the received sealed ...
1
vote
1
answer
982
views
POA: Geth node (miner) automatically stops after 3-4 hours which results in primary node pausing and looking for peers
I have set up 2 Geth nodes with POA on different machines. After starting bootnode and starting Geth nodes, they sync well and starts mining alternately. If I manually stop a node, other node keeps ...
3
votes
1
answer
2k
views
bootstrap node vs cmd/bootnode
I am using bootnode as a starting/meeting point for my private POA/clique network. When I start it since one of the latest versions it says:
fmt.Println("Note: you're using cmd/bootnode, a developer ...
1
vote
0
answers
213
views
Migration from PoW to PoA Clique on geth
After reading chapter "Repurposing header fields for signing and voting" at https://eips.ethereum.org/EIPS/eip-225 I've understood the nonce field of blocks in PoW consensus blockchain is reused for ...
1
vote
1
answer
361
views
How to determine the best sealing time for private Clique
I have several transactions to be stored in my permissioned blockchain with PoA Clique.
With the transactions information in mind, how do we determine the best sealing time for private Clique' blocks?...
4
votes
1
answer
1k
views
In a clique consensus private network, what happens when a sealer (signer) stops mining
I create a private network with two sealers running on two separate nodes. I found that if one node stops signing by miner.stop(), the other one start to wait for it and stoped signing blocks too. The ...
2
votes
1
answer
368
views
Blocktime zero (period:0) with clique in permissioned blockchain
I am considering to set the blocktime to zero (clique.period:0) in a permissioned private blockchain with known but untrusted nodes. The reason to do this is
having a minimum transaction process ...
0
votes
1
answer
371
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.
1
vote
1
answer
255
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
0
answers
95
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
2
answers
679
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 ...
4
votes
1
answer
834
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": ...
1
vote
1
answer
1k
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 ./...
2
votes
0
answers
255
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
1
answer
159
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
0
answers
136
views
Send transactions from any address (account) to a private ethreum network (PoA)
I am trying to send a transaction to a private Ethereum network (PoA) using an arbitrary address. However, the network is not accepting transactions from that address. Are there any method to unlock ...
3
votes
1
answer
154
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 ...
7
votes
1
answer
2k
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
0
answers
653
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
1
answer
585
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 ...
2
votes
1
answer
2k
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": "...
4
votes
0
answers
306
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 ...
1
vote
0
answers
101
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
1
answer
419
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 ...
4
votes
1
answer
297
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
0
answers
270
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-...
7
votes
1
answer
6k
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 ...
1
vote
1
answer
920
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 ...
8
votes
1
answer
908
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
...
7
votes
1
answer
1k
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
1
answer
938
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
1
answer
385
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
2
answers
967
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
0
answers
204
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
0
answers
150
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 ...
7
votes
0
answers
543
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(&...