aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-07-17 11:15:55 +0200
committerChristian Grothoff <christian@grothoff.org>2019-07-17 11:15:55 +0200
commit0c6cb5a5e88c67440382a7a5531601c03f1e6e18 (patch)
treefaeb7de0b53def1bbd8aa1a33baa1a9486e5fc70 /src/transport/gnunet-service-transport.c
parent91597f0200556ed2e3c1fcdd771f84406b834ab6 (diff)
downloadgnunet-0c6cb5a5e88c67440382a7a5531601c03f1e6e18.tar.gz
gnunet-0c6cb5a5e88c67440382a7a5531601c03f1e6e18.zip
DSTJ-disable hack
Diffstat (limited to 'src/transport/gnunet-service-transport.c')
-rw-r--r--src/transport/gnunet-service-transport.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c
index 45183afd9..1e8f81483 100644
--- a/src/transport/gnunet-service-transport.c
+++ b/src/transport/gnunet-service-transport.c
@@ -423,7 +423,6 @@ static struct GNUNET_ATS_SessionKiller *sk_tail;
423 */ 423 */
424struct GNUNET_NT_InterfaceScanner *GST_is; 424struct GNUNET_NT_InterfaceScanner *GST_is;
425 425
426
427/** 426/**
428 * Queue the given message for transmission to the given client 427 * Queue the given message for transmission to the given client
429 * 428 *
@@ -2695,6 +2694,18 @@ run (void *cls,
2695 if (GNUNET_SYSERR == friend_only) 2694 if (GNUNET_SYSERR == friend_only)
2696 friend_only = GNUNET_NO; /* According to topology defaults */ 2695 friend_only = GNUNET_NO; /* According to topology defaults */
2697 /* start subsystems */ 2696 /* start subsystems */
2697 /* Disable DSTJ peer */
2698 {
2699 struct GNUNET_PeerIdentity dstj;
2700 const char *ds = "DSTJBRRKZ8TBW3FGK6B0M5QXWT9WYNZ45H5MCV4HY7ST64Q8T9F0";
2701
2702 GNUNET_assert (
2703 GNUNET_OK ==
2704 GNUNET_CRYPTO_eddsa_public_key_from_string (ds,
2705 strlen (ds),
2706 &dstj.public_key));
2707 GST_blacklist_add_peer (&dstj, NULL);
2708 }
2698 read_blacklist_configuration (GST_cfg, &GST_my_identity); 2709 read_blacklist_configuration (GST_cfg, &GST_my_identity);
2699 GST_is = GNUNET_NT_scanner_init (); 2710 GST_is = GNUNET_NT_scanner_init ();
2700 GST_ats_connect = GNUNET_ATS_connectivity_init (GST_cfg); 2711 GST_ats_connect = GNUNET_ATS_connectivity_init (GST_cfg);