aboutsummaryrefslogtreecommitdiff
path: root/src/primitives
diff options
context:
space:
mode:
Diffstat (limited to 'src/primitives')
-rw-r--r--src/primitives/block.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/primitives/block.h b/src/primitives/block.h
index 7fe8c84cb7..86106098f5 100644
--- a/src/primitives/block.h
+++ b/src/primitives/block.h
@@ -77,6 +77,9 @@ public:
// network and disk
std::vector<CTransaction> vtx;
+ // memory only
+ mutable bool fChecked;
+
CBlock()
{
SetNull();
@@ -100,6 +103,7 @@ public:
{
CBlockHeader::SetNull();
vtx.clear();
+ fChecked = false;
}
CBlockHeader GetBlockHeader() const