From ceb61a7028230e7d1faba3f01f1d9b0e1f9ab8e4 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 16 Nov 2011 14:06:33 +0000 Subject: transport-testing uses precomputed hostkeys to improve speed especially on slow systems --- src/transport/transport-testing.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/transport/transport-testing.h') diff --git a/src/transport/transport-testing.h b/src/transport/transport-testing.h index 8e5d55dcd..cec7eb724 100644 --- a/src/transport/transport-testing.h +++ b/src/transport/transport-testing.h @@ -94,6 +94,8 @@ struct PeerContext char *servicehome; + char *hostkeyfile; + unsigned int no; }; @@ -118,6 +120,10 @@ struct GNUNET_TRANSPORT_TESTING_handle struct ConnectingContext *cc_head; struct ConnectingContext *cc_tail; + char *hostkey_data; + int hostkeys_total; + int hostkeys_last; + struct PeerContext *p_head; struct PeerContext *p_tail; }; -- cgit v1.2.3