Lines Matching refs:CBlockIndex
11 void CChain::SetTip(CBlockIndex *pindex) { in SetTip()
23 CBlockLocator CChain::GetLocator(const CBlockIndex *pindex) const { in GetLocator()
51 const CBlockIndex *CChain::FindFork(const CBlockIndex *pindex) const { in FindFork()
62 CBlockIndex* CChain::FindEarliestAtLeast(int64_t nTime) const in FindEarliestAtLeast()
64 …std::vector<CBlockIndex*>::const_iterator lower = std::lower_bound(vChain.begin(), vChain.end(), n… in FindEarliestAtLeast()
65 …[](CBlockIndex* pBlock, const int64_t& time) -> bool { return pBlock->GetBlockTimeMax() < time; }); in FindEarliestAtLeast()
83 const CBlockIndex* CBlockIndex::GetAncestor(int height) const in GetAncestor()
89 const CBlockIndex* pindexWalk = this; in GetAncestor()
110 CBlockIndex* CBlockIndex::GetAncestor(int height) in GetAncestor()
112 return const_cast<CBlockIndex*>(static_cast<const CBlockIndex*>(this)->GetAncestor(height)); in GetAncestor()
115 void CBlockIndex::BuildSkip() in BuildSkip()
121 arith_uint256 GetBlockProof(const CBlockIndex& block) in GetBlockProof()
136 int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockInd… in GetBlockProofEquivalentTime()
155 const CBlockIndex* LastCommonAncestor(const CBlockIndex* pa, const CBlockIndex* pb) { in LastCommonAncestor()