WIP: Handle all peers nonces, not only own #5

Draft
lee.miller wants to merge 4 commits from lee.miller/MiNode:network-nonce into v0.3

4 Commits

Author SHA1 Message Date
a69f2bc638
Discard the disconnected node from unchecked_node_pool 2024-10-23 02:10:27 +03:00
6c545087dc
Generate new nonce for the I2P connections and improve nonce handling:
- make tuple (host, port) a key for shared.nonce_pool
    to differentiate incoming tor connections,
  - reserve 127.0.0.1, 8448 for self,
  - convert nonce to string for logging.
2024-10-23 02:10:26 +03:00
d4cf657efd
Log also nonce when processing the version message 2024-10-23 02:10:26 +03:00
2b0c701532
Don't connect to nodes with the same nonce 2024-10-23 02:10:20 +03:00