Moved env_to_send_in_RPC function to libp2p/peer/peerstore.py

This commit is contained in:
lla-dane
2025-08-23 16:20:24 +05:30
parent 5bf9c7b537
commit 91bee9df89
6 changed files with 76 additions and 73 deletions

View File

@ -9,7 +9,6 @@ import time
import varint
from libp2p import env_to_send_in_RPC
from libp2p.abc import (
IHost,
)
@ -20,6 +19,7 @@ from libp2p.kad_dht.utils import maybe_consume_signed_record
from libp2p.peer.id import (
ID,
)
from libp2p.peer.peerstore import env_to_send_in_RPC
from .common import (
DEFAULT_TTL,