[bisq-network/bisq] Show past deviation in monitor (#4734)

chimp1984 notifications at github.com
Sat Oct 31 16:25:38 UTC 2020


Improved seed monitor. Code only affects monitor module and partly seed nodes (to a small extent). The branch was used by most seed nodes already over the past weeks.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Move deviation calculation to InventoryMonitor and store it in RequestInfo
  * Adjust warn/alert tiggers
  * Extract method
  * Replace the 2 deviation maps with one with DeviationInfo as value
  * Add check for repeated warn/alerts in past requests
  * Update params
  * Reset NumAllConnectionsLostEvents once we sent it to inventory monitor
  * Ignore deviation at startup (2 min)

-- File Changes --

    M core/src/main/java/bisq/core/network/p2p/inventory/GetInventoryRequestHandler.java (33)
    M core/src/main/java/bisq/core/network/p2p/inventory/model/Average.java (7)
    M core/src/main/java/bisq/core/network/p2p/inventory/model/DeviationByIntegerDiff.java (4)
    M core/src/main/java/bisq/core/network/p2p/inventory/model/DeviationByPercentage.java (5)
    M core/src/main/java/bisq/core/network/p2p/inventory/model/DeviationOfHashes.java (6)
    M core/src/main/java/bisq/core/network/p2p/inventory/model/DeviationSeverity.java (1)
    M core/src/main/java/bisq/core/network/p2p/inventory/model/InventoryItem.java (72)
    M core/src/main/java/bisq/core/network/p2p/inventory/model/RequestInfo.java (48)
    M inventory/src/main/java/bisq/inventory/InventoryMonitor.java (64)
    M inventory/src/main/java/bisq/inventory/InventoryMonitorMain.java (8)
    M inventory/src/main/java/bisq/inventory/InventoryWebServer.java (210)
    M p2p/src/main/java/bisq/network/p2p/peers/PeerManager.java (4)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/4734.patch
https://github.com/bisq-network/bisq/pull/4734.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/4734
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201031/d1ecee94/attachment-0001.html>


More information about the bisq-github mailing list