MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / Error

Method Error

src/main.h:155–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153 return DoS(0, ret, rejectCodeIn, rejectReasonIn);
154 }
155 bool Error(string rejectReasonIn = "") {
156 if (mode == MODE_VALID)
157 rejectReason = rejectReasonIn;
158 mode = MODE_ERROR;
159 return false;
160 }
161 bool Abort(const string &msg) {
162 AbortNode(msg);
163 return Error(msg);

Callers 3

FindUndoPosFunction · 0.80
WriteChainStateFunction · 0.80
FindBlockPosFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected