DARKNET: Darkweb Expansion Project & Bitnode (#2139)

This is BN15. It is a really big change; see the PR for all the details.
This commit is contained in:
Michael Ficocelli
2026-02-03 06:40:36 -05:00
committed by GitHub
parent a674633f6c
commit 6073964768
225 changed files with 15010 additions and 526 deletions
+4 -1
View File
@@ -12,16 +12,19 @@ interface ProgramConstructorParams {
name: CompletedProgramName;
create: IProgramCreate | null;
run: (args: string[], server: BaseServer) => void;
nsMethod?: string;
}
export class Program {
name: ProgramFilePath & CompletedProgramName;
create: IProgramCreate | null;
run: (args: string[], server: BaseServer) => void;
nsMethod?: string;
constructor({ name, create, run }: ProgramConstructorParams) {
constructor({ name, create, run, nsMethod }: ProgramConstructorParams) {
this.name = asProgramFilePath(name);
this.create = create;
this.run = run;
this.nsMethod = nsMethod ?? "";
}
}