MCPcopy Create free account
hub / github.com/consensus-shipyard/ipc / put

Method put

ipc/wallet/src/evm/persistent.rs:67–71  ·  view source on GitHub ↗
(&mut self, info: KeyInfo)

Source from the content-addressed store, hash-verified

65 }
66
67 fn put(&mut self, info: KeyInfo) -> Result<Self::Key> {
68 let addr = self.memory.put(info)?;
69 self.flush_no_encryption()?;
70 Ok(addr)
71 }
72
73 fn remove(&mut self, addr: &Self::Key) -> Result<()> {
74 self.memory.remove(addr)?;

Callers 2

test_read_write_keystoreFunction · 0.45
test_defaultFunction · 0.45

Calls 1

flush_no_encryptionMethod · 0.80

Tested by 2

test_read_write_keystoreFunction · 0.36
test_defaultFunction · 0.36