Changeset View
Changeset View
Standalone View
Standalone View
src/merkleblock.cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto | // Copyright (c) 2009-2010 Satoshi Nakamoto | ||||
// Copyright (c) 2009-2016 The Bitcoin Core developers | // Copyright (c) 2009-2016 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include <merkleblock.h> | #include <merkleblock.h> | ||||
#include <consensus/consensus.h> | #include <consensus/consensus.h> | ||||
#include <hash.h> | #include <hash.h> | ||||
#include <util/strencodings.h> | |||||
CMerkleBlock::CMerkleBlock(const CBlock &block, CBloomFilter *filter, | CMerkleBlock::CMerkleBlock(const CBlock &block, CBloomFilter *filter, | ||||
const std::set<TxId> *txids) { | const std::set<TxId> *txids) { | ||||
header = block.GetBlockHeader(); | header = block.GetBlockHeader(); | ||||
std::vector<bool> vMatch; | std::vector<bool> vMatch; | ||||
std::vector<uint256> vHashes; | std::vector<uint256> vHashes; | ||||
▲ Show 20 Lines • Show All 198 Lines • Show Last 20 Lines |