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