Skip to content
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

Remove address prefix #4610

Merged
merged 35 commits into from
Oct 9, 2020

Conversation

chimp1984
Copy link
Contributor

Remove address prefix in case the peer has updated vesion as well.
Processes all mailbox messages in a thread. (1000 msgs takes about 1 sec).

Replaces #4609

chimp1984 and others added 30 commits October 8, 2020 18:23
Add `boolean contains(Capability capability)` method
Remove debug log, remove annotation
Set address prefix to empty bytes in case we know that peer has capability (updated version)
Batch process mailbox messages in a thread.
Refactor handling of mailbox messages
Make capabilities final

If capability changes we would have had duplicate entries
The check for AckMessage is not needed anymore as we remove the interface from AckMessage
Impl. applyCapabilities

Cleanups
Rename getOptionalPersistedPeer to findPersistedPeer
Improve getConnectedReportedPeers method
…onnection.hasPeersNodeAddress() which does the same internally
…node from persisted peers.

Remove log in DisputeAgentManager which gets called repeatedly
Rename mailboxMap to mailboxItemsByUid
Fix incorrectly commented out code (was for dev testing commented out)
…orted one has higher capabilities, otherwise we ignore it.
@ripcurlx ripcurlx merged commit 352d954 into bisq-network:release/v1.4.0 Oct 9, 2020
@ripcurlx ripcurlx added this to the v1.4.0 milestone Oct 9, 2020
@chimp1984 chimp1984 deleted the remove-address-prefix branch October 17, 2020 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants