Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

v0.1.1

Latest
Compare
Choose a tag to compare
@sr-gi sr-gi released this 30 Sep 12:18

Even though this is a minor release, it comes packed with a bunch of improvements. The main goal of this release has been to productionize the tower:

  • Flask webserver has been dropped in favour of gunicorn and waitress (the latter for Windows). While Flask was a development oriented server, the new ones are meant to handle high throughput.
  • The client and the CLI have been split. Before this release, all was packed together as teos_cli, but now they come separate as teos-cli and teos-client. teos-cli is a command line interface to interact with the tower (meant for the tower admin). teos-client is a development oriented client. It serves as a reference implementation of how to build a client to interact with the tower and is used internally for testing.
  • grpc has been added as the way to communicate the cli with the tower. Moreover, the client-server logic has been split in different daemon that run as different processes, in order to improve the performance.
  • Command line tools have been added. For now on there will be no need of doing python -m ... in order to interact with the tower or the CLI. After installing, teosd and teos-cli will be available in the command line.
  • Installation has been greatly simplified. With the current version, installation takes a single command (assuming dependencies are satisfied). Moreover, after this release teos will be available at PyPI, so you'll be able to get the code also using pip.
  • New commands have been added to the cli. Some new nice commands have been added to give you better insights of what's going on on the tower, like querying the users information or gracefully stopping the tower.
  • Logs have been improved to be more descriptive of what is going on. Also, a new logging process has been created to collect all logs from the different components.
  • An edge case on bootstrapping has been covered. Now if the tower is bootstrapping with a big backlog of blocks to be processed, new blocks that may come while updating are queue, so no data is lost.

Finally, several code and modularity improvements are also packed in this release!