-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Network tests & updates #692
Merged
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
1eda7f0
test: add netaddress tests.
nodech 5232b33
test: add look/resolve tests.
nodech 7d55fc6
test: netaddress add more tests.
nodech e1f4359
test: init net hostlists test.
nodech f893e24
net-tests: add hostslist add tests.
nodech 2a07d3c
hostlist: make random an option.
nodech 4f094d9
net-test: add more hostlist tests.
nodech 732d627
net-test: add more tests to the hostlist.
nodech 721dd9a
pool: Use a shorter loop to get hosts for refilling peers
rsmarples 03b962e
net: remove discoverExternal() from the pool
kilpatty 4ee4a42
net-address: Add get group function.
kilpatty f52e924
net-pool: Check outbound peers for same group before connecting
kilpatty a7d214c
pkg: update package-lock.
nodech 43f5c2c
test: minor.
nodech 81f3736
net: use PeerOptions for the Peer.
nodech 5fc3122
net: nits.
nodech c96b6ec
net: Fix connectedGroup filter.
nodech File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we allow this with some low probability? or is it always bad
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm.. Maybe last 2 tries ? pc80 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like Bitcoin Core really doesnt allow this at all:
https://github.com/bitcoin/bitcoin/blob/master/src/net.cpp#L2114-L2117
So I defer to you, just not sure given the limited size of the handshake network if this is actually beneficial.