Skip to content

Commit

Permalink
fix(minotari node): add get_sync_progress to allow list if mining is …
Browse files Browse the repository at this point in the history
…enabled (#6498)

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
  • Loading branch information
MCozhusheck authored Aug 26, 2024
1 parent e734269 commit e9c420d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ impl BaseNodeGrpcServer {
GrpcMethod::SubmitBlockBlob,
GrpcMethod::GetTipInfo,
GrpcMethod::Identify,
GrpcMethod::GetSyncProgress,
];

let second_layer_methods = [
Expand Down

0 comments on commit e9c420d

Please sign in to comment.