Limit the amount of data that can be stored per name.

This is calculated by the total capacity divided by the number of names the node follows. The idea here is that a single content creator can't upload terabytes of data and consume all the space on their followers' nodes. They can only use a proportion, with equal space given to each followed name. And since the limit is dynamic, following more names reduces the allocation to existing names.
This commit is contained in:
CalDescent
2021-12-04 13:33:45 +00:00
parent a87fe8b44d
commit a320bea68a
7 changed files with 270 additions and 25 deletions

View File

@@ -15,5 +15,6 @@
"tempDataPath": "data-test/_temp",
"listsPath": "lists-test",
"storagePolicy": "FOLLOWED_AND_VIEWED",
"maxStorageCapacity": 104857600,
"localAuthBypassEnabled": true
}