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

Function verify

src/test/scriptnum_tests.cpp:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14static const int64_t offsets[] = { 1, 0x79, 0x80, 0x81, 0xFF, 0x7FFF, 0x8000, 0xFFFF, 0x10000};
15
16static bool verify(const CBigNum& bignum, const CScriptNum& scriptnum)
17{
18 return bignum.getvch() == scriptnum.getvch() && bignum.getint() == scriptnum.getint();
19}
20
21static void CheckCreateVch(const int64_t& num)
22{

Callers 9

verifyMethod · 0.85
verifyMethod · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
verifyMethod · 0.85
CheckCreateVchFunction · 0.85
CheckCreateIntFunction · 0.85
CheckAddFunction · 0.85
CheckNegateFunction · 0.85
CheckSubtractFunction · 0.85

Calls 2

getvchMethod · 0.45
getintMethod · 0.45

Tested by

no test coverage detected