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.
50 lines
647 B
50 lines
647 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)
|
|
|
|
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": {
|
|
....
|
|
"ibft2": {
|
|
...
|
|
}
|
|
},
|
|
...
|
|
}
|
|
``` |