MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / CleanAll

Method CleanAll

src/entities/keystore.cpp:58–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58bool CKeyCombi::CleanAll() {
59 mMainCkey.Clear();
60 mMainPKey = CPubKey();
61
62 mMinerCkey.Clear();
63 mMinerPKey = CPubKey();
64
65 nCreationTime = 0;
66 return true;
67}
68
69bool CKeyCombi::PurgeMainKey() { return mMainCkey.Clear(); }
70

Callers

nothing calls this directly

Calls 2

CPubKeyClass · 0.85
ClearMethod · 0.45

Tested by

no test coverage detected