Push warning messages to an RPC "warnings" field as a JSON array of strings.

Synopsis

Declared in <rpc/util.h>

void
PushWarnings(
    UniValue const& warnings,
    UniValue& obj);

Parameters

Name

Description

warnings [in]

Warning messages to push.

obj [out]

UniValue object to push the warnings array object to.

Created with MrDocs