make the peer fingerprint a regular setting and remove it from the main session constructor argument list

This commit is contained in:
Arvid Norberg
2014-12-31 15:51:45 +00:00
parent 1039d4ae86
commit 764b09d6b5
19 changed files with 91 additions and 66 deletions

View File

@@ -128,7 +128,7 @@ session_proxy test_proxy(settings_pack::proxy_type_t proxy_type, int flags)
sett.set_int(settings_pack::proxy_type, (settings_pack::proxy_type_t)proxy_type);
sett.set_int(settings_pack::proxy_port, 4444);
lt::session* s = new lt::session(sett, fingerprint("LT", 0, 1, 0, 0));
lt::session* s = new lt::session(sett);
error_code ec;
remove_all("tmp1_privacy", ec);