Skip to content

Improve the deanon process #30

@super-dev-rust

Description

@super-dev-rust

There are several fixes/improvements for the deanon process:

  1. Do not stop at the highest confidence, discarding the node if we already have put this node into the list to give away, but continue the process - it will fix the issue when only a handful of IPs were returned by the system. Should be handled by this MR
  2. Check the IP address for liveliness - this fixes the issue when we give away dead IP addresses
  3. Merge the tables DeanonNodeByBlock and DeanonNodeByTx to make the addition of new heuristics simpler
  4. Introduce more heuristics to map PeerID to PubKey; some examples are:
    • look at PK of transaction signer - if it was received from peer P, we can increase the confidence between this P and PK
    • normalize the first heurestic implementation by division over the total number of txs/blocks seen from this peer(?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions