mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Merge branch 'main' into varun-r-mallya/protobuf-update
This commit is contained in:
@ -39,8 +39,6 @@ from .peerinfo import (
|
||||
PERMANENT_ADDR_TTL = 0
|
||||
|
||||
|
||||
# TODO: Set up an async task for periodic peer-store cleanup
|
||||
# for expired addresses and records.
|
||||
class PeerRecordState:
|
||||
envelope: Envelope
|
||||
seq: int
|
||||
@ -217,7 +215,6 @@ class PeerStore(IPeerStore):
|
||||
|
||||
# -----CERT-ADDR-BOOK-----
|
||||
|
||||
# TODO: Make proper use of this function
|
||||
def maybe_delete_peer_record(self, peer_id: ID) -> None:
|
||||
"""
|
||||
Delete the signed peer record for a peer if it has no know
|
||||
|
||||
3
newsfragments/819.internal.rst
Normal file
3
newsfragments/819.internal.rst
Normal file
@ -0,0 +1,3 @@
|
||||
Remove the already completed TODO tasks in Peerstore:
|
||||
TODO: Set up an async task for periodic peer-store cleanup for expired addresses and records.
|
||||
TODO: Make proper use of this function
|
||||
Reference in New Issue
Block a user