Skip to content

Commit

Permalink
peer-selection: extended PeerSelectionCounters
Browse files Browse the repository at this point in the history
`PeerSelectionCounters` provide now raw data in terms of sizes of active
/ established / known sets.  Added `PeerSelectionCountersHWC` pattern
synonym, which calculates sizes in terms of hot / warm / cold sets.

The counters include:
* public roots (excluding big ledger peers)
* big ledger peers
* bootstrap peers
* local roots
* shared peers (e.g. peers received through peer sharing)

Co-authored-by: Armando Santos (@bolt12)
Co-authored-by: Marcin Szamotulski (@coot)
  • Loading branch information
coot committed Apr 16, 2024
1 parent 1862e52 commit e63ff4d
Show file tree
Hide file tree
Showing 2 changed files with 331 additions and 32 deletions.
5 changes: 5 additions & 0 deletions ouroboros-network/CHANGELOG.md
Expand Up @@ -4,6 +4,11 @@

### Breaking changes

* Changed `PeerSelectionCounters` which provides sizes of active / established
/ known sets, and added `PeerSelectionCountersHWC` which provides sizes of
hot / warm / cold sets. The counters cover more groups including: all peers,
big ledger peers, bootstrap peers, local roots and shared peers.

### Non-Breaking changes

## 0.14.0.0 -- 2024-04-04
Expand Down

0 comments on commit e63ff4d

Please sign in to comment.