MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / DescribeWalletAddress

Function DescribeWalletAddress

src/wallet/rpcwallet.cpp:4137–4144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4135};
4136
4137static UniValue DescribeWalletAddress(CWallet* pwallet, const CTxDestination& dest)
4138{
4139 UniValue ret(UniValue::VOBJ);
4140 UniValue detail = DescribeAddress(dest);
4141 ret.pushKVs(detail);
4142 ret.pushKVs(boost::apply_visitor(DescribeWalletAddressVisitor(pwallet), dest));
4143 return ret;
4144}
4145
4146/** Convert CAddressBookData to JSON record. */
4147static UniValue AddressBookDataToJSON(const CAddressBookData& data, const bool verbose)

Callers 1

getaddressinfoFunction · 0.85

Calls 3

DescribeAddressFunction · 0.85
pushKVsMethod · 0.80

Tested by

no test coverage detected