mirror of
https://git.sr.ht/~sircmpwn/mkproof
synced 2024-04-28 04:45:02 +02:00
7de01c930f
This makes it easier to detect if the input proof is valid or if there was another error (eg: badly formatted challenge, etc)
18 lines
446 B
Markdown
18 lines
446 B
Markdown
checkproof(1)
|
|
|
|
# NAME
|
|
|
|
*checkproof* - verify a proof-of-work challenge
|
|
|
|
# SYNOPSIS
|
|
|
|
*checkproof* _challenge_ _proof_
|
|
|
|
# DESCRIPTION
|
|
|
|
*checkproof* verifies a proof-of-work challenge which has been completed by
|
|
*mkproof*(1). The result will be printed to stdout. If valid, *checkproof* will
|
|
exit with a zero status code. If the proof is invalid, it will exit with a
|
|
status code of 1. If any other usage error, it will exit with a status code of
|
|
2.
|