MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / EncodeDestination

Function EncodeDestination

src/key_io.cpp:295–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293}
294
295std::string EncodeDestination(const CTxDestination& dest)
296{
297 return std::visit(DestinationEncoder(Params()), dest);
298}
299
300CTxDestination DecodeDestination(const std::string& str, std::string& error_msg, std::vector<int>* error_locations)
301{

Callers 15

ScriptToUnivFunction · 0.85
ExportWatchOnlyWalletFunction · 0.85
LoadCScriptMethod · 0.85
SetAddressBookWithDBMethod · 0.85
DelAddressBookWithDBMethod · 0.85
ApplyMigrationDataMethod · 0.85
DisplayAddressMethod · 0.85
EraseAddressDataMethod · 0.85
getnewaddressFunction · 0.85

Calls 2

DestinationEncoderClass · 0.85
ParamsClass · 0.70

Tested by 6

getnewaddressFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
ConsumeScalarRPCArgumentFunction · 0.68
SendCoinsFunction · 0.68