Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does the toxcore work,is there a brief and complete description about how does it work in detail? #1637

Open
selay01 opened this issue Mar 28, 2017 · 6 comments

Comments

@selay01
Copy link

selay01 commented Mar 28, 2017

After reading the doc "DHT protocol", "Tox-Docs/Text",and even "bep_0005", I know a lot about the toxcore's run mode, but it's still very hard to get a comprehensive description in my mind.
I think, a comprehensive description in brief and friendly to an ordinary/advanced users is necessary.

Here is what confused me:

  1. in "DHT protocol",it mentioned ""friends" list", it stors 8 clients' "information"(i.e. ip addresses + port + node_id + timestamp of the friend) closest to each "friend",does it store the friends' "information"(same as above) .

  2. in "Tox-Docs/Text",it mentioned "onion model",but i don't know if has it been implemented by the toxcore(and is Tox-Docs reliable,i.e. things mentioned in it is just in working and absolutely not done?!).
    in "bep_0005", it has the concept "node" and "peer". so:

    2.1 dose toxcore creat a new id(?or called peer_id or chat_id? infact,a key-pair's pub key) when an user startup a client program and just for this conversation?
    if it does,how does it work between node_id and the new id?
    if it created,but not just for this conversation,does toxcore's route table (inluding the "clent list" and/or ""friends" list" said in "DHT protocol") is base on the newly created id(?or called peer_id?) or not?

    2.2 dose toxcore chat with a friend on a "onion model" by defalt(i.e. not directly to his friend but through a random first jump and jump sevral times to his friend)
    if it does,how does it work?
    if it doesn't,how does it work?

  3. it seems that the "Toxcore todo list." doesn't sync.

where could i get a brief and complete description about how does it work in detail?

Could the "README.md" include a "DidLst!" that well sync? and a "A brief and complete description about how does it work in detail!"

@GrayHatter
Copy link
Collaborator

did you read this yet?

https://zetok.github.io/tox-spec/

@selay01
Copy link
Author

selay01 commented Mar 29, 2017

@GrayHatter
After knowing "toktok.ltd",things become distinct,it has a similar doc "Tox specification".
Thanks!

@GrayHatter
Copy link
Collaborator

The like you used is missing A TON of information about the spec. And shouldn't be used.

@selay01
Copy link
Author

selay01 commented Mar 30, 2017

yeah,you are right.

@selay01 selay01 closed this as completed Mar 30, 2017
@selay01 selay01 reopened this Mar 31, 2017
@selay01
Copy link
Author

selay01 commented Mar 31, 2017

To "Understand and discuss "Tox specification" and rebuild it better!!",see also:
TokTok#531

@blprasad
Copy link

Please help in Understanding toxcore
Hi all I am trying to run a simple toxcore example test.I am trying with av_test.c from c-toxcore-master/testing/av_test.c ,prior to this I tried to understand the basics of toxcore , I found a pdf explaining simple test program echo_bot.c very well documented.https://wiki.tox.chat/developers/client_examples/echo_bot

I compared echo_bot.c with av_test.c for basic call flow echo_bot document explains that a tox_bootstrap() call is a must to connect to network.But I don't see any such call in av_test.c ,why?!!
I tried to ask the question here because ,I don't know where to ask ,I tried stack overflow forum,but my question is blocked by admin,because it's too long!!
Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants