MCPcopy Create free account
hub / github.com/LUX-Core/lux / operator()

Method operator()

src/base58.cpp:233–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231 DestinationEncoder(const CChainParams& params) : m_params(params) {}
232
233 std::string operator()(const CKeyID& id) const
234 {
235 std::vector<unsigned char> data = m_params.Base58Prefix(CChainParams::PUBKEY_ADDRESS);
236 data.insert(data.end(), id.begin(), id.end());
237 return EncodeBase58Check(data);
238 }
239
240 std::string operator()(const CScriptID& id) const
241 {

Callers

nothing calls this directly

Calls 5

EncodeBase58CheckFunction · 0.85
EncodeFunction · 0.85
insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected