Refactor error handling of failed Node Connections created from the Discovery domain #354
Labels
development
Standard development
r&d:polykey:core activity 3
Peer to Peer Federated Hierarchy
technology
Specification
While completing #311 it was discovered that failed node connections created by the Discovery domain (using
NodeManager.requestChainData()
to get the sigchain data of a node during the discovery process) were not handled correctly, leading to strange errors during testing. A quick fix for handling these errors was implemented, however it could be refactored to be more specific.Currently we have (inside
src/discovery/Discovery.ts
):Additional context
Tasks
ErrorNodeConnectionDestroyed
,ErrorNodeConnectionTimeout
, and any other errors found while working through Write tests to cover all possible states of the Discovery, NodeConnection, and discovered Node during the discovery process #349)The text was updated successfully, but these errors were encountered: