Skip to content

Conversation

@coot
Copy link
Contributor

@coot coot commented Jan 19, 2026

List of changes

  • improved PeerSelectionPolicy for dmq-node

Checklist

  • related issue
  • My changes generate no new warnings
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works

The peer selection policy is based on `simplePeerSelectionPolicy` with
two exceptions:

* it doesn't take into account `PeerMetric`, since it's not available
* it doesn't forget known local root peers

The latter is important, since at least now there no other peers in the
network.
coot added 6 commits January 21, 2026 15:51
Cryptographic checks are the most computationally complex, so it makes
sense to run them last.  Added comments.
It's enough for us to add `DSIGN crypto ~ Ledger.DSIGN` constraint to
hash they key.
@coot coot marked this pull request as ready for review January 22, 2026 15:19
@coot coot self-assigned this Jan 22, 2026
@coot coot force-pushed the coot/peer-selection-policy branch from 71f5460 to e6d98e1 Compare January 22, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants