MCPcopy Create free account
hub / github.com/LUX-Core/lux / debugOptions

Function debugOptions

src/cpp-ethereum/libweb3jsonrpc/Debug.cpp:18–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16{}
17
18StandardTrace::DebugOptions debugOptions(Json::Value const& _json)
19{
20 StandardTrace::DebugOptions op;
21 if (!_json.isObject() || _json.empty())
22 return op;
23 if (!_json["disableStorage"].empty())
24 op.disableStorage = _json["disableStorage"].asBool();
25 if (!_json["disableMemory"].empty())
26 op.disableMemory = _json["disableMemory"].asBool();
27 if (!_json["disableStack"].empty())
28 op.disableStack =_json["disableStack"].asBool();
29 if (!_json["fullStorage"].empty())
30 op.fullStorage = _json["fullStorage"].asBool();
31 return op;
32}
33
34h256 Debug::blockHash(string const& _blockNumberOrHash) const
35{

Callers 1

traceTransactionMethod · 0.85

Calls 2

isObjectMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected