Commit Graph

39 Commits (fc7576fe205066e1755ce6a09a71e8a7a0194bc4)

Author SHA1 Message Date
ansuz fc7576fe20 implement channel removal
ansuz 38d1a1a291 faster message iteration
ansuz b46f74cd78 remove alternative storage adaptors from core
ansuz 19caac232b don't try to send invalid messages
Caleb James DeLisle de9f642ccc typo
Caleb James DeLisle 5fe3ffabd1 stop using waitFor.abort() which is apparently not implemented
Caleb James DeLisle 2021bf6702 Improvements to the file storage format
ansuz 4b64f00cc0 don't log when cleaning up idle channels
ansuz be69e2828c implement flat file storage
ansuz 217e664d4c boilerplate for filesystem-backed storage
ansuz 68b35ace38 add a SQL database adaptor
ansuz 9c15a43268 add removeChannel documentation to storage/README
ansuz 1b2c129380 implement channel removal in amnesiadb
ansuz 061cffe462 transform and pass through the existing store
ansuz e83e5026ce make amnesiadb compatible with netflux
ansuz d576fdc886 fix bug where empty channels failed
ansuz 86bbc15017 document modified storage API
ansuz ce69062b7c implement callback for getMessages
Caleb James DeLisle e68dd31a53 Fix by adding a lock to level db connector
ansuz 07fdeebe17 LogStore.js : JSHint compliance and slight reformat
Yann Flory 7ee75b9e7f Messages received by the WebSocket server are now saved in a file
Caleb James DeLisle 9f682a985b lvl should not fail on non-existant channels
ansuz 278c4ab32f even more jshint compliance
ansuz b8e4ad6568 note that kademlia lib should not be used
Caleb James DeLisle 7553ccff68 Remove a log line which was leftover after debugging
Caleb James DeLisle 13360c335b I'm an idiot - killer off-by-one ate the storage
Caleb James DeLisle 943a291903 Do not blow up if the error is that a chain cannot be found
Caleb James DeLisle dff8143fad Fix the lvl storage
ansuz dc9dd25256 added README for writing additional storage adaptors
ansuz 9b56cbbaca guarantee ordering when using leveldb back end
startup might be a little bit slower now
but we shouldn't see "too much recursion" errors
closes  (in theory)
ansuz 28387f8c90 reformat a console.log
ansuz 23783bc8ae kad.js : work on kademlia integration a bit more
ansuz 1fe2219375 kad.js : remove second hardcoded dht node
ansuz 9b684c6dbe kad.js : implement store api using kademlia
ansuz 862a96439a lvl.js : implement store api using leveldb
ansuz 30bee6504e amnesia.js : put the 'db' and closures inside the the module's 'create' method, in case we ever want to call it twice, for some reason
ansuz 7c2d9e061f amnesia.js : correct typo
ansuz 2e9f32cd10 amnesia.js : remove log statement that would otherwise get really annoying really quickly
ansuz 3928c89d35 relocate and rename Storage.js. implement a simple, non-persistent in memory datastore for those who'd rather not bother with mongodb. Continue to default to previous values.