hyperledger / besu

An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client https://wiki.hyperledger.org/display/besu
https://www.hyperledger.org/projects/besu
Apache License 2.0
1.48k stars 800 forks source link

proof of stake in besu #5809

Open Abolfazlak opened 1 year ago

Abolfazlak commented 1 year ago

In which file can I find proof of stake algorithm mechanism? for example I found pow in ethash.java file.

@non-fungible-nelson

Abolfazlak commented 1 year ago

@garyschulte Do you know what should I do?

non-fungible-nelson commented 1 year ago

Besu doesn't implement Proof of stake itself. We use the Engine API to enable proof of stake through a consensus layer client.

You should review a few places in the besu docs that may help you out: https://besu.hyperledger.org/public-networks/concepts/proof-of-stake https://besu.hyperledger.org/public-networks/how-to/use-engine-api

and here in teku docs: https://docs.teku.consensys.net/concepts/architecture https://docs.teku.consensys.net/concepts/proof-of-stake

non-fungible-nelson commented 1 year ago

Here is an area of code for the Engine API.