diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/chain.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/chain.h b/src/chain.h index 15ca8f8750..2b05bf66ed 100644 --- a/src/chain.h +++ b/src/chain.h @@ -412,6 +412,10 @@ private: std::vector<CBlockIndex*> vChain; public: + CChain() = default; + CChain(const CChain&) = delete; + CChain& operator=(const CChain&) = delete; + /** Returns the index entry for the genesis block of this chain, or nullptr if none. */ CBlockIndex *Genesis() const { return vChain.size() > 0 ? vChain[0] : nullptr; |