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

Method ErrorHash

src/rpc_api.cpp:49–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 seria_kv("top_block_height", top_block_height, s);
48}
49api::ErrorHash::ErrorHash(int c, const std::string &msg, const Hash &hash)
50 : json_rpc::Error(c, msg + " request_hash=" + common::pod_to_hex(hash)), hash(hash) {}
51void api::ErrorHash::seria_data_members(seria::ISeria &s) { seria_kv("hash", hash, s); }
52
53api::cnd::CheckSendproof::Error::Error(int c, const std::string &msg, const Hash &transaction_hash)

Callers

nothing calls this directly

Calls 1

pod_to_hexFunction · 0.85

Tested by

no test coverage detected