forked from tari-project/tari
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add disconnect/re-connect to base node monitor
- This PR disconnects and re-sets a wallet's base node peer if a valid RPC connection to that peer cannot be obtained, but only for the wallet's base node monitor service. The spinoff is that all subsequent RPC connections to the same peer/node will benefit from the comms connection service retrying to re-establish the peer connection. As the wallet's base node monitor service runs in a slow loop, it will assist other services that are dependent on the same base node peer connection; if one service suffers due to a bad/stale peer connection all services suffer. - Also implementing sending transaction to all connected peers as per tari-project#3239 - Fixed the base_node_service_config not being initialized with values from the config file.
- Loading branch information
1 parent
8a36fb5
commit ca6d309
Showing
3 changed files
with
37 additions
and
1 deletion.
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