MCPcopy Create free account
hub / github.com/Bitcoin-ABC/bitcoin-abc / getvch

Method getvch

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

Source from the content-addressed store, hash-verified

360 int64_t getint() const { return m_value; }
361
362 std::vector<uint8_t> getvch() const { return serialize(m_value); }
363
364 static std::vector<uint8_t> serialize(const int64_t &value) {
365 if (value == 0) {

Callers 6

RunNextOpInnerMethod · 0.80
CScriptClass · 0.80
CheckCreateVchFunction · 0.80
RunCreateFunction · 0.80
FUZZ_TARGET_INITFunction · 0.80
FUZZ_TARGETFunction · 0.80

Calls

no outgoing calls

Tested by 4

CheckCreateVchFunction · 0.64
RunCreateFunction · 0.64
FUZZ_TARGET_INITFunction · 0.64
FUZZ_TARGETFunction · 0.64