MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / getint

Method getint

src/script/script.h:326–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324 }
325
326 int getint() const
327 {
328 if (m_value > std::numeric_limits<int>::max())
329 return std::numeric_limits<int>::max();
330 else if (m_value < std::numeric_limits<int>::min())
331 return std::numeric_limits<int>::min();
332 return m_value;
333 }
334
335 int64_t GetInt64() const { return m_value; }
336

Callers 3

ScriptToAsmStrFunction · 0.45
GetScriptNumberFunction · 0.45
EvalScriptFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected