diff --git a/.gitignore b/.gitignore index 64b00b0..338f462 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ .vscode/ .idea/ -.venv/ +.venv* *.log .DS_Store bitcoin.conf* diff --git a/common/README.md b/common/README.md new file mode 100644 index 0000000..9ba2c75 --- /dev/null +++ b/common/README.md @@ -0,0 +1,4 @@ +# teos-common + +This is a common library for The Eye of Satoshi. It contains classes and methods that are shared by both the tower and +the clients. \ No newline at end of file diff --git a/common/requirements.txt b/common/requirements.txt new file mode 100644 index 0000000..69d672e --- /dev/null +++ b/common/requirements.txt @@ -0,0 +1,4 @@ +cryptography==2.8 +coincurve +pyzbase32 +plyvel diff --git a/watchtower-plugin/requirements.txt b/watchtower-plugin/requirements.txt index 84ba49d..6f9b5d7 100644 --- a/watchtower-plugin/requirements.txt +++ b/watchtower-plugin/requirements.txt @@ -4,4 +4,5 @@ coincurve cryptography==2.8 pyzbase32 plyvel -backoff \ No newline at end of file +backoff +teos-common==0.0.5 \ No newline at end of file diff --git a/watchtower-plugin/test_watchtower.py b/watchtower-plugin/test_watchtower.py index aa15664..05f6a69 100644 --- a/watchtower-plugin/test_watchtower.py +++ b/watchtower-plugin/test_watchtower.py @@ -41,8 +41,6 @@ class TowerMock: logging.getLogger("werkzeug").setLevel(logging.ERROR) os.environ["WERKZEUG_RUN_MAIN"] = "true" - # Thread(target=app.run, kwargs={"host": tower_netaddr, "port": tower_port}, daemon=True).start() - def register(self): user_id = request.get_json().get("public_key")