summaryrefslogtreecommitdiff
path: root/src/transport/transport-testing.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-11-16 14:06:33 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-11-16 14:06:33 +0000
commitceb61a7028230e7d1faba3f01f1d9b0e1f9ab8e4 (patch)
tree09f5c7a16a59c1ffad083c6600d19f7ec1c86161 /src/transport/transport-testing.h
parent961745754238752335b14293ef819d0b45ae8867 (diff)
transport-testing uses precomputed hostkeys to improve speed especially on slow systems
Diffstat (limited to 'src/transport/transport-testing.h')
-rw-r--r--src/transport/transport-testing.h6
1 files changed, 6 insertions, 0 deletions
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;
};