ratio1 3.4.117__py3-none-any.whl → 3.4.119__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.
- ratio1/_ver.py +1 -1
- ratio1/bc/base.py +7 -0
- ratio1/ipfs/r1fs.py +2 -3
- {ratio1-3.4.117.dist-info → ratio1-3.4.119.dist-info}/METADATA +1 -1
- {ratio1-3.4.117.dist-info → ratio1-3.4.119.dist-info}/RECORD +8 -8
- {ratio1-3.4.117.dist-info → ratio1-3.4.119.dist-info}/WHEEL +0 -0
- {ratio1-3.4.117.dist-info → ratio1-3.4.119.dist-info}/entry_points.txt +0 -0
- {ratio1-3.4.117.dist-info → ratio1-3.4.119.dist-info}/licenses/LICENSE +0 -0
ratio1/_ver.py
CHANGED
ratio1/bc/base.py
CHANGED
|
@@ -1483,6 +1483,11 @@ class BaseBlockEngine(
|
|
|
1483
1483
|
# Network handling
|
|
1484
1484
|
if network is None:
|
|
1485
1485
|
network = self.evm_network
|
|
1486
|
+
|
|
1487
|
+
if not debug:
|
|
1488
|
+
if 'test' in network.lower() or 'dev' in network.lower():
|
|
1489
|
+
debug = True
|
|
1490
|
+
self.P("Enabling dAuth debug mode for test/dev network '{}'".format(network))
|
|
1486
1491
|
|
|
1487
1492
|
# URL handling
|
|
1488
1493
|
if not isinstance(url, str) or len(url) < MIN_LEN:
|
|
@@ -1530,6 +1535,8 @@ class BaseBlockEngine(
|
|
|
1530
1535
|
if debug:
|
|
1531
1536
|
self.P(f"Sending to dAuth URL: {url}\n{json.dumps(json_to_send, indent=2)}")
|
|
1532
1537
|
response = requests.post(url, json=json_to_send)
|
|
1538
|
+
if debug:
|
|
1539
|
+
self.P(f"Received response (status {response.status_code}).")
|
|
1533
1540
|
if response.status_code == 200:
|
|
1534
1541
|
dct_response = response.json()
|
|
1535
1542
|
dct_result = dct_response.get('result', {}) or {}
|
ratio1/ipfs/r1fs.py
CHANGED
|
@@ -1040,9 +1040,8 @@ class R1FSEngine:
|
|
|
1040
1040
|
#end if folder_cid is not None
|
|
1041
1041
|
total_time = time.time() - start_time
|
|
1042
1042
|
if show_logs:
|
|
1043
|
-
self.P(
|
|
1044
|
-
file_path
|
|
1045
|
-
))
|
|
1043
|
+
self.P(
|
|
1044
|
+
f"Added file {file_path} as <{folder_cid}> in {total_time:.2f}s: add_time={add_time:.2f}s, remove_time={remove_time:.2f}s, pin_time={pin_time:.2f}s")
|
|
1046
1045
|
return folder_cid
|
|
1047
1046
|
|
|
1048
1047
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ratio1
|
|
3
|
-
Version: 3.4.
|
|
3
|
+
Version: 3.4.119
|
|
4
4
|
Summary: `ratio1` or Ration1 SDK is the Python SDK required for client app development for the Ratio1 ecosystem
|
|
5
5
|
Project-URL: Homepage, https://github.com/Ratio1/ratio1_sdk
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/Ratio1/ratio1_sdk/issues
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
ratio1/__init__.py,sha256=YimqgDbjLuywsf8zCWE0EaUXH4MBUrqLxt0TDV558hQ,632
|
|
2
|
-
ratio1/_ver.py,sha256=
|
|
2
|
+
ratio1/_ver.py,sha256=mCULvfH11my6ewL6BfupfyAgK5F_s3ttSDNsnjKEuWk,332
|
|
3
3
|
ratio1/base_decentra_object.py,sha256=iXvAAf6wPnGWzeeiRfwLojVoan-m1e_VsyPzjUQuENo,4492
|
|
4
4
|
ratio1/plugins_manager_mixin.py,sha256=X1JdGLDz0gN1rPnTN_5mJXR8JmqoBFQISJXmPR9yvCo,11106
|
|
5
5
|
ratio1/base/__init__.py,sha256=hACh83_cIv7-PwYMM3bQm2IBmNqiHw-3PAfDfAEKz9A,259
|
|
@@ -14,7 +14,7 @@ ratio1/base/webapp_pipeline.py,sha256=H83EjkmyljetdHZ18V5R8OU3wXoWi_EpV0AAhQ4AM6
|
|
|
14
14
|
ratio1/base/payload/__init__.py,sha256=y8fBI8tG2ObNfaXFWjyWZXwu878FRYj_I8GIbHT4GKE,29
|
|
15
15
|
ratio1/base/payload/payload.py,sha256=MoCeL6iZzl1an-4eqRpLW0iz6Yk3OvlBrymcmhWeecM,2689
|
|
16
16
|
ratio1/bc/__init__.py,sha256=BI5pcqHdhwnMdbWTYDLW1cVP_844VtLra-lz7xprgsk,171
|
|
17
|
-
ratio1/bc/base.py,sha256=
|
|
17
|
+
ratio1/bc/base.py,sha256=fGw_16YIKGOqsAQsoQ0R3vClFEelfu42Bb6nCEcQ36c,46160
|
|
18
18
|
ratio1/bc/chain.py,sha256=HCTQGnmuKqTvUo95OKdg8rL2jhKfSMwrich2e_7Nyms,2336
|
|
19
19
|
ratio1/bc/ec.py,sha256=FwlkWmJvQ9aHuf_BZX1CWSUAxw6OZ9jBparLIWcs_e4,18933
|
|
20
20
|
ratio1/bc/evm.py,sha256=iMLdm_rtQFqmt44zTE_UA0OKSTmuH7sCSI2iKvFI1_k,52013
|
|
@@ -74,7 +74,7 @@ ratio1/io_formatter/default/aixp1.py,sha256=MX0TeUR4APA-qN3vUC6uzcz8Pssz5lgrQWo7
|
|
|
74
74
|
ratio1/io_formatter/default/default.py,sha256=gEy78cP2D5s0y8vQh4aHuxqz7D10gGfuiKF311QhrpE,494
|
|
75
75
|
ratio1/ipfs/__init__.py,sha256=vXEDLUNUO6lOTMGa8iQ9Zf7ajIQq9GZuvYraAHt3meE,38
|
|
76
76
|
ratio1/ipfs/ifps_keygen,sha256=PcoYuo4c89_C9FWrKq9K_28ruhKqnxNn1s3nLHiF1tc,879
|
|
77
|
-
ratio1/ipfs/r1fs.py,sha256=
|
|
77
|
+
ratio1/ipfs/r1fs.py,sha256=sZxo6lFZbJf-UXQHDUbuOBjZCETE-IK-_ICIm6gz8rw,92019
|
|
78
78
|
ratio1/ipfs/ipfs_setup/ipfs.service,sha256=isTJQsktPy4i1yaDA9AC1OKdlTYvsCCRRAVX-EmGqAs,248
|
|
79
79
|
ratio1/ipfs/ipfs_setup/launch_service.sh,sha256=GWhZyNqtohLxJg8Q_c8YnNZduu1ddXDU-IFRRMaEyiY,141
|
|
80
80
|
ratio1/ipfs/ipfs_setup/restart.sh,sha256=9xHMgkUoAMI25jeaoDVFbCa_LjojYm3ubljW58RatKE,22
|
|
@@ -109,8 +109,8 @@ ratio1/utils/comm_utils.py,sha256=4cS9llRr_pK_3rNgDcRMCQwYPO0kcNU7AdWy_LtMyCY,10
|
|
|
109
109
|
ratio1/utils/config.py,sha256=Elfkl7W4aDMvB5WZLiYlPXrecBncgTxb4hcKhQedMzI,10111
|
|
110
110
|
ratio1/utils/dotenv.py,sha256=_AgSo35n7EnQv5yDyu7C7i0kHragLJoCGydHjvOkrYY,2008
|
|
111
111
|
ratio1/utils/oracle_sync/oracle_tester.py,sha256=aJOPcZhtbw1XPqsFG4qYpfv2Taj5-qRXbwJzrPyeXDE,27465
|
|
112
|
-
ratio1-3.4.
|
|
113
|
-
ratio1-3.4.
|
|
114
|
-
ratio1-3.4.
|
|
115
|
-
ratio1-3.4.
|
|
116
|
-
ratio1-3.4.
|
|
112
|
+
ratio1-3.4.119.dist-info/METADATA,sha256=4o6ceJwHd3UcJ7FlpKjJ1k1Zm4qA0jWNhLmCYGhvxWg,12256
|
|
113
|
+
ratio1-3.4.119.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
114
|
+
ratio1-3.4.119.dist-info/entry_points.txt,sha256=DR_olREzU1egwmgek3s4GfQslBi-KR7lXsd4ap0TFxE,46
|
|
115
|
+
ratio1-3.4.119.dist-info/licenses/LICENSE,sha256=cvOsJVslde4oIaTCadabXnPqZmzcBO2f2zwXZRmJEbE,11311
|
|
116
|
+
ratio1-3.4.119.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|