Files
nym/documentation
mfahampshire e454d71b78 Max/client pool (#5188)
* tcp conn tracker

* make default decay const

* first pass connpool

* err handling conpool start

* added notes for next features

* first version working

* first pass spin out client_pool

* cancel token

* logging change

* bump default decay time

* bugfix: make sure to apply gateway score filtering when choosing initial node

* add duplicate packets received to troubleshooting

* client_pool.rs mod

* client pool example

* clippy

* client pool example done

* added disconnect to client pool

* update mod file

* add cancel token disconnect fn

* comments

* comments

* add clone

* added disconnect thread

* update example files tcpproxy

* client pool docs

* remove comments for future ffi push + lower default pool size from 4 to 2

* comment on ffi

* update command help

* clone impl

* remove clone

* fix clippy

* fix clippy again

* fix test

* tweaked text grammar

* updated comment in example

* future is now

* cherry

* cherry

* fix borked rebase

* fix fmt

* wasm fix

---------

Co-authored-by: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com>
2025-01-14 16:11:47 +00:00
..
2025-01-14 16:11:47 +00:00
2024-12-11 16:30:17 +00:00
2024-12-11 16:30:17 +00:00
2024-11-04 11:42:56 +00:00

Nym Docs v2

This is v2 of the nym docs, condensed from various mdbooks projects that we had previously.

These docs are hosted at nymtech.net/docs.

Doc projects

docs/pages/ contains several subdirs, each hosting a subsection of the docs:

  • network contains key concepts, cryptosystems, architecture.
  • developers contains key concepts for developers, required architecture, and Rust/Typescript SDK docs.
  • operators contains node setup and maintenance guides.

Local development

Dependencies

Our prebuild script relies on the following:

Otherwise make sure to have node installed.

Serve Local (Hot Reload)

pnpm i
pnpm run dev

Open http://localhost:3000.

Build

pnpm run build

The static output will be in ./out;

Contribution

  • If you wish to add to the documentation please create a PR against this repo, with a patch against develop.

Scripts

  • There are several autogenerated command files for clients and binaries. These are generated with generate:commands, which runs the autodoc rust binary, moves the files to their required places, and then if there is an update, commits them to git. This is for remote deployments.
  • Python scripts TODO

Autodoc

autodoc is a script that generates markdown files containing commands and their output (both command and --help output). For the moment the binaries and their commands are manually configured in the script.

CI/CD

TODO

This is a monorepo and components that make up Nym as a system are licensed individually, so for accurate information, please check individual files.

As a general approach, licensing is as follows this pattern: