mirror of
https://github.com/aljazceru/python-teos.git
synced 2026-01-07 08:24:23 +01:00
teos - BLOCK_CACHE_SIZE -> LOCATOR_CACHE_SIZE
This commit is contained in:
@@ -75,7 +75,7 @@ def api(db_manager, carrier, block_processor, gatekeeper, run_bitcoind):
|
||||
responder,
|
||||
sk.to_der(),
|
||||
MAX_APPOINTMENTS,
|
||||
config.get("BLOCK_CACHE_SIZE"),
|
||||
config.get("LOCATOR_CACHE_SIZE"),
|
||||
)
|
||||
inspector = Inspector(block_processor, config.get("MIN_TO_SELF_DELAY"))
|
||||
api = API(config.get("API_HOST"), config.get("API_PORT"), inspector, watcher)
|
||||
|
||||
@@ -102,7 +102,7 @@ def test_update_states_empty_list(db_manager, gatekeeper, carrier, block_process
|
||||
responder=Responder(db_manager, gatekeeper, carrier, block_processor),
|
||||
sk_der=generate_keypair()[0].to_der(),
|
||||
max_appointments=config.get("MAX_APPOINTMENTS"),
|
||||
blocks_in_cache=config.get("BLOCK_CACHE_SIZE"),
|
||||
blocks_in_cache=config.get("LOCATOR_CACHE_SIZE"),
|
||||
)
|
||||
|
||||
missed_blocks_watcher = []
|
||||
@@ -124,7 +124,7 @@ def test_update_states_responder_misses_more(run_bitcoind, db_manager, gatekeepe
|
||||
responder=Responder(db_manager, gatekeeper, carrier, block_processor),
|
||||
sk_der=generate_keypair()[0].to_der(),
|
||||
max_appointments=config.get("MAX_APPOINTMENTS"),
|
||||
blocks_in_cache=config.get("BLOCK_CACHE_SIZE"),
|
||||
blocks_in_cache=config.get("LOCATOR_CACHE_SIZE"),
|
||||
)
|
||||
|
||||
blocks = []
|
||||
@@ -150,7 +150,7 @@ def test_update_states_watcher_misses_more(db_manager, gatekeeper, carrier, bloc
|
||||
responder=Responder(db_manager, gatekeeper, carrier, block_processor),
|
||||
sk_der=generate_keypair()[0].to_der(),
|
||||
max_appointments=config.get("MAX_APPOINTMENTS"),
|
||||
blocks_in_cache=config.get("BLOCK_CACHE_SIZE"),
|
||||
blocks_in_cache=config.get("LOCATOR_CACHE_SIZE"),
|
||||
)
|
||||
|
||||
blocks = []
|
||||
|
||||
Reference in New Issue
Block a user