| 2256 | } |
| 2257 | |
| 2258 | bool CNode::SupportsCompactBlocks() const { |
| 2259 | return nVersion >= SHORT_IDS_BLOCKS_VERSION; |
| 2260 | } |
| 2261 | |
| 2262 | int64_t PoissonNextSend(int64_t nNow, int average_interval_seconds) { |
| 2263 | return nNow + (int64_t)(log1p(GetRand(1ULL << 48) * -0.0000000000000035527136788 /* -1/2^48 */) * average_interval_seconds * -1000000.0 + 0.5); |
no outgoing calls
no test coverage detected