0Chain Weekly Debrief — July 6, 2022

Chad Hanson
Zus Network

--

Happy July! I hope everyone is having a good week so far. This week, the team continues its work on improving core blockchain stability to ensure scalability of the network. Alongside this, the team continues its work on the tokenomics implementations for miners, sharders and blobbers. The team has dedicated major focus to API support to ensure full compatibility between the storage network and applications. As the network has become more stable with key issues being resolved, the team has focused on updating data feeds to front-end systems in anticipation of the launch of our various products and applications. Let’s take a look!

Development Team Updates

The blockchain team continued its work this week by closing 13 PRs and 7 issues on the 0Chain repo. Key PRs included the fix on a hidden issue which caused an error leading to sharders getting stuck. This issue would arise causing a “node not found” error resulting in the ultimate halting of sharder activities. The team spent several days debugging and locating the source of the issue. Alongside this fix, the team completed its work on the slow pruning process which would lead to the continual build up of unnecessary data which wasted sharder resources and could cause the sharders to crash. Another bug was fixed that would cause a mismatched MPT state. With these issues resolved, the network is more robust and stable for the scaling of transactions.

The team continues work on new and previously existing APIs to ensure that data feeds are accurately conveying the appropriate information to be accessible by front-end systems. This is critical for our upcoming applications including our personalized storage app, wallet, blobber dashboard, and explorer. With this in mind, the team added a to_client_id filter for transaction API endpoints. The team refactored the pagination code that has been pushed over the past several weeks. This was done in effort to make it a common package so that it can be used by all REST APIs. During this time, the team also added pagination for all miner smart contract endpoints. Support for sharder /healthcheck endpoint was added. Previously, this endpoint was used by clients to see if a sharder was available. The new endpoint offers basic sharder info such as uptime, build tag, and latest finalized block summary. A /validators endpoint was added which returns a list of validators with pagination.

The team also completed a few other PRs, including adding a user table for the event database, upgrading the Go version to 1.18 to enable use of new features (such as Go generics and mutex.TryLock), implementing a free storage recipient check, fixing an unnecessary transaction rollback warning message, and removing the whopays feature.. The team is also nearing completion of 2 PRs which are pending review. This includes the block management enhancement PR. In last week’s update, Sculptex went into detail on how this PR is future proofing the scalability of our network to enable sharders to safely expand storage capacity as the network grows. Further, work was performed to offer support for updating NFT allocations which will undergo review before merging

The Blobber and GoSDK team have closed 4 PRs, with their main focus being in collaboration with the blockchain team in removing the whopays feature and updating the /healthcheck API on GoSDK. The team members have been mainly working on 0Chain repo fixes as well as providing support for front-end teams to finish the final UI implementations on our various applications.

Developer Resources

  • Interested in learning more about building on 0Chain or becoming a service provider? Check out our GitHub for access to repositories. Community ambassador Sculptex has created numerous tutorials to help get you started.
  • Try our BetaNet here! Users can create wallets and allocations, store files, send transactions, and share files.
  • Need help navigating creating wallets, allocations, or joining as a blobber? Check out our documentation page.
  • 0Chain’s API endpoints use simple and intuitive HTTP requests to interact with the blockchain in order to send/retrieve information to and from miners, sharders or blobbers in the active network.

About 0Chain

0Chain is a high-performance decentralized storage network designed to eliminate business threats such as censorship, privacy liability and data breaches. 0Chain helps entities achieve GDPR compliance, localization and tokenization, and monetizes private data sharing.

API| Docs | Telegram | Reddit | Twitter | Forum | GitHub

--

--