dashpay / grovedb

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

feat: added version in state sync #293

Closed ogabrielides closed 4 months ago

ogabrielides commented 4 months ago

Issue being fixed or feature implemented

State sync wasn't versioned. This needs to be addressed as state sync protocol will probably be upgraded in the future.

What was done?

Added version field in all state sync APIs. Now, only CURRENT_STATE_SYNC_VERSION (=1) is supported. Any other version will be rejected.

How Has This Been Tested?

Breaking Changes

Checklist:

For repository code-owners and collaborators only