package
Version:
v0.0.0-...-55a0270
Opens a new window with list of versions in this module.
Published: Dec 15, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
CalculateAnswerNonce returns the hex-encoded value for the `answer-nonce` header
type Challenge struct {
ChallengeNonceHex string `json:"challengeNonce"`
ValidDurationInMinutes int64 `json:"validDurationInMinutes"`
LargestAllowedHashHex string `json:"largestAllowedHash"`
}
Challenge is the body as returned from GET /api/v1.0/proof-of-work-challenge
Source Files
¶
Click to show internal directories.
Click to hide internal directories.