Commit 58c80b8
committed
dgb: M3 §7b prove scrypt digest->pow_hash conversion vs REAL scrypt_1024_1_1_256
Links the btclibs Scrypt PoW TU set (scrypt.cpp + SHA256 family) into
header_chain_test and adds an end-to-end test that runs the real
scrypt_1024_1_1_256 over an 80-byte header, converts the 32-byte LE digest
via u256::from_le_bytes, pins it as a self-derived KAT, and feeds it through
the live full-width satisfaction gate (accept vs pow_limit, reject vs a
tiny target -> proves full-width ordering, not a low64 proxy). Compiles only
the scrypt + SHA256 crypto TUs directly (not the full btclibs archive, whose
siphash TU needs the removed base_uint<256> symbol, and not core/the dgb
OBJECT lib) -- linking an existing scrypt.cpp, no shared source modified.
Same target name, still in both build.yml --target allowlists.
Proves the conversion primitive end-to-end against a genuine Scrypt digest;
does NOT wire scrypt into the production node.cpp ingest path (that lands in
embedded-daemon Phase A, scoped with an exe-smoke).1 parent b1e7bc7 commit 58c80b8
978 files changed
Lines changed: 44161 additions & 4 deletions
File tree
- build_dgb
- CMakeFiles
- 3.28.3
- CompilerIdCXX
- CompilerIdC
- Continuous.dir
- ContinuousBuild.dir
- ContinuousConfigure.dir
- ContinuousCoverage.dir
- ContinuousMemCheck.dir
- ContinuousStart.dir
- ContinuousSubmit.dir
- ContinuousTest.dir
- ContinuousUpdate.dir
- Experimental.dir
- ExperimentalBuild.dir
- ExperimentalConfigure.dir
- ExperimentalCoverage.dir
- ExperimentalMemCheck.dir
- ExperimentalStart.dir
- ExperimentalSubmit.dir
- ExperimentalTest.dir
- ExperimentalUpdate.dir
- Nightly.dir
- NightlyBuild.dir
- NightlyConfigure.dir
- NightlyCoverage.dir
- NightlyMemCheck.dir
- NightlyMemoryCheck.dir
- NightlyStart.dir
- NightlySubmit.dir
- NightlyTest.dir
- NightlyUpdate.dir
- Testing/Temporary
- src
- CMakeFiles
- btclibs
- CMakeFiles
- btclibs.dir
- c2pool
- CMakeFiles
- c2pool-btc.dir
- c2pool-dgb.dir
- c2pool.dir
- c2pool_difficulty.dir
- c2pool_enhanced.dir
- c2pool_hashrate.dir
- c2pool_merged_mining.dir
- c2pool_storage.dir
- test_ltc_node.dir
- ltc
- CMakeFiles
- ltc_coin_test.dir
- ltc_pool_test.dir
- payout
- CMakeFiles
- c2pool_payout.dir
- core
- CMakeFiles
- core.dir
- core_util.dir
- test
- CMakeFiles
- core_test.dir
- impl
- CMakeFiles
- btc
- CMakeFiles
- btc.dir
- coin
- CMakeFiles
- btc_coin.dir
- stratum
- CMakeFiles
- btc_stratum.dir
- dash
- CMakeFiles
- dash_block_replay.dir
- crypto
- CMakeFiles
- dash_x11.dir
- dgb
- CMakeFiles
- dgb.dir
- coin
- CMakeFiles
- dgb_coin.dir
- test
- CMakeFiles
- algo_select_test.dir
- digishield_walk_test.dir
- genesis_check_test.dir
- header_chain_test.dir
- rpc_request_test.dir
- softfork_check_test.dir
- ltc
- CMakeFiles
- ltc.dir
- coin
- CMakeFiles
- ltc_coin.dir
- test
- CMakeFiles
- pool
- CMakeFiles
- pool.dir
- test
- CMakeFiles
- test_address_resolution.dir
- test_auto_ratchet.dir
- test_coin_broadcaster.dir
- test_compact_blocks.dir
- test_dash_block_replay.dir
- test_dash_conformance.dir
- test_dash_header_chain.dir
- test_dash_x11_kat.dir
- test_decay_pplns.dir
- test_dgb_subsidy.dir
- test_doge_chain.dir
- test_hardening.dir
- test_hash_link.dir
- test_header_chain.dir
- test_mempool.dir
- test_multiaddress_pplns.dir
- test_mweb_builder.dir
- test_phase0_live.dir
- test_phase1_live.dir
- test_phase2_live.dir
- test_phase3_live.dir
- test_phase4_embedded.dir
- test_phase4_live.dir
- test_pplns_consensus.dir
- test_pplns_stress.dir
- test_redistribute.dir
- test_redistribute_address.dir
- test_stratum_extensions.dir
- test_template_builder.dir
- test_threading.dir
- test_utxo.dir
- test_v36_cross_impl_refhash.dir
- test_v36_script_sorting.dir
- test_weights.dir
- src/impl/dgb/test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments