Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Nodes in Swarm may wish to retain certain chunks for various reasons.
The problem with the naive implementation of simply flagging pinned content
For practical reasons, I suggest that stickiness (the property of being pinned)
Unfinished traversals can leave the database in an inconsistent state.
While optimizations are obviously possible, the simplest way of updating
If the states of ongoing traversals is lost, consistency can be restored
In order not to require a full scan of all chunks, reference counters
Let us continue this discussion at swarmresear.ch