Merge 1a41e63575 into merged_master (Bitcoin PR bitcoin/bitcoin#30642)

This commit is contained in:
Tom Trevethan 2026-03-12 23:16:19 +00:00
commit 778240132a
2 changed files with 2 additions and 2 deletions

View file

@ -443,7 +443,7 @@ static RPCHelpMan getmininginfo()
{RPCResult::Type::NUM, "difficulty", /*optional=*/true, "The current difficulty"},
{RPCResult::Type::NUM, "networkhashps", /*optional=*/true, "The network hashes per second"},
{RPCResult::Type::NUM, "pooledtx", "The size of the mempool"},
{RPCResult::Type::STR, "chain", "current network name (main, test, signet, regtest)"},
{RPCResult::Type::STR, "chain", "current network name (main, test, testnet4, signet, regtest)"},
(IsDeprecatedRPCEnabled("warnings") ?
RPCResult{RPCResult::Type::STR, "warnings", "any network and blockchain warnings (DEPRECATED)"} :
RPCResult{RPCResult::Type::ARR, "warnings", "any network and blockchain warnings (run with `-deprecatedrpc=warnings` to return the latest warning as a single string)",