We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07f5e2f commit ddcb2cfCopy full SHA for ddcb2cf
1 file changed
src/chain/block.cpp
@@ -868,6 +868,7 @@ code block::identify() const NOEXCEPT
868
return error::block_success;
869
}
870
871
+// bip141 should be disabled when the node is not accepting witness data.
872
code block::identify(const context& ctx) const NOEXCEPT
873
{
874
const auto bip141 = ctx.is_enabled(bip141_rule);
@@ -911,6 +912,7 @@ code block::check() const NOEXCEPT
911
912
// median_time_past
913
914
// TODO: use of get_hash() in is_hash_limit_exceeded makes this thread unsafe.
915
916
code block::check(const context& ctx) const NOEXCEPT
917
918
0 commit comments