mining: document gbt_rule_value helper

This commit is contained in:
Sjors Provoost 2025-04-30 14:48:16 +02:00
parent 5e87c3ec09
commit 0750249289
No known key found for this signature in database
GPG Key ID: 57FF9BDBCC301009

View File

@ -596,6 +596,7 @@ static UniValue BIP22ValidationResult(const BlockValidationState& state)
return "valid?";
}
// Prefix rule name with ! if not optional, see BIP9
static std::string gbt_rule_value(const std::string& name, bool gbt_optional_rule)
{
std::string s{name};