teosd- First bits of locator cache

This commit is contained in:
Sergi Delgado Segura
2020-05-18 18:23:49 +02:00
parent 01bf857161
commit 9c10f7964f
3 changed files with 50 additions and 12 deletions

View File

@@ -84,7 +84,13 @@ def main(command_line_conf):
db_manager = AppointmentsDBM(config.get("APPOINTMENTS_DB_PATH"))
responder = Responder(db_manager, gatekeeper, carrier, block_processor)
watcher = Watcher(
db_manager, gatekeeper, block_processor, responder, secret_key_der, config.get("MAX_APPOINTMENTS")
db_manager,
gatekeeper,
block_processor,
responder,
secret_key_der,
config.get("MAX_APPOINTMENTS"),
config.get("BLOCK_CACHE_SIZE"),
)
# Create the chain monitor and start monitoring the chain