diff --git a/src/net_processing.cpp b/src/net_processing.cpp index ad034dc864..3dd32db842 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -2511,6 +2511,8 @@ void PeerManagerImpl::ProcessGetBlockData(CNode& pfrom, Peer& peer, const CInv& std::shared_ptr pblock; if (a_recent_block && a_recent_block->GetHash() == pindex->GetBlockHash()) { pblock = a_recent_block; + /* + // Blackcoin: do not read raw blocks from disk as the disk format is actually different } else if (inv.IsMsgWitnessBlk()) { // Fast-path: in this case it is possible to serve the block directly from disk, // as the network format matches the format on disk @@ -2520,6 +2522,7 @@ void PeerManagerImpl::ProcessGetBlockData(CNode& pfrom, Peer& peer, const CInv& } m_connman.PushMessage(&pfrom, msgMaker.Make(NetMsgType::BLOCK, Span{block_data})); // Don't set pblock as we've sent the block + */ } else { // Send block from disk std::shared_ptr pblockRead = std::make_shared();