@@ -38,11 +38,15 @@ Uses a leveldb database to store key value pairs.
...
@@ -38,11 +38,15 @@ Uses a leveldb database to store key value pairs.
## badgerds
## badgerds
Uses [badger](https://github.com/dgraph-io/badger) as a key value store.
Uses [badger](https://github.com/dgraph-io/badger) as a key value store.
*`syncWrites`: Synchronize every write to disk.
*`truncate`: Truncate the DB if a corrupted sector is found (otherwise Badger won't start). This option is always set to `true` in Windows if `syncWrites` is set.