Provides a means for the service to find list of associated IPs, ports, and node IDs from a given drop ID. Users are able to add their own tuples so that others know which drops they have available
- GET
['GET', Drop ID(64 bytes)]
- POST
['POST', Drop ID(64 bytes), [Node ID, IP, Port]]
Provides a means for the service to access public keys from node ids when verifying the metadata file of a drop. Users are able to add their own public key so that others can verify their drops.
- GET
['GET', Node ID(32 bytes)]
- POST
['POST', Node ID(32 bytes)(Hash of PubKey), RSA Public Key]
- clone and open this repo
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt
python syncr_tracker/tracker ${IP} ${port}
- clone and open this repo
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt
pre-commit install --install-hooks
- Write code
tox -e py36,coverage
flake8 tests syncr_tracker
andpycodestyle tests syncr_tracker