Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ ToPKHBytes
Method
ToPKHBytes
src/script/descriptor.cpp:1622–1625 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1620
}
1621
1622
std::vector<unsigned char> ToPKHBytes(uint32_t key) const {
1623
auto id = GetHash160(key);
1624
return {id.begin(), id.end()};
1625
}
1626
};
1627
1628
/**
Callers
1
ToScript
Method · 0.45
Calls
2
begin
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected