This commit is contained in:
Jack Robison 2022-01-22 18:28:52 -05:00
parent b093aa3911
commit 95ec1f3af4
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -231,6 +231,8 @@ class SPVNode:
self.hostname = 'localhost'
self.port = 50001 + node_number # avoid conflict with default daemon
self.udp_port = self.port
self.elastic_notifier_port = 19080 + node_number
self.rpc_port = 8000 + node_number
self.session_timeout = 600
self.stopped = False
self.index_name = uuid4().hex
@ -247,6 +249,8 @@ class SPVNode:
'host': self.hostname,
'tcp_port': self.port,
'udp_port': self.udp_port,
'rpc_port': self.rpc_port,
'elastic_notifier_port': self.elastic_notifier_port,
'session_timeout': self.session_timeout,
'max_query_workers': 0,
'es_index_prefix': self.index_name,