Push warning messages to an RPC "warnings" field as a JSON array of strings.
Synopsis
Declared in <rpc/util.h>
void
PushWarnings(
std::vector<bilingual_str> const& warnings,
UniValue& obj);
Parameters
Name |
Description |
warnings |
Warning messages to push. |
obj |
UniValue object to push the warnings array to. |
Created with MrDocs