MCPcopy Create free account
hub / github.com/EvoMap/evolver / resolveHubUrl

Function resolveHubUrl

src/gep/validator/stakeBootstrap.js:50–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48const SUCCESS_RECHECK_MS = 24 * 60 * 60 * 1000;
49
50function resolveHubUrl() {
51 try {
52 const u = getHubUrl && getHubUrl();
53 if (u && typeof u === 'string') return u;
54 } catch (_) {}
55 return resolveDefaultHubUrl();
56}
57
58function logStakeEvent(event, data) {
59 try {

Callers 1

ensureValidatorStakeFunction · 0.70

Calls 1

getHubUrlFunction · 0.85

Tested by

no test coverage detected