p2p: always recreate a new peer id on startup

This prevents easy fingerprinting when you change IPs, and
will be a must when kovri gets used.
This commit is contained in:
moneromooo-monero
2017-01-22 11:37:55 +00:00
parent 71ac698b78
commit 4cdf0a35c9
3 changed files with 19 additions and 2 deletions

View File

@@ -194,3 +194,5 @@ private:
bool m_restricted;
};
}
BOOST_CLASS_VERSION(nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<cryptonote::core> >, 1);