Update patch to work with source after Nov 10 2012
authorCasey Link <unnamedrambler@gmail.com>
Fri, 16 Nov 2012 13:08:05 +0000 (15:08 +0200)
committerCasey Link <unnamedrambler@gmail.com>
Fri, 16 Nov 2012 13:08:05 +0000 (15:08 +0200)
patch/patch

index eadd113..774363a 100644 (file)
@@ -43,18 +43,18 @@ index 43bd5dd..b38ce88 100644
                  CCoins coins;
                  if (view.GetCoins(hash, coins))
 diff --git a/src/main.h b/src/main.h
-index d810bff..fba793c 100644
+index 8327141..fa27788 100644
 --- a/src/main.h
 +++ b/src/main.h
-@@ -115,7 +115,7 @@ unsigned int ComputeMinWork(unsigned int nBase, int64 nTime);
- int GetNumBlocksOfPeers();
- bool IsInitialBlockDownload();
+@@ -156,7 +156,7 @@ bool IsInitialBlockDownload();
+ /** Format a string that describes several potential problems detected by the core */
  std::string GetWarnings(std::string strFor);
+ /** Retrieve a transaction (from memory pool, or from disk, if possible) */
 -bool GetTransaction(const uint256 &hash, CTransaction &tx, uint256 &hashBlock, bool fAllowSlow = false);
 +bool GetTransaction(const uint256 &hash, CTransaction &tx, uint256 &hashBlock, bool fAllowSlow = false, int height = -1);
+ /** Connect/disconnect blocks until pindexNew is the new tip of the active block chain */
  bool SetBestChain(CBlockIndex* pindexNew);
- bool ConnectBestBlock();
- CBlockIndex * InsertBlockIndex(uint256 hash);
+ /** Find the best known block, and make it the tip of the block chain */
 diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp
 index 3fde463..e60b71e 100644
 --- a/src/rpcblockchain.cpp