MCPcopy Create free account
hub / github.com/ElementsProject/elements / getint

Method getint

src/script/script.h:388–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386 }
387
388 int getint() const
389 {
390 if (m_value > std::numeric_limits<int>::max())
391 return std::numeric_limits<int>::max();
392 else if (m_value < std::numeric_limits<int>::min())
393 return std::numeric_limits<int>::min();
394 return m_value;
395 }
396
397 std::vector<unsigned char> getvch() const
398 {

Callers 3

ScriptToAsmStrFunction · 0.45
EvalScriptFunction · 0.45
GetMultisigKeyCountFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected