Files
wikideck/server/index.ts
T
2026-10-20 03:14:08 -04:00

9 lines
336 B
TypeScript

// A node independently validates RandomX work and follows cumulative-work consensus.
import { assertLaunchAllowed, launchManifest } from './launch.ts';
if (process.argv.includes('--network-manifest')) console.log(JSON.stringify(launchManifest(), null, 2));
else {
assertLaunchAllowed();
await import('./testnet/http.ts');
}