Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Rust-for-Blockchain-Application-Development
/ Wallets
Class
Wallets
chapter 5/wallets.rs:92–94 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
90
pub const WALLET_FILE: &str =
"wallet.dat"
;
91
92
pub struct Wallets {
93
wallets: HashMap<String, Wallet>,
94
}
95
96
impl Wallets {
97
pub fn new() -> Wallets {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected