Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't bind to UDP socket with --disable_udp flag (#2464)
* don't bind to UDP socket with --disable_udp flag * don't start port mapping with both UDP & TCP sockets disabled * use predefined port in `nano::network::endpoint ()` function rather than call to UDP socket * update TCP (bootstrap) server `endpoint ()` function to return empty endpoint if server is not started * update several tests to run twice: with UDP only and with TCP only * attepmt to start realtime TCP connection to RPC bootstrap peer if UDP is disabled * make UDP socket unique_ptr
- Loading branch information
Showing
13 changed files
with
273 additions
and
128 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
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
Oops, something went wrong.