6#ifndef BITCOIN_PRIMITIVES_BLOCK_H
7#define BITCOIN_PRIMITIVES_BLOCK_H
68 return (int64_t)
nTime;
77 std::vector<CTransactionRef>
vtx;
147 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
CBlock(const CBlockHeader &header)
Out & AsBase(In &x)
Convert any argument to a reference to X, maintaining constness.
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