Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
LoadExternalBlockFile
Method · 0.80
BOOST_AUTO_TEST_CASE
Function · 0.80
FUZZ_TARGET
Function · 0.80
Calls
no outgoing calls
Tested by
2
BOOST_AUTO_TEST_CASE
Function · 0.64
FUZZ_TARGET
Function · 0.64