The tor-spec.txt you linked to is a more-or-less up-to-date description of how Tor works. There may be minor divergences between that document and the running code (which makes the codebase the definitive specification), but for almost any purposes you'll be wanting it for, it is sufficient. In particular, it describes the use of Ed25519 and Curve25519 in ...
You can find Tor's source code on Github. Most of the cool stuff is in the src folder. Some parts of the code are accompanied by comments that tell you what it does.
This is a sample code snippet from src/feature/relay/dns.h
/** How long do we cache/tell clients to cache DNS records when no TTL is
* known? */
#define DEFAULT_DNS_TTL (30*60)
Normally, TBB is a sandbox that tries to avoid any data left on the system it was running on. So, you should not have this experience.
See these two posts that describe where you could search for the bookmarks:
Tor Bookmarks file location and Where does Firefox store bookmarks? (because TBB is based on Firefox)
However, from the aspect of anonymity, I ...
Tor is a proxy overlay network and is not capable itself of downloading any files on behalf of the user besides the network files associated with the service itself running along with the distributed hash table information that is synced periodically for consensus on the network to allow the onion routing to actually take place.
That being said, other ...
I recommend deleting the application, and re-installing.
Download the version of Tor compatible with your machine from Tor Project.
You can check whether your system is 64-bit or 32-bit by opening a terminal and typing getconf LONG_BIT. The number returned determines which version of Tor you will download.
copy %userprofile%\desktop\Old Firefox Data\profile.default to %yourTORpath%\Browser\TorBrowser\Data\Browser and rename to profile.default-1234567891011. Actually suffix is random,
I guess, but I copied it from another profile in this directory. Then edit profile.ini in the same directory and put it as following: