From: Chris Duncan Date: Thu, 13 Mar 2025 23:35:19 +0000 (-0700) Subject: Fix man page formatting. X-Git-Tag: v3.1.2~2 X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=8c8d4d0ea9b43af1562d83a7d5cadd3291b63b50;p=nano-pow.git Fix man page formatting. --- diff --git a/nano-pow.1 b/nano-pow.1 index f0a4afa..f25f20e 100644 --- a/nano-pow.1 +++ b/nano-pow.1 @@ -11,15 +11,10 @@ nano-pow \- proof-of-work generation and validation for Nano cryptocurrency .SH DESCRIPTION Generate work for \fIBLOCKHASH\fR, or multiple work values for \fIBLOCKHASH\fR(es). -Nano PoW documentation: .PP -\fIBLOCKHASH\fR is a 64-character hexadecimal string. +\fIBLOCKHASH\fR is a 64-character hexadecimal string. Multiple blockhashes must be separated by spaces. .PP -Multiple blockhash values must be separated by spaces. -.PP -Prints a 16-character hexadecimal work value to standard output. -.PP -If \fB--validate\fR is used, prints 'true' or 'false' to standard output. +Prints a 16-character hexadecimal work value to standard output. If \fB--validate\fR is used, prints 'true' or 'false' to standard output. .SH OPTIONS .TP @@ -39,33 +34,40 @@ Override the minimum threshold value. Higher values increase difficulty. Must be Check an existing work value instead of searching for one. .SH EXAMPLES +.PP Search for a work nonce for a blockhash using the default threshold 0xFFFFFFF8: .EX -nano-pow 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef +$ nano-pow \fB0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\fR .EE +.PP Search for a work nonce using a custom threshold and increased effort: .EX -nano-pow \-t fffffe00 \-e 32 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef +$ nano-pow \fB\-t fffffe00 \-e 32 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\fR .EE +.PP Search for multiple nonces from a file: .EX -nano-pow $(cat /path/to/file.txt) +$ nano-pow \fB$(cat /path/to/file.txt)\fR .EE +.PP Validate an existing work nonce against a blockhash and show debugging output: .EX -nano-pow \-d \-v fedcba9876543210 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef +$ nano-pow \fB\-d \-v fedcba9876543210 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\fR .EE .SH AUTHOR Written by Chris Duncan. .SH BUGS -Email: +Email . .SH COPYRIGHT -Copyright \(co 2025 Chris Duncan .PP +.EX +Copyright \(co 2025 Chris Duncan +Nano PoW documentation: License GPLv3+: GNU GPL version 3 or later +.EE