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

Method GetPrevious

src/kernel/bitcoinkernel_wrapper.h:924–929  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

922 }
923
924 std::optional<BlockTreeEntry> GetPrevious() const
925 {
926 auto entry{btck_block_tree_entry_get_previous(get())};
927 if (!entry) return std::nullopt;
928 return entry;
929 }
930
931 int32_t GetHeight() const
932 {

Callers 3

chainman_reindex_testFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 2

getFunction · 0.85

Tested by 3

chainman_reindex_testFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64