mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-10 23:20:55 +00:00
Compare commits
4 Commits
1ea50a3cf3
...
varun-r-ma
| Author | SHA1 | Date | |
|---|---|---|---|
| af61523c87 | |||
| d2fdf70692 | |||
| f4247faa51 | |||
| eb3121b818 |
@ -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