| 27 | } |
| 28 | |
| 29 | bool BlockSender::isBlockType(int t) const { |
| 30 | return t == MSG_BLOCK || t == MSG_FILTERED_BLOCK |
| 31 | || t == MSG_THINBLOCK || t == MSG_XTHINBLOCK || t == MSG_CMPCT_BLOCK; |
| 32 | } |
| 33 | |
| 34 | bool BlockSender::canSend(const CChain& activeChain, const CBlockIndex& block, |
| 35 | CBlockIndex *pindexBestHeader) |
no outgoing calls