-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move get_network_info endpoint to the base rpc server class (#17662)
* Add get_network_info endpoint to the base rpc_server class, remove dupe implementations from wallet/full_node Enables also getting network info from other RPC servers (crawler, etc) * Add get_network_info test to full_node * Remove unused var * Update tests/core/test_full_node_rpc.py Co-authored-by: Kyle Altendorf <sda@fstab.net> * Use context manager for client * Add success: true to the assertion to be complete * Remove the ** --------- Co-authored-by: Kyle Altendorf <sda@fstab.net>
- Loading branch information
1 parent
57193ae
commit 26d5a25
Showing
5 changed files
with
25 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters