Convert a banmap_t object to a JSON array.
Synopsis
Declared in <net_types.h>
UniValue
BanMapToJson(banmap_t const& bans);
Return Value
a JSON array, similar to the one returned by the listbanned RPC. Suitable for passing to BanMapFromJson().
Parameters
Name |
Description |
bans [in] |
Bans list to convert. |
Created with MrDocs