We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaaceb7 commit fada66fCopy full SHA for fada66f
src/chain.h
@@ -412,6 +412,10 @@ class CChain {
412
std::vector<CBlockIndex*> vChain;
413
414
public:
415
+ CChain() = default;
416
+ CChain(const CChain&) = delete;
417
+ CChain& operator=(const CChain&) = delete;
418
+
419
/** Returns the index entry for the genesis block of this chain, or nullptr if none. */
420
CBlockIndex *Genesis() const {
421
return vChain.size() > 0 ? vChain[0] : nullptr;
0 commit comments