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

Method FromPKBytes

src/test/fuzz/miniscript.cpp:222–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220
221 template<typename I>
222 std::optional<Key> FromPKBytes(I first, I last) const
223 {
224 Key key;
225 key.data.assign(first, last);
226 key.is_hash = false;
227 return key;
228 }
229
230 template<typename I>
231 std::optional<Key> FromPKHBytes(I first, I last) const

Callers

nothing calls this directly

Calls 1

assignMethod · 0.45

Tested by

no test coverage detected