-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from CoNET-project/old-state
added Arbitrum
- Loading branch information
Showing
10 changed files
with
684 additions
and
591 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,48 @@ | ||
type nodes_info = { | ||
country: string | ||
customs_review_total?: number | ||
ip_addr: string | ||
last_online: boolean | ||
lat?: number | ||
lon?: number | ||
outbound_total?: number | ||
region: string | ||
armoredPublicKey: string | ||
publicKeyObj?: any | ||
} | ||
interface keyPair { | ||
keyID: string | ||
publicKeyArmor?: string | ||
privateKeyArmor?: string | ||
keyObj?:{ | ||
publicKeyObj: any | ||
privateKeyObj: any | ||
} | ||
} | ||
type pgpKeyPair = { | ||
privateKeyArmor: string | ||
publicKeyArmor: string | ||
publicKeyObj?: any | ||
privateKeyObj?: any | ||
} | ||
|
||
interface profile extends keyPair { | ||
isPrimary?: boolean | ||
pgpKey?: pgpKeyPair | ||
privateKeyArmor: string | ||
emailAddr?: string | ||
hdPath: string | ||
index: number | ||
nodeID?: number | ||
nodeIP_address?: string | ||
nodeRegion?: string | ||
} | ||
|
||
export declare const launchDaemon : (port: number, path: string) => void | ||
interface proxy { | ||
restart: (currentProfile: profile, entryNodes: nodes_info[], egressNodes: nodes_info[]) => void | ||
end: () => Promise<true> | ||
} | ||
|
||
export declare const launchDaemon : (port: number, path: string) => void | ||
|
||
export declare const proxyServer: (post: string, entryNode: nodes_info, _egressNode: nodes_info, profile: profile) => proxy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.