dashpay / grovedb

Storage solution with proofs and secondary indices.
MIT License
30 stars 17 forks source link

feat: GroveDB visualizer #299

Closed fominok closed 3 months ago

fominok commented 4 months ago

Issue being fixed or feature implemented

Adds grovedbg feature for GroveDB and according Arc<GroveDb>::start_visualizer method to launch a web application to have a view of GroveDB instance state.

What was done?

Under the aforementioned feature gate the GroveDB and Merk's functionality was expanded to query Merk nodes with additional info needed to represent them visually and to have other hints required for gradual data fetching.

Also, a background HTTP server could be run to serve grovedbg application developed separately with no runtime dependencies.

The build process was adjusted to make this all possible.

How Has This Been Tested?

Tested locally with GroveDB as a dependency.

Breaking Changes

Checklist:

For repository code-owners and collaborators only