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

Method GetPos

src/streams.h:585–587  ·  view source on GitHub ↗

return the current reading position

Source from the content-addressed store, hash-verified

583
584 //! return the current reading position
585 uint64_t GetPos() const {
586 return m_read_pos;
587 }
588
589 //! rewind to a given reading position
590 bool SetPos(uint64_t nPos) {

Callers 3

LoadExternalBlockFileMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
FUZZ_TARGETFunction · 0.80

Calls

no outgoing calls

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.64
FUZZ_TARGETFunction · 0.64