Name: ssb-friends
Owner: Secure Scuttlebutt Consortium
Description: the logic around who to replicate or not
Created: 2017-05-28 10:46:56.0
Updated: 2018-03-12 16:19:38.0
Pushed: 2018-05-18 01:08:57.0
Homepage:
null
Size: 579
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
Other Committers
User | Email | Most Recent Commit | # Commits |
README
ssb-friends
The logic of who to replicate in ssb.
based on graphreduce module.
the relation between any two peers can be in 3 states.
following, not following, and blocking.
- following means you will definitely replicate them.
- not following means you might not replicate them,
but you might replicate them if your friend follows them.
- blocking means that you will not replicate them.
if they are blocked by someone you follow, and you are not following them, then you will not replicate them.
- if a friend of blocks someone, they will not be replicated, unless another friend follows them.
- if one friend blocks, and another follows, they will be replicated
but their friends won't be (this is to stop sybil swarms)
License
MIT