You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(bch): relocate G2 block-target pin to single template source
Move the env-gated BCH_DEMO_BLOCK_BITS pin off the work_source mining_submit
classification site (ineffective: core stratum_server.cpp does its own
IS-A-BLOCK check from gbt_block_nbits) onto the mutable build_template result
in cached_template(), before it is frozen into the shared cache. All readers
-- coinbase, header nBits, and core gbt_block_nbits -- then see one consistent
harder block target on the isolated net, so pseudoshares stop trivially
clearing block. Verified on regtest: IS-A-BLOCK 100% -> 0% of accepted shares.
Isolated-net demo only; OFF unless the env var is set; BCH-local.
0 commit comments