Add recently accepted blocks and txn to AttemptToEvictConnection.
commit5d0ca81f7422b7eac0a5129c6fbccad77e36b85d
authorGregory Maxwell <greg@xiph.org>
Sun, 22 May 2016 05:55:15 +0000 (22 05:55 +0000)
committerGregory Maxwell <greg@xiph.org>
Wed, 15 Jun 2016 20:19:07 +0000 (15 20:19 +0000)
treee8ed6f0511a9b837e047b5343f7fabf7ca2f3592
parent32b7294177e50cba8aa26ae0689d4b24f3c10df3
Add recently accepted blocks and txn to AttemptToEvictConnection.

This protects any not-already-protected peers who were the most
 recent four to relay transactions and most recent four to send
 blocks to us.
src/main.cpp
src/main.h
src/net.cpp
src/net.h