mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-06 05:32:08 +02:00
mining: document gbt_rule_value helper
This commit is contained in:
@ -596,6 +596,7 @@ static UniValue BIP22ValidationResult(const BlockValidationState& state)
|
|||||||
return "valid?";
|
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)
|
static std::string gbt_rule_value(const std::string& name, bool gbt_optional_rule)
|
||||||
{
|
{
|
||||||
std::string s{name};
|
std::string s{name};
|
||||||
|
Reference in New Issue
Block a user