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

Move get_network_info endpoint to the base rpc server class #17662

Merged
merged 7 commits into from
Mar 7, 2024

Conversation

cmmarslender
Copy link
Contributor

I needed network info when running crawler. The method was already duplicated on the full_node and wallet rpc servers, so seemed more appropriate to move to the base rpc server class. Now we can get network info from any running rpc server.

@cmmarslender cmmarslender requested a review from a team as a code owner March 6, 2024 16:38
@cmmarslender cmmarslender added the Changed Required label for PR that categorizes merge commit message as "Changed" for changelog label Mar 6, 2024
@cmmarslender cmmarslender changed the title Add get_network_info endpoint to the base rpc_server class Move get_network_info endpoint to the base rpc server class Mar 6, 2024
@altendky altendky self-requested a review March 7, 2024 15:43
tests/core/test_full_node_rpc.py Outdated Show resolved Hide resolved
tests/core/test_full_node_rpc.py Outdated Show resolved Hide resolved
tests/core/test_full_node_rpc.py Show resolved Hide resolved
@cmmarslender cmmarslender merged commit 26d5a25 into main Mar 7, 2024
277 checks passed
@cmmarslender cmmarslender deleted the shared-net-info branch March 7, 2024 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changed Required label for PR that categorizes merge commit message as "Changed" for changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants