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

Function verify

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

Source from the content-addressed store, hash-verified

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

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