6 #ifndef BITCOIN_PRIMITIVES_BLOCK_H
7 #define BITCOIN_PRIMITIVES_BLOCK_H
63 return (int64_t)
nTime;
72 std::vector<CTransactionRef>
vtx;
130 int nVersion = s.GetVersion();
143 return vHave.empty();
std::string ToString() const
std::vector< CTransactionRef > vtx
SERIALIZE_METHODS(CBlock, obj)
CBlockHeader GetBlockHeader() const
CBlock(const CBlockHeader &header)
#define READWRITEAS(type, obj)
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)
std::chrono::time_point< NodeClock, std::chrono::seconds > NodeSeconds