Merge branch '0.4.x' into 0.5.x

Conflicts:
	src/bitcoinrpc.cpp
This commit is contained in:
Luke Dashjr
2012-11-14 21:25:29 +00:00
6 changed files with 15 additions and 10 deletions
+2 -1
View File
@@ -3096,7 +3096,7 @@ public:
CBlock* CreateNewBlock(CReserveKey& reservekey)
{
CBlockIndex* pindexPrev = pindexBest;
CBlockIndex* pindexPrev;
// Create new block
auto_ptr<CBlock> pblock(new CBlock());
@@ -3118,6 +3118,7 @@ CBlock* CreateNewBlock(CReserveKey& reservekey)
CRITICAL_BLOCK(cs_main)
CRITICAL_BLOCK(cs_mapTransactions)
{
pindexPrev = pindexBest;
CTxDB txdb("r");
// Priority order to process transactions