6 #ifndef BITCOIN_PRIMITIVES_BLOCK_H 7 #define BITCOIN_PRIMITIVES_BLOCK_H 12 #include <util/time.h> 68 return (int64_t)
nTime;
77 std::vector<CTransactionRef>
vtx;
97 READWRITE(AsBase<CBlockHeader>(obj), obj.vtx);
147 return vHave.empty();
151 #endif // BITCOIN_PRIMITIVES_BLOCK_H
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)
CBlock(const CBlockHeader &header)
static constexpr int DUMMY_VERSION
Historically CBlockLocator's version field has been written to network streams as the negotiated prot...
std::string ToString() const
SERIALIZE_METHODS(CBlock, obj)
std::vector< uint256 > vHave
std::vector< CTransactionRef > vtx
std::chrono::time_point< NodeClock, std::chrono::seconds > NodeSeconds
bool m_checked_witness_commitment
CBlockLocator(std::vector< uint256 > &&have)
bool m_checked_merkle_root