hashgraph / hedera-sdk-java

Hedera™ Hashgraph SDK for Java
https://docs.hedera.com/guides/docs/sdks
Apache License 2.0
229 stars 117 forks source link

feat: init client with mirror network #2085

Closed 0xivanov closed 6 days ago

0xivanov commented 1 week ago

Description:

To allow Sphere users to fully initialize a Client with only a mirror node address, there should be an option that allows for the initialization of the Client's consensus node network automatically with an AddressBookQuery to the mirror node.

Related issue(s):

Fixes #2058

Notes for reviewer:

Checklist

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.63%. Comparing base (b86ee46) to head (ef280ec). Report is 157 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2085 +/- ## ============================================ + Coverage 82.20% 82.63% +0.43% - Complexity 3588 3932 +344 ============================================ Files 186 199 +13 Lines 11697 12729 +1032 Branches 1150 1253 +103 ============================================ + Hits 9615 10519 +904 - Misses 1604 1712 +108 - Partials 478 498 +20 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: