do { \
handle_payment_changes(
res, std::integral_constant<
bool, HasCredits<decltype(
res)>::Has>()); \
CHECK_AND_ASSERT_MES(
r,
std::string(
"Failed to connect to daemon"),
"Failed to connect to daemon"); \
\
CHECK_AND_ASSERT_MES(!
res.status.empty(),
res.status,
"No connection to daemon"); \
} while(0)
const char * res
Definition: hmac_keccak.cpp:42
#define CORE_RPC_STATUS_PAYMENT_REQUIRED
Definition: core_rpc_server_commands_defs.h:81
::std::string string
Definition: gtest-port.h:1097
#define CORE_RPC_STATUS_BUSY
Definition: core_rpc_server_commands_defs.h:79
#define CORE_RPC_STATUS_OK
Definition: core_rpc_server_commands_defs.h:78
r
Definition: testupnpigd.py:61
error
Tracks LMDB error codes.
Definition: error.h:44