Skip to content

Conversation

@ong-jonas
Copy link
Collaborator

@ong-jonas ong-jonas commented Oct 16, 2023

changes

  1. peer.handlers.iter().map() does not work, changed to peer.handlers.iter().for_each()
  2. update identify_topic() function as it uses local_public_address to find its own mailbox topic. Will not work with public_addr (external peer's address).
  3. fixed network tests for latest refactor
  4. updated lib.rs example usage
  5. updated behaviour.rs tests to check if specific peer has been added
  6. PeerBuilder consumes itself instead of a reference, changed &mut self -> mut self
  7. boot_nodes type change from Vec<(PeerId, MultiAddr)> to Vec<(PublicAddress, Ipv4Addr, u16)>

@ong-jonas ong-jonas marked this pull request as ready for review October 16, 2023 02:25
@manngayin612 manngayin612 merged commit 24c83d9 into refactor Oct 16, 2023
@ong-jonas ong-jonas deleted the tests/refactor branch October 16, 2023 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants