mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-09 22:50:54 +00:00
remove completed TODO task comments
This commit is contained in:
@ -39,8 +39,6 @@ from .peerinfo import (
|
|||||||
PERMANENT_ADDR_TTL = 0
|
PERMANENT_ADDR_TTL = 0
|
||||||
|
|
||||||
|
|
||||||
# TODO: Set up an async task for periodic peer-store cleanup
|
|
||||||
# for expired addresses and records.
|
|
||||||
class PeerRecordState:
|
class PeerRecordState:
|
||||||
envelope: Envelope
|
envelope: Envelope
|
||||||
seq: int
|
seq: int
|
||||||
@ -217,7 +215,6 @@ class PeerStore(IPeerStore):
|
|||||||
|
|
||||||
# -----CERT-ADDR-BOOK-----
|
# -----CERT-ADDR-BOOK-----
|
||||||
|
|
||||||
# TODO: Make proper use of this function
|
|
||||||
def maybe_delete_peer_record(self, peer_id: ID) -> None:
|
def maybe_delete_peer_record(self, peer_id: ID) -> None:
|
||||||
"""
|
"""
|
||||||
Delete the signed peer record for a peer if it has no know
|
Delete the signed peer record for a peer if it has no know
|
||||||
|
|||||||
Reference in New Issue
Block a user