Documentation ¶
Index ¶
- func AppendExpandedNonce(headerBytes []byte, nonce uint32) []byte
- func EquihashSolutionSize(n, k int) int
- func ExtractSolution(n, k int, solptr unsafe.Pointer) []byte
- func SolveEquihash(n, k int, input []byte, nonce uint32, algoVersion uint8, ...)
- func ValidateEquihash(n, k int, input []byte, solution []byte) bool
- type EquihashCallback
- type SolutionAppenderData
- type SolutionHolder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendExpandedNonce ¶
func EquihashSolutionSize ¶
func SolveEquihash ¶
func SolveEquihash(n, k int, input []byte, nonce uint32, algoVersion uint8, callback EquihashCallback)
Types ¶
type EquihashCallback ¶
type SolutionAppenderData ¶
type SolutionAppenderData struct {
// contains filtered or unexported fields
}
type SolutionHolder ¶
type SolutionHolder struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.