Add fullyNotified to getblockchaininfo and use it in tests

This commit is contained in:
Duke
2025-08-22 13:17:36 -04:00
parent 727f4d9a29
commit 04ec2be8c8
2 changed files with 6 additions and 2 deletions

View File

@@ -1335,6 +1335,12 @@ UniValue getblockchaininfo(const UniValue& params, bool fHelp, const CPubKey& my
obj.push_back(Pair("pruneheight", block->GetHeight()));
}
// this helps our tests work correctly
if (Params().NetworkIDString() == "regtest") {
obj.pushKV("fullyNotified", ChainIsFullyNotified());
}
return obj;
}