From 8672dae0d3302a92c23b0fe499ea4cfcd5f46aa0 Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Wed, 7 Feb 2024 00:31:24 +0800 Subject: [PATCH] chore(config): update DB section in toml.go (#2249) --- config/toml.go | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/config/toml.go b/config/toml.go index 74589cd6ccf..96dde31e5f4 100644 --- a/config/toml.go +++ b/config/toml.go @@ -89,25 +89,31 @@ proxy_app = "{{ .BaseConfig.ProxyApp }}" # A custom human readable name for this node moniker = "{{ .BaseConfig.Moniker }}" -# Database backend: goleveldb | cleveldb | boltdb | rocksdb | badgerdb -# * goleveldb (github.com/syndtr/goleveldb - most popular implementation) -# - pure go +# Database backend: goleveldb | cleveldb | boltdb | rocksdb | pebbledb +# * goleveldb (github.com/syndtr/goleveldb) +# - UNMAINTAINED # - stable +# - pure go # * cleveldb (uses levigo wrapper) -# - fast # - requires gcc # - use cleveldb build tag (go build -tags cleveldb) # * boltdb (uses etcd's fork of bolt - github.com/etcd-io/bbolt) # - EXPERIMENTAL -# - may be faster is some use-cases (random reads - indexer) +# - stable # - use boltdb build tag (go build -tags boltdb) -# * rocksdb (uses github.com/tecbot/gorocksdb) +# * rocksdb (uses github.com/linxGnu/grocksdb) # - EXPERIMENTAL # - requires gcc # - use rocksdb build tag (go build -tags rocksdb) # * badgerdb (uses github.com/dgraph-io/badger) # - EXPERIMENTAL +# - stable # - use badgerdb build tag (go build -tags badgerdb) +# * pebbledb (uses github.com/cockroachdb/pebble) +# - EXPERIMENTAL +# - stable +# - pure go +# - use pebbledb build tag (go build -tags pebbledb) db_backend = "{{ .BaseConfig.DBBackend }}" # Database directory