7 #ifndef RAVEN_PRIMITIVES_BLOCK_H 8 #define RAVEN_PRIMITIVES_BLOCK_H 39 template <
typename Stream,
typename Operation>
68 return (int64_t)
nTime;
77 std::vector<CTransactionRef>
vtx;
95 template <
typename Stream,
typename Operation>
125 std::string ToString()
const;
138 explicit CBlockLocator(
const std::vector<uint256>& vHaveIn) : vHave(vHaveIn) {}
142 template <
typename Stream,
typename Operation>
157 return vHave.empty();
161 #endif // RAVEN_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)
void SerializationOp(Stream &s, Operation ser_action)
std::vector< uint256 > vHave
CBlockLocator(const std::vector< uint256 > &vHaveIn)
std::vector< CTransactionRef > vtx