Skip to content

Commit

Permalink
feat: add faster base layer scan
Browse files Browse the repository at this point in the history
  • Loading branch information
Cifko committed Mar 14, 2024
1 parent d8c464d commit 2479900
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Processes/indexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ def __init__(self, indexer_id: int, base_node_grpc_port: int, peers=[]):
f"indexer.http_ui_address={self.http_listen_address}",
"-p",
f"indexer.ui_connect_address=http://{self.json_connect_address}",
"-p",
"indexer.base_layer_scanning_interval=1",
]
self.run()

Expand Down
2 changes: 2 additions & 0 deletions Processes/validator_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ def __init__(self, base_node_grpc_port, wallet_grpc_port, node_id, peers=[]):
f"validator_node.no_fees={NO_FEES}",
"--json-rpc-public-address",
f"http://{self.json_connect_address}",
"-p",
"validator_node.base_layer_scanning_interval=1",
]
self.run()

Expand Down

0 comments on commit 2479900

Please sign in to comment.