Skip to content
Kindelia Wiki
Kindelia Wiki · 06 of 06

Cross-Client Conformance Vectors

SPEC.md requires that any second client written from the specification alone agrees with clang/ byte for byte. Download machine-readable JSON at vectors.json.

1. SHA3-256 Mining Hash (H(core || le64(nonc)))

core (32 bytes)nonc (u64)Expected SHA3-256 Digest (hex)
0000...0000 (32 zero bytes)0fdc6d587c83a348e456b034e1e0c31e9a7e1a3aa66ea28a759f0472282631421
00010203...1e1f (bytes 0..31)426bdd3b360a0bbcb8404cb9b0e53d7be24a18ac251b76398e444ff6f6c208d57f

2. Difficulty Formula (diff_at, SPEC.md §9)

All divisions use mathematical floor (toward negative infinity), including for negative x.

heightprev.timeSTARTLEVELxmantexpodiff_work
0002101024112097152
1024002110241024124194304
01024021-10241024101048576
01021-12047102096128

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)

EraStart HeightReward (units)Reward (Ki)
001000000010.000000
16710886450000005.000000
213421772825000002.500000
23154350387210.000001
24161061273600.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).