Skip to content

Commit

Permalink
chore(config): update DB section in toml.go (cometbft#2249)
Browse files Browse the repository at this point in the history
  • Loading branch information
melekes authored Feb 6, 2024
1 parent db7a70c commit 8672dae
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions config/toml.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8672dae

Please sign in to comment.