Hot answers tagged

5 votes
Accepted

What is the purpose of non-mining sealer nodes in clique POA private ethereum network with respect to the clique consensus

Non-mining sealer node which is also called non-validator nodes is just deployed so developers and users can connect with these nodes and can interact with the blockchain. As sealer nodes are critical ...
  • 148
5 votes

What is the performance difference between Proof of Authority (PoA) and Proof of Work (PoW)?

Performance: The transaction throughput is limited (among other things) by the block size. By how many transactions one can fit in a block. Proof of Authority is a centralized consortium chain and ...
  • 151
5 votes

Clique PoA Private Blockchain: Need Suggestion for Block Gas Target and Block Gas Limit

Take care, the gas target and limits are in Mega-gas. The default is 7.5. Your 94000000 is actually 94 * 10^12 gas, which is semi-infinite. To get 94M, just specify 94. A good rule of thumb imho is ...
4 votes
Accepted

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

This issue has been solved by the go-ethereum team. @karalabe: The transaction should propagate across the network at the same time. It however is not included in the current block, because ...
  • 7,839
4 votes
Accepted

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

Pantheon (0.8.1) has no account management. It will only create a server private key, which is stored unencrypted in datadir/key. This key will also be used as the sealer account in Clique-PoA. Hence ...
  • 7,234
4 votes
Accepted

geth clique block gas limit

Set the gas limit option for geth, For example, geth --miner.gastarget=3000000000 --miner.gaslimit=3000000000
3 votes
Accepted

Proof of Authority or PBFT

According to an abstract of this paper: The analysis advocates that PoA for permissioned blockchains, deployed over the Internet with Byzantine nodes, do not provide adequate consistency ...
  • 2,407
3 votes
Accepted

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

Since nobody has provided an answer so far, I'll try to summarize my research on this. If someone is able to provide a better "story", I will switch the checkmark to it. After reading the pBFT paper ...
  • 7,234
3 votes

Ethereum Clique RPC Call | web3.clique undefined issue

clique API is a geth specific extension. You can enable this with --rpcapi clique Then you can send the corresponding JSON RPC calls. E.g. curl -X POST --data '{"jsonrpc":"2.0","method":"...
  • 7,234
3 votes

Why are Plasma child chains forced to be of UTXO type, and why not a regular ethereum chain running PoA or similar?

As far as I know, plasma is trying to minimise storage and logic. With a UTXO-based sidechain, the bitmap can directly represent txs bit by bit. They do mention in the white paper that it is possible ...
  • 510
3 votes
Accepted

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

yes, have a look at my current question: parity TPS optimization - please help = I could not really accelerate parity yet. For now, geth looks MUCH faster. Feel free to run your own benchmarks, it ...
  • 354
3 votes
Accepted

Private PoA Network doesn't mine

The issue could be resolved by only defining two out of 5 authorized sealers in the genesis.json (using puppeth) and only starting them with --mine and the other 3 nodes without it. We also added some ...
3 votes
Accepted

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

Clique extradata field, used to define PoA validators/sealers must match the following format: First part: 32bytes vanity, meaning whatever you want here since it's expressed as an hex string (64 ...
3 votes

Geth-Clique: 2 sealer POA network - sealer nodes not mining - Signed recently, must wait for others - stuck

Both sealers are configured with the same etherbase 0x933e73c3f959759c169effa4019c8faf7d05ce33. And the second sealers fails to sign blocks because it is locked: WARN [09-20|17:00:54.874] Block ...
  • 30.2k
3 votes

Gas estimation failed - remix

This happens when you make a change to your contract (typically add a new method) but fail to deploy the contract to the network. In my case I failed to do so because of truffle. truffle migrate ...
  • 507
3 votes

Does Geth Clique will get affected when difficulty increases to its maximum?

In Clique Proof-of-Authority consensus algorithm the difficulty does not increase with the chain lenght (unlike the Proof-of-Work). In fact the term of "difficulty" is not relevant in PoA as ...
  • 3,962
2 votes

Why are Plasma child chains forced to be of UTXO type, and why not a regular ethereum chain running PoA or similar?

The UTXO model is for starting on the Minimal Viable Plasma. This is so that it is much easier to implement, than an account based model like in an ethereum chain, in terms of security mechanism of ...
  • 455
2 votes

Geth signing stops after a period of time

When you have 3 signers, at least 2 have to be online and have the eth.coinbase account unlocked to be able to continue sealing new blocks. Otherwise the sealing process stops with "Signed recently, ...
  • 7,234
2 votes

Gas price in Ethereum PoA

1 ) If you set gas price to 0 transactions will not have any cost(ether cost), in PoA there is no reward for making a block, ether is either given from initialization or not given at all. 2 ) If you ...
2 votes

Private PoA Network doesn't mine

Yo should pass --mine as parameter as shellcoder said. You can also send the order to mine from the geth client attached: - geth attach node_directory/geth.ipc > miner.start() Remember that the ...
2 votes

How to test and bechmark POA consensus?

I don't know if thats what you are looking for (try to be more explicit on your questions). But as far as I understood, to test a PoA consensus yo have this options: Kovan (The official PoA testnet) ...
  • 2,785
2 votes

What is the bucket list in geth?

A bucket list is a list of things you'd like to do before you die, such as getting a private PoA network up and running. A bucket limit is an upper bound for the number of peer IP addresses that your ...
2 votes
Accepted

Is gas burned in a PoA network?

If you're talking about geth Clique PoA, then ether used to pay gas costs is not burned, but collected by the sealer. So basically it circulates. See https://github.com/ethereum/EIPs/issues/225#...
  • 7,234
2 votes
Accepted

Parity POA Smart Contract Method Always Fails

I figured it out. The problem was the compiler version of solidity. The smart contract only works with a solidity version below 0.5.4. There is already a Ticket in Github. For more information check: ...
2 votes

Blocktime zero (period:0) with clique in permissioned blockchain

AFAIK Fabric is using PBFT. In PBFT you have a voting mechanism which leads to 100% TX finality after the block has been signed by at least 2/3 of validators. This is not the case for clique, which ...
  • 7,234
2 votes
Accepted

bootstrap node vs cmd/bootnode

The section Setting Up Networking here describes how to run a bootstrap node. It looks like you just need to provide the flag --nat with the IP address of the computer/server running the code when ...
  • 1,216
2 votes

PoA network confusion resolving using geth

1) I'm curious about this one ! :) 2) Yes, if you set period to 0, commit new mining work whenever a transaction arrives 3) Unlocking is done "under-the-hood" it's not a transaction, it's more an "...
2 votes
Accepted

Geth keeps changing coinbase / miner account and stops working. (POA Network)

I had some private discussion with the author, but it is related due to the full access to the API's via HTTP, which a bot changed the miner address. So I would sum it up as this: Do NOT leave ...
2 votes
Accepted

How Ethereum 2.0 and sharding will apply to private Ethereum with PoA consensus (Clique)?

Whether Ethereum 2.0 updates (London, etc) are even applicable to PoA chain? Ethereum 2.0 is a migration to PoS consensus algorithm, which seems odd as we already have PoA in the chain. They are not. ...
1 vote

Can we use Proof of Authority on private mainnet?

If it is a private blockchain there is no rationale to use proof-of-work or proof-of-stake. Because it is private you control the money pool and access 100% and proof-of-authority is the only sensible ...

Only top scored, non community-wiki answers of a minimum length are eligible