shravanshetty1 / blawgd

Social media that protects your freedom of speech
Apache License 2.0
1 stars 0 forks source link

Peer discovery flow research and implementation #118

Open shravanshetty1 opened 3 years ago

shravanshetty1 commented 3 years ago

Current plan is to: On web - if peers < n get peers from api on page load. When ever a peer misbehaves punish and drop it. On apps - App will add peers to webview storage before page load after getting it from onion address. When ever peer misbehaves punish and drop. Unlikely scenario where application runs out of peer, create message box asking user to reload page/restart app to get fresh peers.