Alternative Databases
Prerequisites
git clone -b v19.0.0 --single-branch https://github.com/lagomchain/lagomchain
Pebble DB
Install lagomd binary from source
lagomd binary from source# compile and install the binary
COSMOS_BUILD_OPTIONS=pebbledb make install❯ lagomd version
v19.0.0-pebbledb# cd into the directory where you have the LagomChain protocol source code
cd lagom
# replace the cometbft-db dependency
go mod edit -replace github.com/cometbft/cometbft-db=github.com/notional-labs/cometbft-db@pebble
go mod tidy
# compile and install the binary
go install -ldflags "-w -s -X github.com/cosmos/cosmos-sdk/types.DBBackend=pebbledb \
-X github.com/cosmos/cosmos-sdk/version.Version=$(git describe --tags)-pebbledb \
-X github.com/cosmos/cosmos-sdk/version.Commit=$(git log -1 --format='%H')" -tags pebbledb ./...Update configuration
Build docker image
Rocks DB
Install dependencies
Install librocksdb
librocksdbInstall lagomd binary
lagomd binaryUpdate database configuration
Version DB & MemIAVL
Version DB
MemIAVL
Last updated
