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
bch(finding3): regtest as distinct third net -- serve diff-1 0x207fffff
--pool --regtest previously collapsed to testnet params (anchor@955700,
P2P->.110) and served unwinnable testnet difficulty, so a single CPU
could never win a block. Thread regtest as a third net distinct from
mainnet/testnet:
- asert.hpp: asert_regtest() + bch_pow_limit_regtest() (fPowNoRetargeting,
fixed target at powLimit nBits 0x207fffff; ASERT bypassed on regtest)
- header_chain.hpp: BCHChainParams::regtest() (P2P 18444, cold-start tip
seeded so served nbits == 0x207fffff before first P2P regtest block)
- embedded_daemon.hpp / pool_entrypoint.hpp / main_bch.cpp: is_regtest
dispatch threaded through the --pool entrypoint
GBT-from-local-regtest-BCHN (regtest_block::build_from_gbt) deferred to a
follow-on sub-slice. Consensus-neutral: regtest-only behavior, no mainnet
path change. Fenced to src/impl/bch/ + main_bch.cpp dispatch.
0 commit comments