Skip to content

Conversation

@tompntn
Copy link
Contributor

@tompntn tompntn commented Jun 21, 2022

This PR adds support for publishing and subscribing to updates from a secondary network.

To do this, we instantiate another instance of the pc::manager class, which manages the RPC connection and account subscriptions from the secondary network.

pythd websocket API users are still managed soley by the primary manager, but the responses to the websocket requests are populated by the secondary manager's data if the primary manager does not have enough data to do so.

@tompntn tompntn requested review from Reisen and jayantk June 21, 2022 10:01
@tompntn tompntn force-pushed the secondary-manager-subclass branch from 9688632 to 0744854 Compare June 21, 2022 12:38
jayantk
jayantk previously approved these changes Jun 21, 2022
@tompntn tompntn force-pushed the secondary-manager-subclass branch from d8aac47 to ba5e1a5 Compare June 23, 2022 08:41
@tompntn tompntn force-pushed the secondary-manager-subclass branch from ba5e1a5 to 33277e5 Compare June 23, 2022 09:25
Copy link
Contributor

@jayantk jayantk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@tompntn tompntn merged commit 9cefc2b into main Jun 24, 2022
@tompntn tompntn deleted the secondary-manager-subclass branch June 24, 2022 09:04
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