6 #ifndef BITCOIN_PRIMITIVES_BLOCK_H 7 #define BITCOIN_PRIMITIVES_BLOCK_H 38 template <
typename Stream,
typename Operation>
69 return (int64_t)
nTime;
78 std::vector<CTransactionRef>
vtx;
96 template <
typename Stream,
typename Operation>
138 template <
typename Stream,
typename Operation>
140 int nVersion = s.GetVersion();
153 return vHave.empty();
157 #endif // BITCOIN_PRIMITIVES_BLOCK_H
CBlockHeader GetBlockHeader() const
Describes a place in the block chain to another node such that if the other node doesn't have the sam...
CBlock(const CBlockHeader &header)
void SerializationOp(Stream &s, Operation ser_action)
std::string ToString() const
#define READWRITEAS(type, obj)
void SerializationOp(Stream &s, Operation ser_action)
std::vector< uint256 > vHave
CBlockLocator(const std::vector< uint256 > &vHaveIn)
std::vector< CTransactionRef > vtx