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

Method HasMainKey

src/entities/keystore.h:136–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134 virtual bool GetKeyCombi(const CKeyID &address, CKeyCombi &keyCombiOut) const;
135
136 bool HasMainKey() {
137 for (auto &item : mapKeys) {
138 if (item.second.HasMainKey()) return true;
139 }
140
141 return false;
142 }
143
144 virtual bool AddCScript(const CMulsigScript &script);
145 virtual bool HaveCScript(const CKeyID &keyId) const;

Callers 1

GetKeysMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected