On 31 May 2018, at 04:02, dave` dave <daved7082@gmail.com> wrote:

Thank you for your help!
i have maybe a better idea for my project, i saw that if i change the number of nodes(change it to one node only) i may get block from the tor in this link https://tor.stackexchange.com/questions/1755/how-to-implement-the-modified-source-code-of-tor
so it can be better if i create my own private tor network. i saw that i can use the "shadow" program  to do that and with that i can change the tor source code and force it to work with only one node without any concerns to get blocked.
someone know how to do that?

If you want to simulate the network, use shadow:
https://github.com/shadow/shadow/wiki/1-Installation-and-Setup

If you want to run the network in real time, use chutney:
https://gitweb.torproject.org/chutney.git/tree/README

Both tools have reasonable instructions.

T