feat: store pubkey and peerid in peerstore

This commit is contained in:
Winter-Soren
2025-05-29 20:07:48 +05:30
parent 67ca1d7769
commit 30b5811d39
5 changed files with 35 additions and 7 deletions

View File

@ -27,6 +27,9 @@ async def main():
# secure_bytes_provider: Optional function to generate secure random bytes
# (defaults to secrets.token_bytes)
secure_bytes_provider=None, # Use default implementation
# peerstore: Optional peerstore to store peer IDs and public keys
# (defaults to None)
peerstore=None,
)
# Create a security options dictionary mapping protocol ID to transport