| 4135 | }; |
| 4136 | |
| 4137 | static 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. */ |
| 4147 | static UniValue AddressBookDataToJSON(const CAddressBookData& data, const bool verbose) |
no test coverage detected