Merge pull request #1612 from luke-jr/opti_getblkhash

Optimize JSON-RPC getblockhash
This commit is contained in:
Gregory Maxwell
2012-08-01 11:49:26 -07:00
3 changed files with 21 additions and 4 deletions

View File

@@ -88,6 +88,7 @@ FILE* OpenBlockFile(unsigned int nFile, unsigned int nBlockPos, const char* pszM
FILE* AppendBlockFile(unsigned int& nFileRet);
bool LoadBlockIndex(bool fAllowNew=true);
void PrintBlockTree();
CBlockIndex* FindBlockByHeight(int nHeight);
bool ProcessMessages(CNode* pfrom);
bool SendMessages(CNode* pto, bool fSendTrickle);
bool LoadExternalBlockFile(FILE* fileIn);