6#ifndef BITCOIN_PRIMITIVES_BLOCK_H
7#define BITCOIN_PRIMITIVES_BLOCK_H
63 return (int64_t)
nTime;
72 std::vector<CTransactionRef>
vtx;
92 READWRITE(AsBase<CBlockHeader>(obj), obj.vtx);
154 return vHave.empty();
std::string ToString() const
bool m_checked_merkle_root
std::vector< CTransactionRef > vtx
SERIALIZE_METHODS(CBlock, obj)
bool m_checked_witness_commitment
CBlockHeader GetBlockHeader() const
CBlock(const CBlockHeader &header)
Describes a place in the block chain to another node such that if the other node doesn't have the sam...
SERIALIZE_METHODS(CBlockLocator, obj)
std::vector< uint256 > vHave
CBlockLocator(std::vector< uint256 > &&have)
static constexpr int DUMMY_VERSION
Historically CBlockLocator's version field has been written to network streams as the negotiated prot...
std::chrono::time_point< NodeClock, std::chrono::seconds > NodeSeconds