Changeset View
Changeset View
Standalone View
Standalone View
src/merkleblock.h
// 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. | ||||
#ifndef BITCOIN_MERKLEBLOCK_H | #ifndef BITCOIN_MERKLEBLOCK_H | ||||
#define BITCOIN_MERKLEBLOCK_H | #define BITCOIN_MERKLEBLOCK_H | ||||
#include "bloom.h" | #include <bloom.h> | ||||
#include "primitives/block.h" | #include <primitives/block.h> | ||||
#include "serialize.h" | #include <serialize.h> | ||||
#include "uint256.h" | #include <uint256.h> | ||||
#include <vector> | #include <vector> | ||||
/** | /** | ||||
* Data structure that represents a partial merkle tree. | * Data structure that represents a partial merkle tree. | ||||
* | * | ||||
* It represents a subset of the txid's of a known block, in a way that | * It represents a subset of the txid's of a known block, in a way that | ||||
* allows recovery of the list of txid's and the merkle root, in an | * allows recovery of the list of txid's and the merkle root, in an | ||||
▲ Show 20 Lines • Show All 164 Lines • Show Last 20 Lines |