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

Function verify

src/test/scriptnum_tests.cpp:21–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19static const int64_t offsets[] = { 1, 0x79, 0x80, 0x81, 0xFF, 0x7FFF, 0x8000, 0xFFFF, 0x10000};
20
21static bool verify(const CScriptNum10& bignum, const CScriptNum& scriptnum)
22{
23 return bignum.getvch() == scriptnum.getvch() && bignum.getint() == scriptnum.getint();
24}
25
26static void CheckCreateVch(const int64_t& num)
27{

Callers 5

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