Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QKCHash ¶
type QKCHash struct { *consensus.CommonEngine // contains filtered or unexported fields }
QKCHash is a consensus engine implementing PoW with qkchash algo. See the interface definition: https://github.com/ethereum/go-ethereum/blob/9e9fc87e70accf2b81be8772ab2ab0c914e95666/consensus/consensus.go#L111 Implements consensus.Pow
func New ¶
func New(useNative bool, diffCalculator consensus.DifficultyCalculator, remote bool) *QKCHash
New returns a QKCHash scheme.
Click to show internal directories.
Click to hide internal directories.