Skip to content

feat: use local peers cache for retrieving peer manager addresses

Henk van Maanen requested to merge review/142-directory-cache into main

This MR prevents a Manager from retrieving Peer info from the Directory if the information is already available in its database.

  • Retrieve the Manager address of a Peer from the database before calling the Directory
  • Ensure your own Manager address is registered locally when starting the Manager

Todo

  • Since the certificates have been regenerated, fix the TestInwayWronglySignedToken test
  • The internal/peers implementation has been replaced with a PeersCommunicationService. The existing tests need to be reworked so they work for the new implementation.

Issue: #142 (closed)

Edited by Ronald Koster

Merge request reports