From 0c5ad56a8423b0fa3c774aa15f2b7afbffd6e633 Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Wed, 6 May 2020 19:54:45 +0200 Subject: [PATCH 1/5] Adds common to pypi under teos-common --- common/README.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 common/README.md 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 From 304af4f8b94d06995f42e6367252f4b3e04b25a4 Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Wed, 6 May 2020 22:47:02 +0200 Subject: [PATCH 2/5] Updates gitignore --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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* From 07e00c2e5e361d9b9219a8256d1ac7e60ca668f0 Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Wed, 6 May 2020 22:49:15 +0200 Subject: [PATCH 3/5] common - Adds requirements for common (added to PyPi) --- common/requirements.txt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 common/requirements.txt 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 From 63cd55c1c629757039aa800ba61536049ce6c975 Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Thu, 7 May 2020 11:41:41 +0200 Subject: [PATCH 4/5] plugin - removes unused commented line --- watchtower-plugin/test_watchtower.py | 2 -- 1 file changed, 2 deletions(-) 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") From a2c010b68517dc78097e956872c70d1c0a09b4c7 Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Thu, 7 May 2020 11:43:57 +0200 Subject: [PATCH 5/5] Adds teos-common requirements to the plugin --- watchtower-plugin/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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