aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amatus.name>2014-12-03 20:24:05 -0600
committerDavid Barksdale <amatus@amatus.name>2014-12-03 20:24:05 -0600
commitcc7d90c84e3fc672af8f7e6151be039d34e74679 (patch)
tree223d4c6817d9eccaec177c07bb1c48886cefa14b /src
parent7cf452bc0005fe5a2655ee9b71831a3052fbcdf8 (diff)
Cleanup some unused stuff
Diffstat (limited to 'src')
-rw-r--r--src/cljs/gnunet_web/filesharing.cljs1
-rw-r--r--src/cljs/gnunet_web/transport.cljs15
2 files changed, 2 insertions, 14 deletions
diff --git a/src/cljs/gnunet_web/filesharing.cljs b/src/cljs/gnunet_web/filesharing.cljs
index b7e530a..ad3d8e5 100644
--- a/src/cljs/gnunet_web/filesharing.cljs
+++ b/src/cljs/gnunet_web/filesharing.cljs
@@ -17,6 +17,7 @@
(ns gnunet-web.filesharing
(:require [cljs.core.async :refer [chan close!]]
[gnunet-web.extractor :as e]
+ [gnunet-web.service :as service] ;; leave this here
[gnunet-web.util :refer [get-object i64-to-real read-memory
real-to-i64 register-object
unregister-object]])
diff --git a/src/cljs/gnunet_web/transport.cljs b/src/cljs/gnunet_web/transport.cljs
index eb0afbf..0103d75 100644
--- a/src/cljs/gnunet_web/transport.cljs
+++ b/src/cljs/gnunet_web/transport.cljs
@@ -16,25 +16,12 @@
(ns gnunet-web.transport
(:require [cljs.core.async :refer [chan close!]]
- [gnunet-web.encoder :refer [encode-uint32]]
[gnunet-web.hello :refer [encode-hello]]
- [gnunet-web.message :refer [encode-message parse-message-types]]
- [gnunet-web.service :refer [client-connect]]
+ [gnunet-web.service :as service] ;; leave this here
[gnunet-web.util :refer [get-object read-memory register-object
unregister-object]])
(:require-macros [cljs.core.async.macros :refer [go go-loop]]))
-(def message-type-start 360)
-
-(defn encode-start-message
- [{:keys [options peer] :or {options 0 peer (repeat 32 0)}}]
- (encode-message
- {:message-type message-type-start
- :message
- (concat
- (encode-uint32 options)
- peer)}))
-
(def state-strings
{0 "Not connected"
1 "Waiting for ATS"