Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
RunNextOpInner
Method · 0.80
CScript
Class · 0.80
CheckCreateVch
Function · 0.80
RunCreate
Function · 0.80
FUZZ_TARGET_INIT
Function · 0.80
FUZZ_TARGET
Function · 0.80
Calls
no outgoing calls
Tested by
4
CheckCreateVch
Function · 0.64
RunCreate
Function · 0.64
FUZZ_TARGET_INIT
Function · 0.64
FUZZ_TARGET
Function · 0.64