Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ RequestChallenge
Method
RequestChallenge
source/server/StarServerQueryThread.cpp:230–231 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
228
}
229
230
ServerQueryThread::RequestChallenge::RequestChallenge()
231
: m_time(Time::monotonicMilliseconds()), m_challenge(Random::randi32()) {}
232
233
bool ServerQueryThread::RequestChallenge::before(uint64_t time) {
234
return m_time < time;
Callers
nothing calls this directly
Calls
1
randi32
Function · 0.85
Tested by
no test coverage detected