- 04 Oct, 2018 1 commit
-
-
Steven Allen authored
We can also add this as an extension but it's simple enough I'd like to add it directly to the Datastore. Use-case: The blockstore now has a GetSize and bitswap uses it for packing multiple blocks into a single message. Unfortunately, this means that bitswap is now calling blockstore.GetSize which calls datastore.Get which tends to be more expensive than datastore.Has.
-
- 13 Aug, 2018 1 commit
-
-
Steven Allen authored
None of our actual datastores support any other types and the cast noise gets really annoying after a while.
-
- 15 Feb, 2018 1 commit
-
-
Hector Sanjuan authored
This is a partial extraction from go-ipfs/thirdparty/datastore2. I have added a test.
-