-https://doc.libsodium.org/
To Do:
+-signal handler
+ -handle SIGINT, shutdown gracefully
+ -shutdown add
+ -shutdown networking
+ -shutdown watches
+ -shutdown logging thread
+ -decide on EXIT CODE
+ -graceful shutdown
+ -watch threads
+ -logging thread
+ -during adding
+ -mid-request in server
+ -implement net_stop
-tests
-torrent
-piece_layers conformance test
-torrent file conformance test
-must include extended and non-extended files
-integration tests
- -include main.c and overwite main with macros
- -all tests must only pass args to main()
-tests
- -test_utils
- -setup_env
- -reset_env
- -sleep
- -shutdown
+ *test_utils
-basic
-defaults, no custom directories (no files, no torrents)
- -must start and finish successfully
- -sleep and send signal to shutdown?
-add all files to torrent
-setup qbittorrent integration testing
-best way to connect?
-add const qualifiers where appropriate
-peer_bitfield_received
-start loading up pieces up receive
--signal handler
- -graceful shutdown
- -watch threads
- -logging thread
- -during adding
- -mid-request in server
- -implement net_stop
--daemonize
-benchmarking
-network requests
-adds
-merkle roots
-loads into priority queue
+-daemonize
Later:
-utp