You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
434 B
TypeScript
24 lines
434 B
TypeScript
export type IdentityKey = {
|
|
id: string;
|
|
publicKey: ArrayBuffer;
|
|
firstUse: boolean;
|
|
nonblockingApproval: boolean;
|
|
secretKey?: string; // found in medium groups
|
|
};
|
|
|
|
export type GuardNode = {
|
|
ed25519PubKey: string;
|
|
};
|
|
|
|
export interface Snode {
|
|
ip: string;
|
|
port: number;
|
|
pubkey_x25519: string;
|
|
pubkey_ed25519: string;
|
|
storage_server_version: Array<number>;
|
|
}
|
|
|
|
export type SwarmNode = Snode & {
|
|
address: string;
|
|
};
|