tari
tari copied to clipboard
fix(minotari node):add GetSyncProgress to allow list if mining is enabled
Description
Allows to call GetSyncProgress if node is in mining node.
Motivation and Context
Tari Universe V1 needs to know what's the progress of node sync to display it to the user. Right now it's not possible as nodes refuses to response GetSyncProgress
call and manually adding this through CLI throws exit code 101 (invalid config).
How Has This Been Tested?
Run command cargo test
What process can a PR reviewer use to test or verify this change?
Same as above
Breaking Changes
- [x] None
- [ ] Requires data directory on base node to be deleted
- [ ] Requires hard fork
- [ ] Other - Please specify