6#ifndef BITCOIN_PRIMITIVES_BLOCK_H
7#define BITCOIN_PRIMITIVES_BLOCK_H
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)
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
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.