feat: decouple bolt db folder

This commit is contained in:
Mohamed Sohail 2024-10-08 11:34:43 +03:00
parent f15373e34e
commit e1158ab14a
Signed by: kamikazechaser
GPG Key ID: 7DD45520C01CD85D
2 changed files with 2 additions and 3 deletions

View File

@ -28,11 +28,10 @@ start_block = 0
[bootstrap]
# This will bootstrap the cache on which addresses to track
ge_registries = ["0xE979a64D375F5D363d7cecF3c93B9aFD40Ba9f55"]
watchlist = [""]
watchlist = ["0x14dc79964da2c08b23698b3d3cc7ca32193d9955"]
blacklist = [""]
[jetstream]
enable = true
endpoint = "nats://127.0.0.1:4222"
persist_duration_hrs = 48
dedup_duration_hrs = 6

View File

@ -14,7 +14,7 @@ type boltDB struct {
}
const (
dbFolderName = "tracker_db"
dbFolderName = "db/tracker_db"
upperBoundKey = "upper"
lowerBoundKey = "lower"