forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 380
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removes ContactInfo::set_{serve_repair,tpu_vote,tvu}_quic api
It is not obvious that ContactInfo::set_{serve_repair,tpu_vote,tvu}(...) are only setting the UDP port. Also having separate api for ContactInfo::set_{serve_repair,tpu_vote,tvu}_quic(...) is redundant and the intended protocol can instead be explicitly passed as an argument. For example: node.set_tvu(Protocol::QUIC, socket) or node.set_tvu(Protocol::UDP, socket)
- Loading branch information
1 parent
9ec0980
commit 6804d7c
Showing
5 changed files
with
95 additions
and
48 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