Make CTxIndex::vSpent private.

Make the CTxIndex::vSpent member private, and access it only via
interface functions from the outside.
Fix vSpent private merge.

Fix remaining usings of CTxIndex::vSpent in Huntercoin-specific code.
This requires adding an accessor to vSpent with disk position, to check
if the spending tx is a game tx.  This can be removed later on, though,
to allow for the actual optimisations.
Change internal vSpent data format.

Actually change the vSpent array internally to be an array of flags
instead of full tx positions.  Not yet efficiently as a bit vector,
though.
Fully rewrite txindex on upgrading blkindex.dat format.

When upgrading the blkindex.dat data format, actually fully rewrite the
txindex objects stored in it.
Fix merge from Namecoin.

Replace the version number used in the patch from Namecoin to the
correct one for Huntercoin.
Add progress print-outs to tx rewriting.
Implement tx upgrading more efficient.

Do the tx database upgrade more efficiently.  Instead of randomly
loading all spending tx's, go through the blockchain in an ordered
fashion instead.
Add progress indicator to tx index rewriting.
Bump version to 1.0.10 after other patch.
Remove doubly defined constant after rebase.
Merge pull request #45 from domob1812/vspent

Port vspent optimisation from Namecoin
Increase number of reserved BDB locks.

Increase the number of reserved BDB locks to 1,000,000 instead of
10,000.  As long as users upgrade before miners do, this shouldn't cause
a problem and will help in the future (according to db.log, this limit
is already tested from time to time).
Reduce number of initial characters during hardfork.

After the planned hardfork, only create an initial general without other
players on him.
Fix header dependency changes.
Merge pull request #46 from domob1812/only-one-hunter

Only one hunter per general
Add length check to IsValidPlayerName.

Also check for the maximum allowed length in IsValidPlayerName, and
rework the code internally a biAdd length check to IsValidPlayerName.

Also check for the maximum allowed length in IsValidPlayerName, and
rework the code internally a bit.
Check for valid names in name_new.
Merge pull request #47 from domob1812/name-new-checks

Add checks for valid player name in name_new.
Add nDisasterHeight to game state.

Add a new field to the game state that remembers when the last disaster
was triggered.
Check in Octave script for disaster probability.

Write a simple Octave script to play around with the formula to choose
for the disaster probability.