unaiverse 0.1.4__py3-none-any.whl → 0.1.5__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.
Potentially problematic release.
This version of unaiverse might be problematic. Click here for more details.
- unaiverse/networking/p2p/lib.go +1 -1
- unaiverse/networking/p2p/p2p.py +2 -8
- {unaiverse-0.1.4.dist-info → unaiverse-0.1.5.dist-info}/METADATA +1 -1
- {unaiverse-0.1.4.dist-info → unaiverse-0.1.5.dist-info}/RECORD +7 -7
- {unaiverse-0.1.4.dist-info → unaiverse-0.1.5.dist-info}/WHEEL +0 -0
- {unaiverse-0.1.4.dist-info → unaiverse-0.1.5.dist-info}/licenses/LICENSE +0 -0
- {unaiverse-0.1.4.dist-info → unaiverse-0.1.5.dist-info}/top_level.txt +0 -0
unaiverse/networking/p2p/lib.go
CHANGED
|
@@ -391,7 +391,7 @@ func setupNotifiers(instanceIndex int) {
|
|
|
391
391
|
// or if there were multiple connection events. Update generously.
|
|
392
392
|
if epi, exists := instanceConnectedPeers[remotePeerID]; exists {
|
|
393
393
|
epi.Addrs = finalPeerAddrs // Update with the new comprehensive list
|
|
394
|
-
epi.Direction = directionString
|
|
394
|
+
// epi.Direction = directionString
|
|
395
395
|
instanceConnectedPeers[remotePeerID] = epi
|
|
396
396
|
} else {
|
|
397
397
|
instanceConnectedPeers[remotePeerID] = ExtendedPeerInfo{
|
unaiverse/networking/p2p/p2p.py
CHANGED
|
@@ -219,7 +219,8 @@ class P2P:
|
|
|
219
219
|
addresses_quic = [a for a in self._address_cache if "/quic-v1/" in a]
|
|
220
220
|
addresses_webrtc = [a for a in self._address_cache if "/webrtc" in a]
|
|
221
221
|
addresses_tcp = [a for a in self._address_cache if "/tcp/" in a]
|
|
222
|
-
|
|
222
|
+
addresses_ws = [a for a in self._address_cache if "/ws" in a]
|
|
223
|
+
addresses = addresses_quic + addresses_webrtc + addresses_tcp + addresses_ws
|
|
223
224
|
self._address_cache.clear()
|
|
224
225
|
for _addr in addresses:
|
|
225
226
|
self._address_cache.append(_addr)
|
|
@@ -228,13 +229,6 @@ class P2P:
|
|
|
228
229
|
logger.info(f"👂 [Instance {self._instance}] Listening on: {self._address_cache}")
|
|
229
230
|
logger.info(f"🌐 [Instance {self._instance}] Publicly reachable: {self._is_public}")
|
|
230
231
|
|
|
231
|
-
# Start background threads if desired (currently commented out in original)
|
|
232
|
-
# logger.info(f"[Instance {self._instance}] 🧵 Starting background polling threads...")
|
|
233
|
-
# self._get_connected_peers_thread = threading.Thread(...)
|
|
234
|
-
# self._get_connected_peers_thread.start()
|
|
235
|
-
# self._check_message_queue_thread = threading.Thread(...)
|
|
236
|
-
# self._check_message_queue_thread.start()
|
|
237
|
-
|
|
238
232
|
logger.info(f"🎉 [Instance {self._instance}] Node initialized successfully.")
|
|
239
233
|
|
|
240
234
|
except Exception as e:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: unaiverse
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.5
|
|
4
4
|
Summary: UNaIVERSE: A Collectionless AI Project. The new web of humans & AI Agents, built on privacy, control, and reduced energy consumption.
|
|
5
5
|
Author-email: Stefano Melacci <stefano.melacci@unisi.it>, Christian Di Maio <christian.dimaio@phd.unipi.it>, Tommaso Guidi <tommaso.guidi.1998@gmail.com>
|
|
6
6
|
Maintainer-email: Stefano Melacci <stefano.melacci@unisi.it>, Christian Di Maio <christian.dimaio@phd.unipi.it>, Tommaso Guidi <tommaso.guidi.1998@gmail.com>
|
|
@@ -24,12 +24,12 @@ unaiverse/networking/node/tokens.py,sha256=UHyPnl6TDvPitrkP2AYAIegSWq4CpvsjRvmio
|
|
|
24
24
|
unaiverse/networking/p2p/__init__.py,sha256=ikRpQyJa2PRIeCLXcMWLWioJyyu1aS5I6twArCkhGhQ,13599
|
|
25
25
|
unaiverse/networking/p2p/golibp2p.py,sha256=ibVCLERzM2JgPP_A5FTooCoxYW5Zm2HBbzX28aQIFzo,2450
|
|
26
26
|
unaiverse/networking/p2p/golibp2p.pyi,sha256=ri7ZL8LQHx2rnwhXmQ9q2RiaTXeU6nitw1lB_L5Bhq4,4079
|
|
27
|
-
unaiverse/networking/p2p/lib.go,sha256=
|
|
27
|
+
unaiverse/networking/p2p/lib.go,sha256=1wbEB4aVYMFObxB4oBcpBfo9-oR5uSx5WUryyOyu1Y4,108702
|
|
28
28
|
unaiverse/networking/p2p/lib_types.py,sha256=b7NJmN636o-X3TEWdp4YVIJ9Snr8AGT0GUuaYITZ6PY,13956
|
|
29
29
|
unaiverse/networking/p2p/message_pb2.py,sha256=-kEXvIYJZqGOh47i5e7qYHZdsKJ5uQtfDVQrnrAewCg,5697
|
|
30
30
|
unaiverse/networking/p2p/messages.py,sha256=6fN-3INvnUoWu_YwQPfx4WRx8DD7LEOu511nRWKI-fM,12287
|
|
31
31
|
unaiverse/networking/p2p/mylogger.py,sha256=-WW6qT39rptXwUlpQg1BuU7u8o9MKLF_-Cbe7EaQKsc,4773
|
|
32
|
-
unaiverse/networking/p2p/p2p.py,sha256=
|
|
32
|
+
unaiverse/networking/p2p/p2p.py,sha256=GlJ3CZcT34DnKwpxjpWryIHnZ6TId0KNuyKni2gXB9M,46716
|
|
33
33
|
unaiverse/streamlib/__init__.py,sha256=VpsL7-gwML7nbrMQumtEDpuEH4g7iNqQaCzd-zX49cQ,2447
|
|
34
34
|
unaiverse/streamlib/streamlib.py,sha256=yz6G8eez3VnF_fvA9G3KS-WCoLvPYlk0IdqdB9dDzOI,10366
|
|
35
35
|
unaiverse/utils/__init__.py,sha256=_iomQ_GviAS5c4ZVBrm1h_rLYWH-f-T9SI-b0697gn0,2464
|
|
@@ -38,8 +38,8 @@ unaiverse/utils/lone_wolf.json,sha256=_rHfeqV8gqvPc0h-cZF7mPCG0Z4HuVkV-mKoXXwjbN
|
|
|
38
38
|
unaiverse/utils/misc.py,sha256=4J3HotzosgsnEr9MgeuQmdrrISPuKl85oOAuKAfcz-U,12085
|
|
39
39
|
unaiverse/utils/sandbox.py,sha256=S_eocNIGTyckovYMxmWb56wsCG7M-mxmGHqdLavSWQA,14436
|
|
40
40
|
unaiverse/utils/server.py,sha256=hCxHTNmYGrgGYrwZ5RaQ9kdmmfqWuIVTUdPYLCwpTQU,21974
|
|
41
|
-
unaiverse-0.1.
|
|
42
|
-
unaiverse-0.1.
|
|
43
|
-
unaiverse-0.1.
|
|
44
|
-
unaiverse-0.1.
|
|
45
|
-
unaiverse-0.1.
|
|
41
|
+
unaiverse-0.1.5.dist-info/licenses/LICENSE,sha256=02v7juVPTazXHV7TG9WtaWrtmeC3BAd49itKH_SiHOs,1396
|
|
42
|
+
unaiverse-0.1.5.dist-info/METADATA,sha256=KpjCv7g5AeM532_8l-Hg7mOkopGaIsUS8JX-xQH0FRY,18268
|
|
43
|
+
unaiverse-0.1.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
44
|
+
unaiverse-0.1.5.dist-info/top_level.txt,sha256=0rP09tH9hv17TDQs66OHbJaRSnADpZsDsODy6JVsTtw,10
|
|
45
|
+
unaiverse-0.1.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|