Skip to content

Commit

Permalink
compact in-memory
Browse files Browse the repository at this point in the history
Change-Id: I0e97de4133d67797a640ecc8c18ef62fb0ba3b55
  • Loading branch information
chessai committed Apr 30, 2024
1 parent 7694522 commit 6ceede1
Show file tree
Hide file tree
Showing 8 changed files with 1,054 additions and 103 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,4 @@ rosetta/logs/*
.ghci_history
.direnv/
.envrc
massif.out.*
4 changes: 2 additions & 2 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ source-repository-package
source-repository-package
type: git
location: https://github.com/kadena-io/chainweb-storage.git
tag: 4b45c1ab9c070c6d16a058bcbab0c06ac0fb6d4e
--sha256: 0m6c7kl6x5a3k02q2i7qzfx91kxz19dzav0piqfxra52bq0x3sm6
tag: a5e06a8aa2da1e7981ff9fad91dfd41f7c39fc85
--sha256: sha256-3Zqsgrxa7SQUr8XzT2O5PLTELkI92NXZU4j2UUvlL4E=

source-repository-package
type: git
Expand Down
27 changes: 18 additions & 9 deletions chainweb.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ library
, Chainweb.Pact.Backend.ChainwebPactDb
, Chainweb.Pact.Backend.DbCache
, Chainweb.Pact.Backend.Compaction
, Chainweb.Pact.Backend.CompactionInMemory
, Chainweb.Pact.Backend.PactState
, Chainweb.Pact.Backend.PactState.Diff
, Chainweb.Pact.Backend.PactState.EmbeddedSnapshot
Expand Down Expand Up @@ -373,9 +374,12 @@ library
, chronos >= 1.1
, clock >= 0.7
, configuration-tools >= 0.6
, crypton-connection >=0.2
, containers >= 0.5
, crypton >= 0.31
, crypton-connection >=0.2
, crypton-x509 >=1.7
, crypton-x509-system >=1.6
, crypton-x509-validation >=1.6
, cuckoo >= 0.3
, data-default >=0.7
, data-dword >= 0.3
Expand All @@ -402,13 +406,14 @@ library
, ixset-typed >= 0.4
, lens >= 4.17
, loglevel >= 0.1
, lrucaching >= 0.3
, memory >=0.14
, merkle-log >=0.2
, mmorph >= 1.1
, monad-control >= 1.0
, mtl >= 2.3
, mwc-random >= 0.13
, mwc-probability >= 2.0 && <2.4
, mwc-random >= 0.13
, network >= 3.1.2
, optparse-applicative >= 0.14
, pact >= 4.2.0.1
Expand All @@ -417,7 +422,9 @@ library
, patience >= 0.3
, pem >=0.2
, primitive >= 0.7.1.0
, process >= 1.6
, random >= 1.2
, rocksdb-haskell-kadena >= 1.1.0
, rosetta >= 1.0
, safe-exceptions >= 0.1
, scheduler >= 1.4
Expand All @@ -431,33 +438,35 @@ library
, streaming >= 0.2
, streaming-commons >= 0.2
, template-haskell >= 2.14
, terminal-progress-bar >= 0.4
, text >= 2.0
, trifecta >= 2.1
, these >= 1.0
, time >= 1.12.2
, tls >=1.9
, tls-session-manager >= 0.0
, token-bucket >= 0.1
, transformers >= 0.5
, trifecta >= 2.1
, unliftio ^>= 0.2
, unordered-containers >= 0.2.16
, uuid >= 1.3.15
, vector >= 0.12.2
, vector-algorithms >= 0.7
, wai >= 3.2.2.1
, wai-app-static >= 3.1.6.3
, wai-cors >= 0.2.7
, wai-extra >= 3.0.28
, wai-middleware-validation
, vector >= 0.12.2
, vector-algorithms >= 0.7
, wai-middleware-throttle >= 0.3
, wai-middleware-validation
, warp >= 3.3.6
, warp-tls >= 3.4
, crypton-x509 >=1.7
, crypton-x509-system >=1.6
, crypton-x509-validation >=1.6
, yaml >= 0.11
, yet-another-logger >= 0.4.1

if !os(windows)
build-depends:
unix >= 2.7

if flag(ed25519)
cpp-options: -DWITH_ED25519=1
if flag(ghc-flags)
Expand Down
3 changes: 3 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ let haskellSrc = with nix-filter.lib; filter {
shell.buildInputs = with pkgs; [
zlib
pkgconfig
sqlite
valgrind
massif-visualizer
];
modules = [
{
Expand Down
Loading

0 comments on commit 6ceede1

Please sign in to comment.