[bisq-network/bisq] Add GetInventory messages (#4643)

chimp1984 notifications at github.com
Wed Oct 14 04:33:21 UTC 2020


This will be used for monitoring seed nodes.
Instead of requesting all data (we cannot request all in fact as it is too large)
we request the number of items the node has.

This code will not have any impact atm. It will be triggered once a new monitor module gets added which
will send the GetInventoryRequest to the seeds.

It would be nice to get it into 1.4.0 as then we have it already deployed for the seed nodes. Otherwise they will need to update in a few days again once the new monitor is running. The new monitor project will be a PR to master and coming soon as well :-)

You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/4643

-- Commit Summary --

  * Add GetInventory messages

-- File Changes --

    M core/src/main/java/bisq/core/proto/network/CoreNetworkProtoResolver.java (7)
    M p2p/src/main/java/bisq/network/p2p/P2PService.java (13)
    A p2p/src/main/java/bisq/network/p2p/inventory/GetInventoryRequestHandler.java (81)
    A p2p/src/main/java/bisq/network/p2p/inventory/GetInventoryRequestManager.java (61)
    A p2p/src/main/java/bisq/network/p2p/inventory/GetInventoryRequester.java (66)
    A p2p/src/main/java/bisq/network/p2p/inventory/messages/GetInventoryRequest.java (55)
    A p2p/src/main/java/bisq/network/p2p/inventory/messages/GetInventoryResponse.java (56)
    M p2p/src/main/java/bisq/network/p2p/storage/P2PDataStorage.java (2)
    M proto/src/main/proto/pb.proto (13)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/4643.patch
https://github.com/bisq-network/bisq/pull/4643.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4643
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201013/887626cf/attachment.html>


More information about the bisq-github mailing list