mirror of
https://github.com/grassrootseconomics/eth-tracker.git
synced 2025-02-22 16:00:37 +01:00
feat: decouple bolt db folder
This commit is contained in:
parent
f15373e34e
commit
e1158ab14a
@ -28,11 +28,10 @@ start_block = 0
|
|||||||
[bootstrap]
|
[bootstrap]
|
||||||
# This will bootstrap the cache on which addresses to track
|
# This will bootstrap the cache on which addresses to track
|
||||||
ge_registries = ["0xE979a64D375F5D363d7cecF3c93B9aFD40Ba9f55"]
|
ge_registries = ["0xE979a64D375F5D363d7cecF3c93B9aFD40Ba9f55"]
|
||||||
watchlist = [""]
|
watchlist = ["0x14dc79964da2c08b23698b3d3cc7ca32193d9955"]
|
||||||
blacklist = [""]
|
blacklist = [""]
|
||||||
|
|
||||||
[jetstream]
|
[jetstream]
|
||||||
enable = true
|
enable = true
|
||||||
endpoint = "nats://127.0.0.1:4222"
|
endpoint = "nats://127.0.0.1:4222"
|
||||||
persist_duration_hrs = 48
|
persist_duration_hrs = 48
|
||||||
dedup_duration_hrs = 6
|
|
||||||
|
@ -14,7 +14,7 @@ type boltDB struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
dbFolderName = "tracker_db"
|
dbFolderName = "db/tracker_db"
|
||||||
|
|
||||||
upperBoundKey = "upper"
|
upperBoundKey = "upper"
|
||||||
lowerBoundKey = "lower"
|
lowerBoundKey = "lower"
|
||||||
|
Loading…
Reference in New Issue
Block a user