Skip to content

Commit

Permalink
feat: decouple bolt db folder
Browse files Browse the repository at this point in the history
  • Loading branch information
kamikazechaser committed Oct 8, 2024
1 parent f15373e commit e1158ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion db/bolt.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type boltDB struct {
}

const (
dbFolderName = "tracker_db"
dbFolderName = "db/tracker_db"

upperBoundKey = "upper"
lowerBoundKey = "lower"
Expand Down

0 comments on commit e1158ab

Please sign in to comment.