The {“extends”: “solhint:recommended”} property in a configuration file enables this rule.
Do not rely on “block.blockhash”. Miners can influence its value.
This rule accepts a string option of rule severity. Must be one of “error”, “warn”, “off”. Default to warn.
{
"rules": {
"not-rely-on-block-hash": "warn"
}
}
This rule does not have examples.
This rule was introduced in Solhint 1.1.6