HomePhabricator

net: move nLocalHostNonce to CConnman
960cf2e4058aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

net: move nLocalHostNonce to CConnman

This behavior seems to have been quite racy and broken.

Move nLocalHostNonce into CNode, and check received nonces against all
non-fully-connected nodes. If there's a match, assume we've connected
to ourself.

Details

Provenance
Cory Fields <cory-nospam-@coryfields.com>Authored on Apr 18 2016, 00:21
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING551e0887db90: net: move nLastNodeId to CConnman
Branches
Unknown
Tags
Unknown

Event Timeline

Cory Fields <cory-nospam-@coryfields.com> committed rSTAGING960cf2e4058a: net: move nLocalHostNonce to CConnman (authored by Cory Fields <cory-nospam-@coryfields.com>).Sep 8 2016, 16:24