mirror of https://github.com/hyperledger/besu
An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client https://wiki.hyperledger.org/display/besu
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
729 B
53 lines
729 B
description: Pantheon consensus protocols
|
|
<!--- END of page meta data -->
|
|
|
|
# Consensus Protocols
|
|
|
|
Pantheon implements a number of consensus protocols:
|
|
|
|
* Ethash (Proof of Work)
|
|
|
|
* [Clique](Clique.md) (Proof of Authority)
|
|
|
|
* [IBFT 2.0](IBFT.md) (Proof of Authority)
|
|
|
|
!!! note
|
|
IBFT 2.0 is under development and will be available in v1.0.
|
|
|
|
The genesis file specifies the consensus protocol for a chain `config`:
|
|
|
|
```json tab="Ethash"
|
|
{
|
|
"config": {
|
|
...
|
|
"ethash": {
|
|
|
|
}
|
|
},
|
|
...
|
|
}
|
|
```
|
|
|
|
```json tab="Clique"
|
|
{
|
|
"config": {
|
|
....
|
|
"clique": {
|
|
...
|
|
}
|
|
},
|
|
...
|
|
}
|
|
```
|
|
|
|
```json tab="IBFT 2.0"
|
|
{
|
|
"config": {
|
|
....
|
|
"revisedibft": {
|
|
...
|
|
}
|
|
},
|
|
...
|
|
}
|
|
``` |