MCPcopy Create free account
hub / github.com/LUX-Core/lux / Process

Method Process

src/wallet.cpp:94–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 CAffectedKeysVisitor(const CKeyStore &keystoreIn, std::vector<CKeyID> &vKeysIn) : keystore(keystoreIn), vKeys(vKeysIn) {}
93
94 void Process(const CScript &script) {
95 txnouttype type;
96 std::vector<CTxDestination> vDest;
97 int nRequired;
98 if (ExtractDestinations(script, type, vDest, nRequired)) {
99 for (const CTxDestination &dest : vDest)
100 boost::apply_visitor(*this, dest);
101 }
102 }
103
104 void operator()(const CKeyID &keyId) {
105 if (keystore.HaveKey(keyId))

Callers 2

GetKeyBirthTimesMethod · 0.80

Calls 1

ExtractDestinationsFunction · 0.85

Tested by

no test coverage detected