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

Method getint

src/script/script.h:295–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293 }
294
295 int getint() const
296 {
297 if (m_value > std::numeric_limits<int>::max())
298 return std::numeric_limits<int>::max();
299 else if (m_value < std::numeric_limits<int>::min())
300 return std::numeric_limits<int>::min();
301 return m_value;
302 }
303
304 std::vector<unsigned char> getvch() const
305 {

Callers 1

EvalScriptFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected