Skip to content

Commit

Permalink
Merge pull request #14 from edmundnoble/prefix-scan
Browse files Browse the repository at this point in the history
Prefix scan, iterator changes, multi-get
  • Loading branch information
edmundnoble authored Sep 12, 2022
2 parents 4136b82 + d0ed0c6 commit 034cef6
Show file tree
Hide file tree
Showing 7 changed files with 244 additions and 323 deletions.
6 changes: 6 additions & 0 deletions vendored/chainweb-storage/cabal.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
packages: chainweb-storage.cabal

source-repository-package
type: git
location: https://github.com/kadena-io/rocksdb-haskell.git
tag: 2f0bae730d137b7edee090c4014d891675933ba5
26 changes: 3 additions & 23 deletions vendored/chainweb-storage/chainweb-storage.cabal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cabal-version: 2.2
cabal-version: 3.0
name: chainweb-storage
version: 0.1.0.0
synopsis: Key Value Storage for Chainweb
Expand Down Expand Up @@ -27,11 +27,6 @@ source-repository head

library
hs-source-dirs: src
cxx-sources: cpp/chainweb-rocksdb.cpp
includes: cpp/chainweb-rocksdb.h
install-includes: cpp/chainweb-rocksdb.h
extra-libraries: rocksdb stdc++
cxx-options: -std=c++11
default-language: Haskell2010
ghc-options:
-Wall
Expand All @@ -47,13 +42,14 @@ library
, containers >=0.5
, cryptonite >= 0.25
, directory >=1.3
, filepath
, deepseq >=1.4
, exceptions >=0.10
, hashable >=1.2
, lens >=4.16
, memory >=0.14
, nothunks >= 0.1.0.0
, rocksdb-haskell >=1.0.1
, rocksdb-haskell-kadena >=1.1.0
, stm >=2.4
, streaming >=0.2
, temporary >=1.3
Expand Down Expand Up @@ -85,19 +81,3 @@ test-suite rocksdb-tests
, nothunks >= 0.1.0.0
, vector >=0.12

executable dedup-profiling
hs-source-dirs: tools
default-language: Haskell2010
main-is: DedupStore.hs
ghc-options:
-Wall
-rtsopts
build-depends:
-- internal
, chainweb-storage

-- external
, base >=4.10 && <4.16
, bytestring >=0.10
, random-bytestring >= 0.1

71 changes: 0 additions & 71 deletions vendored/chainweb-storage/cpp/chainweb-rocksdb.cpp

This file was deleted.

9 changes: 0 additions & 9 deletions vendored/chainweb-storage/cpp/chainweb-rocksdb.h

This file was deleted.

Loading

0 comments on commit 034cef6

Please sign in to comment.