-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpcserver: Remove unneeded AddedNodeInfo method.
The RPC server was refactored some time ago to decouple it from the internals of the main server and part of that refactoring modified the RPC server to make use of a local peer interface to obtain all necessary information about peers which is then used to create RPC server results. Due to that, the AddedNodeInfo and PersistentPeers methods now do the exact same thing. This modifies the rpcserver.ConnManager interface to remove the now unnecessary AddedNodeInfo method in favor of the PersistentPeers method and updates all relevant code accordingly.
- Loading branch information
Showing
5 changed files
with
8 additions
and
52 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