1. SHA3-256 Mining Hash (H(core || le64(nonc)))
core (32 bytes) | nonc (u64) | Expected SHA3-256 Digest (hex) |
|---|---|---|
0000...0000 (32 zero bytes) | 0 | fdc6d587c83a348e456b034e1e0c31e9a7e1a3aa66ea28a759f0472282631421 |
00010203...1e1f (bytes 0..31) | 42 | 6bdd3b360a0bbcb8404cb9b0e53d7be24a18ac251b76398e444ff6f6c208d57f |
2. Difficulty Formula (diff_at, SPEC.md §9)
All divisions use mathematical floor (toward negative infinity), including for negative x.
height | prev.time | START | LEVEL | x | mant | expo | diff_work |
|---|---|---|---|---|---|---|---|
0 | 0 | 0 | 21 | 0 | 1024 | 11 | 2097152 |
1024 | 0 | 0 | 21 | 1024 | 1024 | 12 | 4194304 |
0 | 1024 | 0 | 21 | -1024 | 1024 | 10 | 1048576 |
0 | 1 | 0 | 21 | -1 | 2047 | 10 | 2096128 |
Note: signed int64_t subtraction in clang/block.c overflows near x = -2^63 (PR #332). Alternative clients should compute q, r using unsigned or exact arbitrary-precision Euclidean floor.
3. Reward and Supply (SPEC.md §9)
| Era | Start Height | Reward (units) | Reward (Ki) |
|---|---|---|---|
0 | 0 | 10000000 | 10.000000 |
1 | 67108864 | 5000000 | 5.000000 |
2 | 134217728 | 2500000 | 2.500000 |
23 | 1543503872 | 1 | 0.000001 |
24 | 1610612736 | 0 | 0.000000 |
Exact total supply across eras 0..23: 1,342,176,743,129,088 units (1,342,176,743.129088 Ki).
4. Winternitz Constant-Sum Guard (SPEC.md §4)
A transaction digest is signable if and only if the sum of its 32 unsigned bytes equals 4,080 (32 * 255 / 2).