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

Function check

src/kernel/bitcoinkernel_wrapper.h:184–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182
183template <typename T>
184T check(T ptr)
185{
186 if (ptr == nullptr) {
187 throw std::runtime_error("failed to instantiate btck object");
188 }
189 return ptr;
190}
191
192template <typename Collection, typename ValueType>
193class Iterator

Callers 8

test_addressbookMethod · 0.85
CheckInputScriptsFunction · 0.85
CCheckQueueClass · 0.85
TestOverflowFunction · 0.85
DetailMaybeArgFunction · 0.85
ViewMethod · 0.85
HandleMethod · 0.85
UniqueHandleMethod · 0.85

Calls

no outgoing calls

Tested by 2

test_addressbookMethod · 0.68
TestOverflowFunction · 0.68