Add WalletDb Initialization to StorageNode::new() in src/storage.rs #103
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.
PR Description: Add WalletDb Initialization in StorageNode
Summary of Changes
This pull request introduces WalletDb initialization to the
StorageNode::new()function insrc/storage.rs. The implementation mirrors the existing WalletDb setup present insrc/miner.rs, ensuring consistent management of wallet-related functionalities within the storage node.Motivation
The enhancement aims to provide a comprehensive WalletDb setup for the StorageNode, thereby enabling effective handling of wallet operations. This is crucial for maintaining consistency across different components of the application and improving overall functionality.
Relevant Context
The WalletDb is essential for managing wallet data, and its initialization in the StorageNode allows for seamless integration of wallet capabilities into the existing storage system. This change directly addresses the user's request, ensuring that wallet functionalities are supported within the storage framework without altering other parts of the codebase.
Testing Instructions
To test the changes, please follow these steps:
Known Issues or Limitations
src/storage.rsas per the user's request, with no deletions or modifications to other files.Thank you for reviewing this pull request!