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.
65 lines
824 B
65 lines
824 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)
|
|
|
|
* [Quorum IBFT 1.0](QuorumIBFT.md) (Proof of Authority)
|
|
|
|
The genesis file specifies the consensus protocol for a chain in the `config` property:
|
|
|
|
```json tab="Ethash"
|
|
{
|
|
"config": {
|
|
...
|
|
"ethash": {
|
|
|
|
}
|
|
},
|
|
...
|
|
}
|
|
```
|
|
|
|
```json tab="Clique"
|
|
{
|
|
"config": {
|
|
....
|
|
"clique": {
|
|
...
|
|
}
|
|
},
|
|
...
|
|
}
|
|
```
|
|
|
|
```json tab="IBFT 2.0"
|
|
{
|
|
"config": {
|
|
....
|
|
"ibft2": {
|
|
...
|
|
}
|
|
},
|
|
...
|
|
}
|
|
```
|
|
|
|
```json tab="IBFT 1.0"
|
|
{
|
|
"config": {
|
|
....
|
|
"ibft": {
|
|
...
|
|
}
|
|
},
|
|
...
|
|
}
|
|
```
|
|
|
|
|