summaryrefslogtreecommitdiff
path: root/NOTES
diff options
context:
space:
mode:
Diffstat (limited to 'NOTES')
-rw-r--r--NOTES7
1 files changed, 7 insertions, 0 deletions
diff --git a/NOTES b/NOTES
new file mode 100644
index 0000000..53032e8
--- /dev/null
+++ b/NOTES
@@ -0,0 +1,7 @@
+(use '(org.gnu.clojure.gnunet crypto hello hostlist inet iostream message parser peer tcp transport udp util))
+(def keypair (generate-rsa-keypair))
+(def my-peer (new-peer {:keypair keypair}))
+(.start (:selector-thread my-peer))
+(activate-udp! my-peer 5678)
+(configure-udp-addresses! my-peer (get-local-addresses) 5678)
+(download-hostlist! (partial admit-hello! my-peer) "http://192.168.8.2:58080")