Browse Source

Fixed macOS crash.

cn
Jianping Wu 6 years ago
parent
commit
e3c8d3cf1c
  1. 3
      src/chainparams.h
  2. 2
      src/coins.h
  3. 2
      src/net_processing.h

3
src/chainparams.h

@ -77,6 +77,9 @@ public: @@ -77,6 +77,9 @@ public:
const CCheckpointData& Checkpoints() const { return checkpointData; }
const ChainTxData& TxData() const { return chainTxData; }
void UpdateVersionBitsParameters(Consensus::DeploymentPos d, int64_t nStartTime, int64_t nTimeout);
virtual ~CChainParams() {}
protected:
CChainParams() {}

2
src/coins.h

@ -214,7 +214,7 @@ public: @@ -214,7 +214,7 @@ public:
bool BatchWrite(CCoinsMap &mapCoins, const uint256 &hashBlock, const CKevaCache &names) override;
CCoinsViewCursor *Cursor() const override;
size_t EstimateSize() const override;
bool ValidateNameDB() const;
bool ValidateNameDB() const override;
};

2
src/net_processing.h

@ -42,6 +42,8 @@ private: @@ -42,6 +42,8 @@ private:
public:
explicit PeerLogicValidation(CConnman* connman, CScheduler &scheduler);
virtual ~PeerLogicValidation() {}
void BlockConnected(const std::shared_ptr<const CBlock>& pblock, const CBlockIndex* pindexConnected, const std::vector<CTransactionRef>& vtxConflicted) override;
void UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload) override;
void BlockChecked(const CBlock& block, const CValidationState& state) override;

Loading…
Cancel
Save