<html><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type" /></head><body bgcolor="#FFFFFF" text="#000000">vikstrous here, just wanted to say that my implementation has only the basics of the dht and the api is not very clean right now. I tried to follow the c api closely because there was no protocol documentation at the time. I suggest rewriting it in a more idiomatic Go way with channels. Hopefully my code will give you a starting point for serialisation and structs.<br><br><div class="gmail_quote">On February 3, 2016 4:12:05 PM PST, Impyy <impyy@tox.chat> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello Andon,<br />
<br />
Thanks for showing your interest in Tox!<br />
Tox has full documentation of toxcore and the Tox protocol itself.
It's not properly formatted so it might be a little hard to read,
but all of the information should be there:
<a class="moz-txt-link-freetext" href="https://github.com/Tox-Docs/Text">https://github.com/Tox-Docs/Text</a>. Vikstrous already has some small
parts of the Tox protocol implemented in Go, perhaps that's a good
resource to look at too: <a class="moz-txt-link-freetext" href="https://github.com/vikstrous/gotox">https://github.com/vikstrous/gotox</a>. <br />
<br />
I would suggest looking at how the crypto and the DHT work first,
implement that, and slowly work your way up. <br />
If you want to set up your own Tox node for testing you can follow
this guide:
<a class="moz-txt-link-freetext" href="https://github.com/irungentoo/toxcore/tree/master/other/bootstrap_daemon">https://github.com/irungentoo/toxcore/tree/master/other/bootstrap_daemon</a>.<br />
<br />
Having multiple implementations of a protocol like Tox is always
good and I'm looking forward to see your work. Be sure to join
#tox-dev on freenode if you have any questions or if you'd like to
discuss your design.<br />
<br />
Impyy<br />
<br />
<div class="moz-cite-prefix">On 02/03/2016 08:00 PM, Doni Micov
wrote:<br />
</div>
<blockquote cite="mid:CANft6c7CfaSmg7FCMYME_Hq-=U0Zg+zYdCx7ExRPNZ6M26=-dg@mail.gmail.com" type="cite">Hello, <br />
<div>I'm a student from Bulgaria and I'm currently studying
Computer science. I enrolled in course teaching the Go
programming language. In order to pass I have to complete a
project written in Go and have chosen to write an implementation
of the tox core lib. I was wondering if you could give me some
pointers for testing the DHT implementation like a test node I
can send data to and receive data to. Any other pointers would
be of great help. </div>
<div><br />
</div>
<div>Andon Mitsov<span></span></div>
<br />
<fieldset class="mimeAttachmentHeader"></fieldset>
<br />
<pre wrap="">_______________________________________________
Dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dev@lists.tox.chat">Dev@lists.tox.chat</a>
<a class="moz-txt-link-freetext" href="https://lists.tox.chat/listinfo/dev">https://lists.tox.chat/listinfo/dev</a>
</pre>
</blockquote>
<br />
<p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre class="k9mail"><hr /><br />Dev mailing list<br />Dev@lists.tox.chat<br />https://lists.tox.chat/listinfo/dev<br /></pre></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>