MCPcopy Create free account
hub / github.com/bcndev/bytecoin / ErrorAddress

Method ErrorAddress

src/rpc_api.cpp:14–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12using namespace cn;
13
14api::ErrorAddress::ErrorAddress(int c, const std::string &msg, const std::string &address)
15 : json_rpc::Error(c, msg + " address=" + address), address(address) {}
16api::ErrorWrongHeight::ErrorWrongHeight(const std::string &msg, int64_t request_height, Height top_block_height)
17 : json_rpc::Error(INVALID_HEIGHT_OR_DEPTH,
18 msg + "=" + common::to_string(request_height) + " while top block height is " +

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected