sgx.py 0.9.dev2__py3-none-any.whl → 0.9.dev4__py3-none-any.whl
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/constants.py +1 -0
- sgx/sgx_zmq.py +3 -0
- sgx.py-0.9.dev4.dist-info/METADATA +24 -0
- sgx.py-0.9.dev4.dist-info/RECORD +13 -0
- {sgx.py-0.9.dev2.dist-info → sgx.py-0.9.dev4.dist-info}/WHEEL +1 -1
- sgx.py-0.9.dev2.dist-info/METADATA +0 -24
- sgx.py-0.9.dev2.dist-info/RECORD +0 -13
- {sgx.py-0.9.dev2.dist-info → sgx.py-0.9.dev4.dist-info}/LICENSE +0 -0
- {sgx.py-0.9.dev2.dist-info → sgx.py-0.9.dev4.dist-info}/top_level.txt +0 -0
sgx/constants.py
CHANGED
sgx/sgx_zmq.py
CHANGED
|
@@ -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]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: sgx.py
|
|
3
|
+
Version: 0.9.dev4
|
|
4
|
+
Summary: SGX
|
|
5
|
+
Home-page: http://github.com/skalenetwork/sgx.py
|
|
6
|
+
Author: SKALE Labs
|
|
7
|
+
Author-email: support@skalelabs.com
|
|
8
|
+
Requires-Python: >=3.7,<4
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Requires-Dist: web3==6.20.2
|
|
11
|
+
Requires-Dist: pyzmq==25.0.2
|
|
12
|
+
Requires-Dist: pem==21.2.0
|
|
13
|
+
Requires-Dist: M2Crypto==0.40.1
|
|
14
|
+
Requires-Dist: urllib3==1.26.0
|
|
15
|
+
Provides-Extra: dev
|
|
16
|
+
Requires-Dist: flake8==3.8.3; extra == "dev"
|
|
17
|
+
Requires-Dist: coincurve==13.0.0; extra == "dev"
|
|
18
|
+
Requires-Dist: python-dotenv==0.13.0; extra == "dev"
|
|
19
|
+
Requires-Dist: twine==3.1.1; extra == "dev"
|
|
20
|
+
Requires-Dist: pytest==7.3.1; extra == "dev"
|
|
21
|
+
Requires-Dist: mock==4.0.2; extra == "dev"
|
|
22
|
+
Provides-Extra: linter
|
|
23
|
+
Requires-Dist: flake8==3.8.3; extra == "linter"
|
|
24
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
sgx/__init__.py,sha256=jes_WnKux6cmzQ-q9tsWIKSa_CV4eSy2FRb75VNDXPY,51
|
|
2
|
+
sgx/constants.py,sha256=HvjvP2S_KRHp-yMozTP3vfU7g8GctYscx8OTHwpVHdI,295
|
|
3
|
+
sgx/generate.sh,sha256=OXafW2v67NgO6RhRK4_XihAJx8D8XLoYSGY_Bd3ab6s,80
|
|
4
|
+
sgx/http.py,sha256=D2NK1Ta_pjjSQUUNRQDMCJowxIYox3xsjinCw4TEGXg,3592
|
|
5
|
+
sgx/sgx.py,sha256=svL1D59vAPMy6jRxgYXzAPYHIN5xm-ZqHYPFyyfNwzU,9345
|
|
6
|
+
sgx/sgx_rpc_handler.py,sha256=k8N3Re-af6JwPFKL38CI0yQwZTHI7abHSGZDkA80tSA,9394
|
|
7
|
+
sgx/sgx_zmq.py,sha256=GJmuDzYDtukpU6veFFnwbYU_lneQPdacLqggU_C-KAs,11845
|
|
8
|
+
sgx/utils.py,sha256=xEhZqBVIZat_7W_6LJ6sWiiLYjCEGXb-Bl8sM_OHswU,2121
|
|
9
|
+
sgx.py-0.9.dev4.dist-info/LICENSE,sha256=ILBn-G3jdarm2w8oOrLmXeJNU3czuJvVhDLBASWdhM8,34522
|
|
10
|
+
sgx.py-0.9.dev4.dist-info/METADATA,sha256=8ULiDHYJytzQrfuj8Ryyljg-JXpPVKtlHkMPrE6DSUg,736
|
|
11
|
+
sgx.py-0.9.dev4.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
|
12
|
+
sgx.py-0.9.dev4.dist-info/top_level.txt,sha256=oW7o1QqOhaMx1mmI_s0gUsUQrfxj-1UUvnZAZeOPhhw,4
|
|
13
|
+
sgx.py-0.9.dev4.dist-info/RECORD,,
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: sgx.py
|
|
3
|
-
Version: 0.9.dev2
|
|
4
|
-
Summary: SGX
|
|
5
|
-
Home-page: http://github.com/skalenetwork/sgx.py
|
|
6
|
-
Author: SKALE Labs
|
|
7
|
-
Author-email: support@skalelabs.com
|
|
8
|
-
Requires-Python: >=3.7,<4
|
|
9
|
-
License-File: LICENSE
|
|
10
|
-
Requires-Dist: web3 ==6.13.0
|
|
11
|
-
Requires-Dist: pyzmq ==25.0.2
|
|
12
|
-
Requires-Dist: pem ==21.2.0
|
|
13
|
-
Requires-Dist: M2Crypto ==0.40.1
|
|
14
|
-
Requires-Dist: urllib3 ==1.26.0
|
|
15
|
-
Provides-Extra: dev
|
|
16
|
-
Requires-Dist: flake8 ==3.8.3 ; extra == 'dev'
|
|
17
|
-
Requires-Dist: coincurve ==13.0.0 ; extra == 'dev'
|
|
18
|
-
Requires-Dist: python-dotenv ==0.13.0 ; extra == 'dev'
|
|
19
|
-
Requires-Dist: twine ==3.1.1 ; extra == 'dev'
|
|
20
|
-
Requires-Dist: pytest ==7.3.1 ; extra == 'dev'
|
|
21
|
-
Requires-Dist: mock ==4.0.2 ; extra == 'dev'
|
|
22
|
-
Provides-Extra: linter
|
|
23
|
-
Requires-Dist: flake8 ==3.8.3 ; extra == 'linter'
|
|
24
|
-
|
sgx.py-0.9.dev2.dist-info/RECORD
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
sgx/__init__.py,sha256=jes_WnKux6cmzQ-q9tsWIKSa_CV4eSy2FRb75VNDXPY,51
|
|
2
|
-
sgx/constants.py,sha256=0B1hQFCdja9ibDTJa3szf2zxPeQN_b29xLU2CRb2P8o,260
|
|
3
|
-
sgx/generate.sh,sha256=OXafW2v67NgO6RhRK4_XihAJx8D8XLoYSGY_Bd3ab6s,80
|
|
4
|
-
sgx/http.py,sha256=D2NK1Ta_pjjSQUUNRQDMCJowxIYox3xsjinCw4TEGXg,3592
|
|
5
|
-
sgx/sgx.py,sha256=svL1D59vAPMy6jRxgYXzAPYHIN5xm-ZqHYPFyyfNwzU,9345
|
|
6
|
-
sgx/sgx_rpc_handler.py,sha256=k8N3Re-af6JwPFKL38CI0yQwZTHI7abHSGZDkA80tSA,9394
|
|
7
|
-
sgx/sgx_zmq.py,sha256=dMIHWUJb5eoLPHyIaW_OssqPwrd2hgNxlTRxZagaW2Q,11656
|
|
8
|
-
sgx/utils.py,sha256=xEhZqBVIZat_7W_6LJ6sWiiLYjCEGXb-Bl8sM_OHswU,2121
|
|
9
|
-
sgx.py-0.9.dev2.dist-info/LICENSE,sha256=ILBn-G3jdarm2w8oOrLmXeJNU3czuJvVhDLBASWdhM8,34522
|
|
10
|
-
sgx.py-0.9.dev2.dist-info/METADATA,sha256=ru5zb-83Yve3XjIPJi7sZBX86uk00mO7mlp_tDtJvR4,755
|
|
11
|
-
sgx.py-0.9.dev2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
12
|
-
sgx.py-0.9.dev2.dist-info/top_level.txt,sha256=oW7o1QqOhaMx1mmI_s0gUsUQrfxj-1UUvnZAZeOPhhw,4
|
|
13
|
-
sgx.py-0.9.dev2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|