MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / operator()

Method operator()

src/key_io.cpp:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 DestinationEncoder(const CChainParams& params) : m_params(params) {}
28
29 std::string operator()(const CKeyID& id) const
30 {
31 std::vector<unsigned char> data = m_params.Base58Prefix(CChainParams::PUBKEY_ADDRESS);
32 data.insert(data.end(), id.begin(), id.end());
33 return EncodeBase58Check(data);
34 }
35
36 std::string operator()(const CScriptID& id) const
37 {

Callers

nothing calls this directly

Calls 7

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

Tested by

no test coverage detected