Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Client::forMirrorNetwork() to allow consensus node network initialization with a mirror node address book #805

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

rwalworth
Copy link
Contributor

@rwalworth rwalworth commented Oct 24, 2024

This PR implements a needed feature for SDKs that will be used for sphere: the ability to get the address book from a mirror node and use it to populate a Client's consensus node network.

Related issue(s):

Fixes #800

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@rwalworth rwalworth added the New Feature A new feature, service, or documentation. Major changes that are not backwards compatible. label Oct 24, 2024
@rwalworth rwalworth added this to the v0.32.0 milestone Oct 24, 2024
@rwalworth rwalworth self-assigned this Oct 24, 2024
@rwalworth rwalworth requested review from a team as code owners October 24, 2024 16:15
rwalworth and others added 2 commits October 24, 2024 12:17
…an-addressbook-if-a-client-is-initialized-only-with-a-mirrornetwork
gsstoykov
gsstoykov previously approved these changes Oct 25, 2024
Copy link
Contributor

@gsstoykov gsstoykov left a comment

Choose a reason for hiding this comment

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

LGTM.

@rwalworth rwalworth removed this from the v0.32.0 milestone Oct 29, 2024
@rwalworth rwalworth changed the title feat: add Client.populateNetworkFromMirrorNodeAddressBook() to allow consensus node network initialization with a mirror node address book feat: add Client::forMirroNetwork() to allow consensus node network initialization with a mirror node address book Oct 31, 2024
@rwalworth rwalworth changed the title feat: add Client::forMirroNetwork() to allow consensus node network initialization with a mirror node address book feat: add Client::forMirrorNetwork() to allow consensus node network initialization with a mirror node address book Oct 31, 2024
…an-addressbook-if-a-client-is-initialized-only-with-a-mirrornetwork
Copy link
Contributor

@rbarkerSL rbarkerSL left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Feature A new feature, service, or documentation. Major changes that are not backwards compatible.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option to automatically query for an AddressBook if a Client is initialized only with a mirrorNetwork
4 participants