We are pleased to present Peatio Open Source 2.2.0.
This release concentrated on Plugable Coins API development new features and enhancements:
1. New admin roles integration. 2. Admin panel RBAC. 3. Daemons stability and performance improvements. 3. Foundation for third party trading engine integration.
This release notes is must-read for migrating from older versions.
#2168: Plugable Coins API
This PR is gives ability gives ability to extend Peatio with new coins implementation.
Such a big architecture improvements usually brings breaking changes.
Core Peatio supports Ethereum, Bitcoin and Litecoin(as a plugin) blockchains. It means that you need to build custom image if you want to integrate other coins. For guide of how to build custom docker image check documentation. For coin integration guide check doc/integration.md of appropriate coin e.g(litecoin). You will find the list of approved coin plugins here.
#2242: Reorganization ruby and amqp workers.
Raw ruby daemons starting script was unified in the same way as we do for AMQP daemons.
So now to start ruby daemon you need to run the next command:
bundle exec ruby lib/daemons/daemons.rb daemon_name
#2241: Major Market model rework.
This patch makes bunch of changes in Market model and related APIs, controllers and configuration.
Here is the full list of braking changes for more info check PR:
stateand list new states (without logic implementation)
#2267: Move slave book from amqp to ruby daemons.
This PR changes slave book daemon type from AMQP daemon to raw ruby one.
Now to start slave book you need to run
bundle exec ruby lib/daemons/daemons.rb slave_book.
#2257: Refactor blockchain daemon.
Now Blockchain daemon doesn't scaling and BLOCKCHAINS env variable.
Current version of Blockchain daemon starts separate thread per blockchain which works simultaneously and doesn't depend on each other. So it doesn't need scaling to multiple process and BLOCKCHAINS env variable.
#2258: Major trading engine and logic rework with precision, rounding and matching flow improvements.
Trading engine rework includes bunch of flow enhancements:
Now we support the next list of admin privileged roles:
For the list of permissions for each role check PR
Our plan is to support third party trading engine, so we can replace all peatio trading daemons without breaking compatibility. This PR adds functionality of publishing Order submit and cancel, Liability create events to RMQ.