aboutsummaryrefslogtreecommitdiff
path: root/src/common/stack_trace.cpp
diff options
context:
space:
mode:
authorMiguel Herranz <miguel@ipglider.org>2017-01-21 00:59:04 +0100
committerMiguel Herranz <miguel@ipglider.org>2017-01-21 10:09:38 +0100
commit82dbeedd1bb92a6db31b2e887fee59b4382dc582 (patch)
tree4d14d35ae9a31bc2449a93ec458f509c75fd4193 /src/common/stack_trace.cpp
parent39aaea8e6293fc79d94e188a100acc4042a20dc5 (diff)
downloadmonzero-core-82dbeedd1bb92a6db31b2e887fee59b4382dc582.tar.gz
monzero-core-82dbeedd1bb92a6db31b2e887fee59b4382dc582.tar.xz
monzero-core-82dbeedd1bb92a6db31b2e887fee59b4382dc582.zip
Add gray peer list housekeeping system
A random peer from the gray peer list is selected and a connection is made to check if the peer is alive. If the connection and handshake are successful the peer is promoted to the white peer list, in case of failure the peer is evicted from the gray peer list. The connection is closed after the check in either case.
Diffstat (limited to 'src/common/stack_trace.cpp')
0 files changed, 0 insertions, 0 deletions