mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-24 16:01:26 +02:00
mining: document gbt_rule_value helper
This commit is contained in:
parent
5e87c3ec09
commit
0750249289
@ -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};
|
||||
|
Loading…
x
Reference in New Issue
Block a user