/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/ |
H A D | chain.cpp | 12 void CChain::SetTip(CBlockIndex *pindex) { in SetTip() 52 const CBlockIndex *CChain::FindFork(const CBlockIndex *pindex) const { in FindFork() 85 const CBlockIndex* CBlockIndex::GetAncestor(int height) const in GetAncestor() 91 const CBlockIndex* pindexWalk = this; in GetAncestor() 112 CBlockIndex* CBlockIndex::GetAncestor(int height) in GetAncestor() 114 return const_cast<CBlockIndex*>(static_cast<const CBlockIndex*>(this)->GetAncestor(height)); in GetAncestor() 117 void CBlockIndex::BuildSkip() in BuildSkip() 123 arith_uint256 GetBlockProof(const CBlockIndex& block) in GetBlockProof() 138 int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockInd… in GetBlockProofEquivalentTime() 157 const CBlockIndex* LastCommonAncestor(const CBlockIndex* pa, const CBlockIndex* pb) { in LastCommonAncestor() [all …]
|
H A D | chain.h | 137 class CBlockIndex 144 CBlockIndex* pprev{nullptr}; 147 CBlockIndex* pnext{nullptr}; 150 CBlockIndex* pskip{nullptr}; 201 CBlockIndex() in CBlockIndex() function 350 int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockInd… 352 const CBlockIndex* LastCommonAncestor(const CBlockIndex* pa, const CBlockIndex* pb); 365 explicit CDiskBlockIndex(const CBlockIndex* pindex) : CBlockIndex(*pindex) { in CDiskBlockIndex() 437 CBlockIndex *Tip() const { in Tip() 460 CBlockIndex *Next(const CBlockIndex *pindex) const { in Next() [all …]
|
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/src/ |
H A D | chain.cpp | 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() 84 const CBlockIndex* CBlockIndex::GetAncestor(int height) const in GetAncestor() 90 const CBlockIndex* pindexWalk = this; in GetAncestor() 111 CBlockIndex* CBlockIndex::GetAncestor(int height) in GetAncestor() 113 return const_cast<CBlockIndex*>(static_cast<const CBlockIndex*>(this)->GetAncestor(height)); in GetAncestor() 116 void CBlockIndex::BuildSkip() in BuildSkip() 122 arith_uint256 GetBlockProof(const CBlockIndex& block) in GetBlockProof() 137 int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockInd… in GetBlockProofEquivalentTime() [all …]
|
H A D | chain.h | 137 class CBlockIndex 144 CBlockIndex* pprev{nullptr}; 147 CBlockIndex* pskip{nullptr}; 202 CBlockIndex() in CBlockIndex() function 327 int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockInd… 329 const CBlockIndex* LastCommonAncestor(const CBlockIndex* pa, const CBlockIndex* pb); 342 explicit CDiskBlockIndex(const CBlockIndex* pindex) : CBlockIndex(*pindex) { in CDiskBlockIndex() 398 CBlockIndex *Genesis() const { in Genesis() 403 CBlockIndex *Tip() const { in Tip() 420 CBlockIndex *Next(const CBlockIndex *pindex) const { in Next() [all …]
|
/dports/net-p2p/bitcoin/bitcoin-22.0/src/ |
H A D | chain.cpp | 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() 84 const CBlockIndex* CBlockIndex::GetAncestor(int height) const in GetAncestor() 90 const CBlockIndex* pindexWalk = this; in GetAncestor() 111 CBlockIndex* CBlockIndex::GetAncestor(int height) in GetAncestor() 113 return const_cast<CBlockIndex*>(static_cast<const CBlockIndex*>(this)->GetAncestor(height)); in GetAncestor() 116 void CBlockIndex::BuildSkip() in BuildSkip() 122 arith_uint256 GetBlockProof(const CBlockIndex& block) in GetBlockProof() 137 int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockInd… in GetBlockProofEquivalentTime() [all …]
|
H A D | chain.h | 137 class CBlockIndex 144 CBlockIndex* pprev{nullptr}; 147 CBlockIndex* pskip{nullptr}; 202 CBlockIndex() in CBlockIndex() function 327 int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockInd… 329 const CBlockIndex* LastCommonAncestor(const CBlockIndex* pa, const CBlockIndex* pb); 342 explicit CDiskBlockIndex(const CBlockIndex* pindex) : CBlockIndex(*pindex) { in CDiskBlockIndex() 398 CBlockIndex *Genesis() const { in Genesis() 403 CBlockIndex *Tip() const { in Tip() 420 CBlockIndex *Next(const CBlockIndex *pindex) const { in Next() [all …]
|
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/src/ |
H A D | chain.cpp | 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() 84 const CBlockIndex* CBlockIndex::GetAncestor(int height) const in GetAncestor() 90 const CBlockIndex* pindexWalk = this; in GetAncestor() 111 CBlockIndex* CBlockIndex::GetAncestor(int height) in GetAncestor() 113 return const_cast<CBlockIndex*>(static_cast<const CBlockIndex*>(this)->GetAncestor(height)); in GetAncestor() 116 void CBlockIndex::BuildSkip() in BuildSkip() 122 arith_uint256 GetBlockProof(const CBlockIndex& block) in GetBlockProof() 137 int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockInd… in GetBlockProofEquivalentTime() [all …]
|
H A D | chain.h | 137 class CBlockIndex 144 CBlockIndex* pprev{nullptr}; 147 CBlockIndex* pskip{nullptr}; 202 CBlockIndex() in CBlockIndex() function 327 int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockInd… 329 const CBlockIndex* LastCommonAncestor(const CBlockIndex* pa, const CBlockIndex* pb); 342 explicit CDiskBlockIndex(const CBlockIndex* pindex) : CBlockIndex(*pindex) { in CDiskBlockIndex() 398 CBlockIndex *Genesis() const { in Genesis() 403 CBlockIndex *Tip() const { in Tip() 420 CBlockIndex *Next(const CBlockIndex *pindex) const { in Next() [all …]
|
/dports/net-p2p/litecoin-daemon/litecoin-0.18.1/src/ |
H A D | chain.cpp | 11 void CChain::SetTip(CBlockIndex *pindex) { in SetTip() 51 const CBlockIndex *CChain::FindFork(const CBlockIndex *pindex) const { in FindFork() 62 CBlockIndex* CChain::FindEarliestAtLeast(int64_t nTime) const 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() [all …]
|
H A D | chain.h | 178 class CBlockIndex 185 CBlockIndex* pprev; 188 CBlockIndex* pskip; 253 CBlockIndex() in CBlockIndex() function 386 int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockInd… 388 const CBlockIndex* LastCommonAncestor(const CBlockIndex* pa, const CBlockIndex* pb); 401 explicit CDiskBlockIndex(const CBlockIndex* pindex) : CBlockIndex(*pindex) { in CDiskBlockIndex() 463 CBlockIndex *Genesis() const { in Genesis() 468 CBlockIndex *Tip() const { in Tip() 491 CBlockIndex *Next(const CBlockIndex *pindex) const { in Next() [all …]
|
/dports/net-p2p/litecoin-utils/litecoin-0.18.1/src/ |
H A D | chain.cpp | 11 void CChain::SetTip(CBlockIndex *pindex) { in SetTip() 51 const CBlockIndex *CChain::FindFork(const CBlockIndex *pindex) const { in FindFork() 62 CBlockIndex* CChain::FindEarliestAtLeast(int64_t nTime) const 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() [all …]
|
H A D | chain.h | 178 class CBlockIndex 185 CBlockIndex* pprev; 188 CBlockIndex* pskip; 253 CBlockIndex() in CBlockIndex() function 386 int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockInd… 388 const CBlockIndex* LastCommonAncestor(const CBlockIndex* pa, const CBlockIndex* pb); 401 explicit CDiskBlockIndex(const CBlockIndex* pindex) : CBlockIndex(*pindex) { in CDiskBlockIndex() 463 CBlockIndex *Genesis() const { in Genesis() 468 CBlockIndex *Tip() const { in Tip() 491 CBlockIndex *Next(const CBlockIndex *pindex) const { in Next() [all …]
|
/dports/net-p2p/litecoin/litecoin-0.18.1/src/ |
H A D | chain.cpp | 11 void CChain::SetTip(CBlockIndex *pindex) { in SetTip() 51 const CBlockIndex *CChain::FindFork(const CBlockIndex *pindex) const { in FindFork() 62 CBlockIndex* CChain::FindEarliestAtLeast(int64_t nTime) const 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() [all …]
|
H A D | chain.h | 178 class CBlockIndex 185 CBlockIndex* pprev; 188 CBlockIndex* pskip; 253 CBlockIndex() in CBlockIndex() function 386 int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockInd… 388 const CBlockIndex* LastCommonAncestor(const CBlockIndex* pa, const CBlockIndex* pb); 401 explicit CDiskBlockIndex(const CBlockIndex* pindex) : CBlockIndex(*pindex) { in CDiskBlockIndex() 463 CBlockIndex *Genesis() const { in Genesis() 468 CBlockIndex *Tip() const { in Tip() 491 CBlockIndex *Next(const CBlockIndex *pindex) const { in Next() [all …]
|
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/src/ |
H A D | chain.h | 138 class CBlockIndex 145 CBlockIndex* pprev{nullptr}; 148 CBlockIndex* pskip{nullptr}; 190 CBlockIndex() in CBlockIndex() function 311 int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockInd… 313 const CBlockIndex* LastCommonAncestor(const CBlockIndex* pa, const CBlockIndex* pb); 326 explicit CDiskBlockIndex(const CBlockIndex* pindex) : CBlockIndex(*pindex) { in CDiskBlockIndex() 382 CBlockIndex *Genesis() const { in Genesis() 387 CBlockIndex *Tip() const { in Tip() 404 CBlockIndex *Next(const CBlockIndex *pindex) const { in Next() [all …]
|
H A D | chain.cpp | 39 void CChain::SetTip(CBlockIndex *pindex) { in SetTip() 51 CBlockLocator CChain::GetLocator(const CBlockIndex *pindex) const { in GetLocator() 79 const CBlockIndex *CChain::FindFork(const CBlockIndex *pindex) const { in FindFork() 112 const CBlockIndex* CBlockIndex::GetAncestor(int height) const in GetAncestor() 118 const CBlockIndex* pindexWalk = this; in GetAncestor() 139 CBlockIndex* CBlockIndex::GetAncestor(int height) in GetAncestor() 141 return const_cast<CBlockIndex*>(static_cast<const CBlockIndex*>(this)->GetAncestor(height)); in GetAncestor() 144 void CBlockIndex::BuildSkip() in BuildSkip() 150 arith_uint256 GetBlockProof(const CBlockIndex& block) in GetBlockProof() 165 int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockInd… in GetBlockProofEquivalentTime() [all …]
|
H A D | validation.h | 38 class CBlockIndex; variable 115 typedef std::unordered_map<uint256, CBlockIndex*, BlockHasher> BlockMap; 140 extern CBlockIndex *pindexBestHeader; 295 bool UndoReadFromDisk(CBlockUndo& blockundo, const CBlockIndex* pindex); 359 bool operator()(const CBlockIndex *pa, const CBlockIndex *pb) const; 415 std::set<CBlockIndex*> m_failed_blocks; 421 std::multimap<CBlockIndex*, CBlockIndex*> m_blocks_unlinked; 455 CBlockIndex** ppindex) EXCLUSIVE_LOCKS_REQUIRED(cs_main); 740 CBlockIndex* FindMostWorkChain() EXCLUSIVE_LOCKS_REQUIRED(cs_main); 883 CBlockIndex* ActiveTip() const { return ActiveChain().Tip(); } in ActiveTip() [all …]
|
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/src/ |
H A D | chain.h | 138 class CBlockIndex 145 CBlockIndex* pprev{nullptr}; 148 CBlockIndex* pskip{nullptr}; 190 CBlockIndex() in CBlockIndex() function 311 int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockInd… 313 const CBlockIndex* LastCommonAncestor(const CBlockIndex* pa, const CBlockIndex* pb); 326 explicit CDiskBlockIndex(const CBlockIndex* pindex) : CBlockIndex(*pindex) { in CDiskBlockIndex() 382 CBlockIndex *Genesis() const { in Genesis() 387 CBlockIndex *Tip() const { in Tip() 404 CBlockIndex *Next(const CBlockIndex *pindex) const { in Next() [all …]
|
H A D | chain.cpp | 39 void CChain::SetTip(CBlockIndex *pindex) { in SetTip() 51 CBlockLocator CChain::GetLocator(const CBlockIndex *pindex) const { in GetLocator() 79 const CBlockIndex *CChain::FindFork(const CBlockIndex *pindex) const { in FindFork() 112 const CBlockIndex* CBlockIndex::GetAncestor(int height) const in GetAncestor() 118 const CBlockIndex* pindexWalk = this; in GetAncestor() 139 CBlockIndex* CBlockIndex::GetAncestor(int height) in GetAncestor() 141 return const_cast<CBlockIndex*>(static_cast<const CBlockIndex*>(this)->GetAncestor(height)); in GetAncestor() 144 void CBlockIndex::BuildSkip() in BuildSkip() 150 arith_uint256 GetBlockProof(const CBlockIndex& block) in GetBlockProof() 165 int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockInd… in GetBlockProofEquivalentTime() [all …]
|
H A D | validation.h | 38 class CBlockIndex; variable 115 typedef std::unordered_map<uint256, CBlockIndex*, BlockHasher> BlockMap; 140 extern CBlockIndex *pindexBestHeader; 295 bool UndoReadFromDisk(CBlockUndo& blockundo, const CBlockIndex* pindex); 359 bool operator()(const CBlockIndex *pa, const CBlockIndex *pb) const; 415 std::set<CBlockIndex*> m_failed_blocks; 421 std::multimap<CBlockIndex*, CBlockIndex*> m_blocks_unlinked; 455 CBlockIndex** ppindex) EXCLUSIVE_LOCKS_REQUIRED(cs_main); 740 CBlockIndex* FindMostWorkChain() EXCLUSIVE_LOCKS_REQUIRED(cs_main); 883 CBlockIndex* ActiveTip() const { return ActiveChain().Tip(); } in ActiveTip() [all …]
|
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/src/ |
H A D | chain.h | 138 class CBlockIndex 145 CBlockIndex* pprev{nullptr}; 148 CBlockIndex* pskip{nullptr}; 190 CBlockIndex() in CBlockIndex() function 311 int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockInd… 313 const CBlockIndex* LastCommonAncestor(const CBlockIndex* pa, const CBlockIndex* pb); 326 explicit CDiskBlockIndex(const CBlockIndex* pindex) : CBlockIndex(*pindex) { in CDiskBlockIndex() 382 CBlockIndex *Genesis() const { in Genesis() 387 CBlockIndex *Tip() const { in Tip() 404 CBlockIndex *Next(const CBlockIndex *pindex) const { in Next() [all …]
|
H A D | chain.cpp | 39 void CChain::SetTip(CBlockIndex *pindex) { in SetTip() 51 CBlockLocator CChain::GetLocator(const CBlockIndex *pindex) const { in GetLocator() 79 const CBlockIndex *CChain::FindFork(const CBlockIndex *pindex) const { in FindFork() 112 const CBlockIndex* CBlockIndex::GetAncestor(int height) const in GetAncestor() 118 const CBlockIndex* pindexWalk = this; in GetAncestor() 139 CBlockIndex* CBlockIndex::GetAncestor(int height) in GetAncestor() 141 return const_cast<CBlockIndex*>(static_cast<const CBlockIndex*>(this)->GetAncestor(height)); in GetAncestor() 144 void CBlockIndex::BuildSkip() in BuildSkip() 150 arith_uint256 GetBlockProof(const CBlockIndex& block) in GetBlockProof() 165 int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockInd… in GetBlockProofEquivalentTime() [all …]
|
H A D | validation.h | 38 class CBlockIndex; variable 115 typedef std::unordered_map<uint256, CBlockIndex*, BlockHasher> BlockMap; 140 extern CBlockIndex *pindexBestHeader; 295 bool UndoReadFromDisk(CBlockUndo& blockundo, const CBlockIndex* pindex); 359 bool operator()(const CBlockIndex *pa, const CBlockIndex *pb) const; 415 std::set<CBlockIndex*> m_failed_blocks; 421 std::multimap<CBlockIndex*, CBlockIndex*> m_blocks_unlinked; 455 CBlockIndex** ppindex) EXCLUSIVE_LOCKS_REQUIRED(cs_main); 740 CBlockIndex* FindMostWorkChain() EXCLUSIVE_LOCKS_REQUIRED(cs_main); 883 CBlockIndex* ActiveTip() const { return ActiveChain().Tip(); } in ActiveTip() [all …]
|
/dports/net-p2p/zetacoin/zetacoin-0.13.2.1/src/ |
H A D | chain.h | 156 class CBlockIndex 163 CBlockIndex* pprev; 166 CBlockIndex* pskip; 227 CBlockIndex() in CBlockIndex() function 341 int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockInd… 353 explicit CDiskBlockIndex(const CBlockIndex* pindex) : CBlockIndex(*pindex) { in CDiskBlockIndex() 410 std::vector<CBlockIndex*> vChain; 414 CBlockIndex *Genesis() const { in Genesis() 419 CBlockIndex *Tip() const { in Tip() 442 CBlockIndex *Next(const CBlockIndex *pindex) const { in Next() [all …]
|
/dports/net-p2p/zetacoin-daemon/zetacoin-0.13.2.1/src/ |
H A D | chain.h | 156 class CBlockIndex 163 CBlockIndex* pprev; 166 CBlockIndex* pskip; 227 CBlockIndex() in CBlockIndex() function 341 int64_t GetBlockProofEquivalentTime(const CBlockIndex& to, const CBlockIndex& from, const CBlockInd… 353 explicit CDiskBlockIndex(const CBlockIndex* pindex) : CBlockIndex(*pindex) { in CDiskBlockIndex() 410 std::vector<CBlockIndex*> vChain; 414 CBlockIndex *Genesis() const { in Genesis() 419 CBlockIndex *Tip() const { in Tip() 442 CBlockIndex *Next(const CBlockIndex *pindex) const { in Next() [all …]
|