The following things need improvement: - [ ] Add service provider in the builder setup chain - [ ] Hide peer store under interface - [ ] Add multiaddress helpers to filter out local addresses; - [ ] Propose simple ways of detecting public IP (heuristics based on peer data retrieved from peers? public service request?) - [ ] Consider implementing an async disposable pattern by PeerStore, PubsubRouter, *DiscoveryProtocols - [ ] WithPubsub or AddPubsub? - [ ] Make peer configurable: connection timeout - [ ] Make reconnection management replaceable and customizable - [ ] Pass token to dial/connect of session protocols. Cancel if protocol is not instantiated yet, otherwise protocol should react to the cancellation - [ ] Reveal sessions in ILocalPeer interface
The following things need improvement: