Current Test Results

Snapshot of the most recent full test run. Re-run any of these on your own machine and you should see the same numbers. Last refreshed from contrib/testing/results/20260519T193234Z/summary.json (B3PoW-Scratch v1.1.1 corpus, 2026-05-19, UTC).

1. Full corpus run

The B3Chain test corpus is one shell script — contrib/testing/tools/run-full-corpus.sh — that runs every layer of verification end-to-end and writes a summary.json + per-test .log into contrib/testing/results/<utc-timestamp>/. Below is the latest published run.

IDSuiteResultDurationNotes
cpp_powC++ pow_tests (b3chain-specific)PASS0.2 smagic bytes, ports, DNS seeds, early-diff guard, B3PoW hash, budget
cpp_b3pow_scratchC++ b3pow_scratch_testsPASS0.2 s4 cases incl. consensus vectors C++ ↔ Python parity
cpp_b3pow_cacheC++ b3pow_cache_testsPASS0.2 sLRU eviction, thread-safe lookup, cache-pair re-use
cpp_cryptoC++ crypto_testsPASS0.7 sBLAKE3 primitive, AES, ChaCha20, HKDF, etc.
cpp_validationC++ validation_testsPASS0.2 sblock validation, chain selection, mempool
phase11_masterPhase 11 self-audit (run-all.sh)PASS3 m 30 s11 audits PASS — see § 2
verify_b3powB3PoW-Scratch reference verifierPASS3 soffline check against b3pow_consensus_vectors.json
feature_b3powFunctional test feature_b3pow.pyPASS1 sspec-version, dual-hash, budget, header-cap on a live regtest node
stratum_poolStratum pool audit (P-1 … P-4)PASS1 s14 / 14 checks (10 static + 4 node-test)
stratum_v2Stratum V2 audit (S-1 … S-6)PASS4 s17 / 17 checks (11 static + 6 node-test)
bitcoin_inhBitcoin inheritance audit (full ctest + functional)PASS2 h 11 mcaptured separately at run 20260519T095923Z
compare_allBLAKE3 vs SHA-256d compare suitePASS31 sthroughput + algorithm-properties table

All 12 / 12 corpus stages PASS. Raw logs live next to the summary.json in the same results directory and are committed to the repo for permanent traceability.

2. Phase 11 self-audit

IDAuditResultNotes
C-1..C-4Supply cap & halvingPASS9 / 9 checks
H-1PoW / block-ID isolation (B3PoW-Scratch v1.1.1)PASS10 / 10 checks
H-1.1B3PoW verifier wall-clock budget enforcementPASS6 / 6 checks (static + ctest)
H-1.2B3PoW LRU scratchpad cachePASS6 / 6 checks (static + ctest)
H-1.3HEADERS-batch verification capPASS4 / 4 checks (static)
N-1Network isolationPASS15 / 15 checks
W-1Bitcoin address rejectionPASS8 / 8 checks (36 addresses)
B-1SIMD BLAKE3 differential (primitive only)PASS4 / 4 checks (1 037 inputs)
B-2Rebranding regressionPASS6 / 6 checks
W-2HD wallet coin_type 9333PASS9 / 9 checks
A-151% double-spend simulationDEMO4 / 4 checks (regtest)

Detailed property descriptions in doc/SECURITY-AUDIT.md.

3. Performance markers

B3PoW-Scratch verifier (single-thread)
<= 50 ms / header on a modern CPU; pad reused via LRU cache for sibling headers
BLAKE3 primitive (single-thread)
~1.4 GB/s on a modern CPU (no SIMD batching)
Audit run-all.sh
~3 m 30 s on this workstation (includes B-1 SIMD differential @ 1 037 inputs)
Bitcoin-inheritance full suite
~2 h 11 m end-to-end (ctest + functional + extended functional)

4. Reproduce

# 1. Build the node + tests.
cd b3chain && mkdir -p build && cd build
cmake .. -DBUILD_TESTS=ON && cmake --build . -j$(nproc)

# 2. Run the full corpus.  Skip the 2-hour Bitcoin-inheritance step
#    with SKIP_BITCOIN_INH=1 if you have already run it once.
bash ../contrib/testing/tools/run-full-corpus.sh \
     ../contrib/testing/results/$(date -u +%Y%m%dT%H%M%SZ)

# 3. Or run individual suites manually.
./bin/test_bitcoin --run_test=b3pow_scratch_tests
./bin/test_bitcoin --run_test=b3pow_cache_tests
python3 ../contrib/testing/verify-b3pow.py
python3 ../test/functional/feature_b3pow.py
bash   ../contrib/testing/audit/run-all.sh
bash   ../contrib/testing/compare/run-all-compare.sh