MCPcopy Create free account
hub / github.com/LUX-Core/lux / nNextSend

Function nNextSend

src/net.cpp:2664–2668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2662}
2663
2664int64_t nNextSend(int64_t nNow, int average_interval_seconds) {
2665 return nNow + (int64_t)(log1p(GetRand(1ULL << 48)
2666 * -0.0000000000000035527136788) * average_interval_seconds
2667 * -1000000.0 + 0.5);
2668}

Callers 1

SendMessagesFunction · 0.85

Calls 1

GetRandFunction · 0.85

Tested by

no test coverage detected