mirror of
https://github.com/wownero/wownero.git
synced 2026-11-26 02:33:55 +01:00
feat(testnet): integrate FCMP++ and Carrot for Wownero
Add an isolated Wownero research network, Carrot-compatible miner authorization, release corrections, and local acceptance tests. Base the implementation on FCMP++ beta 3.0 with the beta 3.1 legacy ring-offset correction; both research build options remain disabled by default.
This commit is contained in:
@@ -59,10 +59,10 @@ namespace rpc
|
||||
crypto::hash hash10 = get_hash(d.cached_to - 10);
|
||||
if (hash10 == d.cached_m10_hash)
|
||||
{
|
||||
CHECK_AND_ASSERT_MES(d.cached_distribution.size() >= 10, boost::none, "Cached distribution size does not match cached bounds");
|
||||
d.cached_to -= 10;
|
||||
d.cached_top_hash = hash10;
|
||||
d.cached_m10_hash = crypto::null_hash;
|
||||
CHECK_AND_ASSERT_MES(d.cached_distribution.size() >= 10, boost::none, "Cached distribution size does not match cached bounds");
|
||||
for (int p = 0; p < 10; ++p)
|
||||
d.cached_distribution.pop_back();
|
||||
can_extend = true;
|
||||
|
||||
Reference in New Issue
Block a user