Commit ac795e2
committed
dgb: wire src/impl/dgb/test share fixtures (oracle consensus-identity guard)
Enable add_subdirectory(test) and add dgb_share_test, mirroring the
ltc/btc test pattern. The test links the dgb OBJECT lib (pool/share TU)
into a gtest executable, build-verifying the Phase-B pool/share stack,
and asserts the DGB-oracle-conformed (frstrtr/p2pool-dgb-scrypt)
consensus + sharechain-identity params adjudicated at prescan-DGB:
- IDENTIFIER 4b62545b1a631afe / PREFIX 1c0553f23ebfcffe (isolation
primitives — must stay byte-exact per coin)
- SEGWIT_ACTIVATION_VERSION 35, P2P_PORT 5024, proto floor 1700 /
advertised 3301, SHARE_PERIOD 15, CHAIN_LENGTH 2880
- v35 donation = forrestv P2PK (4104ffd0..ac, 67B); v36 = combined
P2SH (23B) via get_donation_script() version switch
- ADDRESS_VERSION 0x1e (D) / ADDRESS_P2SH_VERSION 0x3f (S)
Locks the conformance landed in the stack against silent regression.
Local build EXIT=0; dgb_share_test 5/5 PASS. Non-stacking lane off
stack tip; captured-block PoW + multi-algo accept-by-continuity
fixtures are a follow-up (see test/README.txt).1 parent 10a5b5b commit ac795e2
3 files changed
Lines changed: 89 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| 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 | + | |
| 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 | + | |
0 commit comments