swarm/storage/localstore: update package overview

This commit is contained in:
Janos Guljas 2019-01-10 13:30:41 +01:00
parent fb0a822136
commit c42306082b

View file

@ -45,5 +45,12 @@ the database.
Subscription methods are implemented for a specific purpose of Subscription methods are implemented for a specific purpose of
continuous iterations over Chunks that should be provided to continuous iterations over Chunks that should be provided to
Push and Pull syncing. Push and Pull syncing.
DB implements an internal garbage collector that removes only synced
Chunks from the database based on their most recent access time.
Internally, DB stores Chunk data and any required information, such as
store and access timestamps in different shed indexes that can be
iterated on by garbage collector or subscriptions.
*/ */
package localstore package localstore