sgx.py 0.9.dev2__tar.gz → 0.9.dev4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sgx.py-0.9.dev2/sgx.py.egg-info → sgx.py-0.9.dev4}/PKG-INFO +1 -1
- {sgx.py-0.9.dev2 → sgx.py-0.9.dev4}/setup.py +2 -2
- {sgx.py-0.9.dev2 → sgx.py-0.9.dev4}/sgx/constants.py +1 -0
- {sgx.py-0.9.dev2 → sgx.py-0.9.dev4}/sgx/sgx_zmq.py +3 -0
- {sgx.py-0.9.dev2 → sgx.py-0.9.dev4/sgx.py.egg-info}/PKG-INFO +1 -1
- {sgx.py-0.9.dev2 → sgx.py-0.9.dev4}/sgx.py.egg-info/requires.txt +1 -1
- {sgx.py-0.9.dev2 → sgx.py-0.9.dev4}/LICENSE +0 -0
- {sgx.py-0.9.dev2 → sgx.py-0.9.dev4}/README.md +0 -0
- {sgx.py-0.9.dev2 → sgx.py-0.9.dev4}/setup.cfg +0 -0
- {sgx.py-0.9.dev2 → sgx.py-0.9.dev4}/sgx/__init__.py +0 -0
- {sgx.py-0.9.dev2 → sgx.py-0.9.dev4}/sgx/generate.sh +0 -0
- {sgx.py-0.9.dev2 → sgx.py-0.9.dev4}/sgx/http.py +0 -0
- {sgx.py-0.9.dev2 → sgx.py-0.9.dev4}/sgx/sgx.py +0 -0
- {sgx.py-0.9.dev2 → sgx.py-0.9.dev4}/sgx/sgx_rpc_handler.py +0 -0
- {sgx.py-0.9.dev2 → sgx.py-0.9.dev4}/sgx/utils.py +0 -0
- {sgx.py-0.9.dev2 → sgx.py-0.9.dev4}/sgx.py.egg-info/SOURCES.txt +0 -0
- {sgx.py-0.9.dev2 → sgx.py-0.9.dev4}/sgx.py.egg-info/dependency_links.txt +0 -0
- {sgx.py-0.9.dev2 → sgx.py-0.9.dev4}/sgx.py.egg-info/top_level.txt +0 -0
- {sgx.py-0.9.dev2 → sgx.py-0.9.dev4}/tests/test_core.py +0 -0
- {sgx.py-0.9.dev2 → sgx.py-0.9.dev4}/tests/test_dkg.py +0 -0
- {sgx.py-0.9.dev2 → sgx.py-0.9.dev4}/tests/test_http.py +0 -0
|
@@ -22,13 +22,13 @@ extras_require['dev'] = (
|
|
|
22
22
|
|
|
23
23
|
setup(
|
|
24
24
|
name='sgx.py',
|
|
25
|
-
version='0.
|
|
25
|
+
version='0.9dev4',
|
|
26
26
|
description='SGX',
|
|
27
27
|
url='http://github.com/skalenetwork/sgx.py',
|
|
28
28
|
author='SKALE Labs',
|
|
29
29
|
author_email='support@skalelabs.com',
|
|
30
30
|
install_requires=[
|
|
31
|
-
'web3==6.
|
|
31
|
+
'web3==6.20.2',
|
|
32
32
|
'pyzmq==25.0.2',
|
|
33
33
|
'pem==21.2.0',
|
|
34
34
|
'M2Crypto==0.40.1',
|
|
@@ -35,6 +35,7 @@ from urllib.parse import urlparse
|
|
|
35
35
|
|
|
36
36
|
from sgx.constants import (
|
|
37
37
|
DEFAULT_TIMEOUT,
|
|
38
|
+
SGX_ZMQ_RESPONSE_TIMEOUT_MS,
|
|
38
39
|
CRT_FILENAME,
|
|
39
40
|
KEY_FILENAME
|
|
40
41
|
)
|
|
@@ -270,6 +271,8 @@ class SgxZmq:
|
|
|
270
271
|
socket_p_id = self.ctx.socket(zmq.DEALER)
|
|
271
272
|
socket_p_id.setsockopt_string(zmq.IDENTITY, "135:14603077656239261618")
|
|
272
273
|
socket_p_id.setsockopt(zmq.LINGER, 0)
|
|
274
|
+
socket_p_id.setsockopt(zmq.SNDTIMEO, SGX_ZMQ_RESPONSE_TIMEOUT_MS)
|
|
275
|
+
socket_p_id.setsockopt(zmq.RCVTIMEO, SGX_ZMQ_RESPONSE_TIMEOUT_MS)
|
|
273
276
|
socket_p_id.connect(self.sgx_endpoint)
|
|
274
277
|
self.sockets[p_id] = socket_p_id
|
|
275
278
|
socket = self.sockets[p_id]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|