Skip to content

Commit 0750249

Browse files
committed
mining: document gbt_rule_value helper
1 parent 5e87c3e commit 0750249

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rpc/mining.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,7 @@ static UniValue BIP22ValidationResult(const BlockValidationState& state)
596596
return "valid?";
597597
}
598598

599+
// Prefix rule name with ! if not optional, see BIP9
599600
static std::string gbt_rule_value(const std::string& name, bool gbt_optional_rule)
600601
{
601602
std::string s{name};

0 commit comments

Comments
 (0)