ARK Core v2.5 — Deprecation of API v1 & Making a Leaner Codebase
A little less than a month after our Core v2.4 release we are happy to announce the successful upgrade to Core v2.5 on our ARK Public Network. The new Core is now even leaner with the removal of the legacy API v1 code base. This upgrade paves the way for ARK Core v2.6 which will be the biggest single upgrade of our Core to date.
The new ARK Core is now even cleaner and easier to maintain due to the deprecation of legacy API v1 code. With this release we are beginning a series of improvements to the current codebase in preparation for the major updates with Core v2.6 and Core v3. Numerous performance tweaks have also been made to the newly used Websockets P2P layer using SocketCluster library.
We have also added the following new features and improvements:
- Easy retrieval of first and last block as often user wants the last forged block or the genesis block to check something. We have added two new endpoints to the block resource that retrieves those from in-memory instead of hitting the database, which also helps with performance.
- Possibility to retrieve raw blocks and transactions data in the same format as @arkecosystem/crypto uses them via ?transform=false. This is enabled on all endpoints that serve blocks or transactions.
- New configurable option that lets you choose whether to use estimates for the total number of rows if it is true (fast) or use the precise COUNT(*) if the option is false (slow) for Core API. It is up to the node operator to configure their node for accuracy vs speed.
- Search of transactions by asset as the /transactions/search endpoint now accepts an asset object.
- Improved rate limiting by introducing a new RateLimiterclass ...
To keep reading, please go to the original article at:
ARK.io | Blog - Medium