MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / FromPKHBytes

Method FromPKHBytes

src/test/fuzz/miniscript.cpp:231–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229
230 template<typename I>
231 std::optional<Key> FromPKHBytes(I first, I last) const
232 {
233 Key key;
234 key.data.assign(first, last);
235 key.is_hash = true;
236 return key;
237 }
238
239 MsCtx MsContext() const {
240 return script_ctx;

Callers

nothing calls this directly

Calls 1

assignMethod · 0.45

Tested by

no test coverage detected