v1.7.1

Version: 1.7.1

ZNode CLI v1.7.1 introduces significant improvements to license verification and task scheduling, designed to enhance efficiency and reduce resource usage. Key updates include:

1. License Checking Optimization

  • Issues

In previous versions, license verification was conducted directly on-chain. While verifying licenses on-chain ensures transparency and immutability, it also comes with several challenges:

  1. High Computational Costs: On-chain operations can be resource-intensive, leading to increased operational expenses.

  2. Latency Issues: Verifying licenses directly on-chain may result in slower response times due to network congestion or blockchain confirmation delays.

  3. Scalability Limitations: As the system scales, the frequency and volume of on-chain checks can create bottlenecks, impacting performance.

  • Resolution:

License statuses are now validated using data stored in the database (DB) instead of relying on on-chain verification.

  • Benefits:

  1. Decreased computational costs and improved efficiency.

  2. Faster operations by leveraging pre-stored and up-to-date database records.

2. Cronjob Interval Update

The frequency of the cronjob responsible for checking license statuses has been adjusted:

  • Previous interval: Every 30 minutes.

  • New interval: Every 1 hour.

Notes: Alongside the improvements in this update, there are also some slight limitations, such as delayed updates to license statuses.

For example, if you delegate your license at 12:25 PM, the cronjob will check and update it in the database at 1:00 PM. As a result, the system won’t immediately display your delegated license status.

Last updated