//
pkg.gl
Category
github.com/rethereum-blockchain/go-rethereum
consensus
beacon
package
1.13.5
Repository:
https://github.com/rethereum-blockchain/go-rethereum.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
11
Dependents
2
Files
365 SLOC
#
Functions
IsTTDReached
IsTTDReached checks if the TotalTerminalDifficulty has been surpassed on the `parentHash` block.
New
New creates a consensus engine with the given embedded eth1 engine.
NewFaker
NewFaker creates a fake consensus engine for testing.
#
Structs
Beacon
Beacon is a consensus engine that combines the eth1 consensus and proof-of-stake algorithm.