feat: Implemented recover shards method #49
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User description
Description
Implemented recoverShards method in kavach class
New Features
recover_shards: method to recover shards from different nodes.
Test Coverage
Includes test cases for the method.
PR Type
Enhancement
Description
Implemented Kavach class with shard management methods
Added authentication message retrieval functionality
Created comprehensive type definitions and utilities
Included extensive test coverage for all methods
Diagram Walkthrough
File Walkthrough
6 files
Added Kavach class with shard methods
Implemented authentication message retrieval
Implemented shard recovery with random selection
Implemented shard saving across nodes
Added comprehensive type definitions
Added utility functions and API handler
1 files
Added development environment configuration
1 files
Minor formatting cleanup
3 files
Added authentication message tests
Added comprehensive shard recovery tests
Added shard saving validation tests
1 files