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

Function SpanFromBlob

src/wallet/sqlite.cpp:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27static constexpr int32_t WALLET_SCHEMA_VERSION = 0;
28
29static std::span<const std::byte> SpanFromBlob(sqlite3_stmt* stmt, int col)
30{
31 return {reinterpret_cast<const std::byte*>(sqlite3_column_blob(stmt, col)),
32 static_cast<size_t>(sqlite3_column_bytes(stmt, col))};
33}
34
35static void ErrorLogCallback(void* arg, int code, const char* msg)
36{

Callers 2

ReadKeyMethod · 0.85
NextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected