-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client-side implementation for onion requests #1000
Conversation
msgmaxim
commented
Mar 23, 2020
- Disable long-polling
- Onion path building with guard nodes: guard nodes persist in DB; there is a path per every guard node; every path rebuild tries to reuse existing guard nodes
- Added GCM encryption used for every node on the path
e23baef
to
0221e7b
Compare
Rebased onto latest |
f1f8f77
to
d9759bb
Compare
@@ -1428,6 +1428,9 @@ | |||
async function connect(firstRun) { | |||
window.log.info('connect'); | |||
|
|||
// Initialize paths for onion requests | |||
await window.lokiSnodeAPI.buildNewOnionPaths(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not an issue but i would like to see what effect this has on startup time on mainnet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
600 ms on testnet