Closed elsehow closed 8 years ago
actually, we are already passing swarmlog a leveldb instance.
we should probably be passing it a memdb instance.
then, can we store that log, and other app state, in some persistent storage, as mentioned in #3 ?
messages are saved in leveldb, which does allow them to persist (do not need to be re-downloaded every time), if i am not mistaken.
right now, messages do not persist in level db. really, they should stay there. if we get a new message, we can see if we already have it cached.
to make sure there is no funny business with people injecting messages into the level db, see #4