|
|
@ -395,8 +395,8 @@ public: |
|
|
|
return vChain.size() - 1; |
|
|
|
return vChain.size() - 1; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** Set/initialize a chain with a given tip. Returns the forking point. */ |
|
|
|
/** Set/initialize a chain with a given tip. */ |
|
|
|
CBlockIndex *SetTip(CBlockIndex *pindex); |
|
|
|
void SetTip(CBlockIndex *pindex); |
|
|
|
|
|
|
|
|
|
|
|
/** Return a CBlockLocator that refers to a block in this chain (by default the tip). */ |
|
|
|
/** Return a CBlockLocator that refers to a block in this chain (by default the tip). */ |
|
|
|
CBlockLocator GetLocator(const CBlockIndex *pindex = NULL) const; |
|
|
|
CBlockLocator GetLocator(const CBlockIndex *pindex = NULL) const; |
|
|
|