Commit dbaf58d
committed
feat(bch): BCH_DEMO_SHARE_BITS env knob for CPU-provable G2 accumulation
Symmetric to BCH_DEMO_BLOCK_BITS. The cold-start share-floor seed hardcoded
PoolConfig::max_target() (~diff-1 / 0x1d00ffff), which a CPU grinder cannot
clear at a useful rate, so the sharechain STORED counter never advanced
independently of block-founds even after the cold-start deadlock fix
(f8a1263). BCH_DEMO_SHARE_BITS pins the cold-start share floor to a
CPU-clearable compact target on an isolated net so a grinder promotes real
STORED shares while BCH_DEMO_BLOCK_BITS keeps block-founds rare -- proving
0->N accumulation without ASIC hashrate. Env-gated, off by default, never
active on normal or mainnet runs. BCH-local.1 parent f8a1263 commit dbaf58d
1 file changed
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
241 | | - | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
242 | 257 | | |
243 | 258 | | |
244 | 259 | | |
| |||
0 commit comments