mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-18 22:54:23 +01:00
Merge pull request #142 from talaia-labs/pypi_common
Adds common module to PyPi
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,6 +1,6 @@
|
|||||||
.vscode/
|
.vscode/
|
||||||
.idea/
|
.idea/
|
||||||
.venv/
|
.venv*
|
||||||
*.log
|
*.log
|
||||||
.DS_Store
|
.DS_Store
|
||||||
bitcoin.conf*
|
bitcoin.conf*
|
||||||
|
|||||||
4
common/README.md
Normal file
4
common/README.md
Normal file
@@ -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.
|
||||||
4
common/requirements.txt
Normal file
4
common/requirements.txt
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
cryptography==2.8
|
||||||
|
coincurve
|
||||||
|
pyzbase32
|
||||||
|
plyvel
|
||||||
@@ -4,4 +4,5 @@ coincurve
|
|||||||
cryptography==2.8
|
cryptography==2.8
|
||||||
pyzbase32
|
pyzbase32
|
||||||
plyvel
|
plyvel
|
||||||
backoff
|
backoff
|
||||||
|
teos-common==0.0.5
|
||||||
@@ -41,8 +41,6 @@ class TowerMock:
|
|||||||
logging.getLogger("werkzeug").setLevel(logging.ERROR)
|
logging.getLogger("werkzeug").setLevel(logging.ERROR)
|
||||||
os.environ["WERKZEUG_RUN_MAIN"] = "true"
|
os.environ["WERKZEUG_RUN_MAIN"] = "true"
|
||||||
|
|
||||||
# Thread(target=app.run, kwargs={"host": tower_netaddr, "port": tower_port}, daemon=True).start()
|
|
||||||
|
|
||||||
def register(self):
|
def register(self):
|
||||||
user_id = request.get_json().get("public_key")
|
user_id = request.get_json().get("public_key")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user