Adapt IsInitialBlockDownload parameters.

Make the parameters in IsInitialBlockDownload less strict.  Consider it
initial download if a change happened in the last minute (instead of 10
seconds) and the best known block time is more than an hour ago (instead
of a day).
Adapt IsInitialBlockDownload parameters.

Make the parameters in IsInitialBlockDownload less strict.  Consider it
initial download if a change happened in the last minute (instead of 10
seconds) and the best known block time is more than an hour ago (instead
of a day).
Move variable to more fitting position.
Merge branch 'initial-download' of github.com:domob1812/huntercoin into initial-download
Adapt IsInitialBlockDownload parameters.

Make the parameters in IsInitialBlockDownload less strict.  Consider it
initial download if a change happened in the last minute (instead of 10
seconds) and the best known block time is more than an hour ago (instead
of a day).
Move variable to more fitting position.
Merge branch 'initial-download' of github.com:domob1812/huntercoin into initial-download
Merge pull request #39 from domob1812/initial-download

Adapt IsInitialBlockDownload parameters.
Allow setting of stream version in the DB.

Allow setting of the nVersion parameter used for stream serialisation in
the database.
Remove unused "attack" field from character state.

Remove never used "attack" variable from the character state.  Bump
version to 1.0.08 so that DB updates can be done accordingly.
Add nDisasterHeight to game state.

Add a new field to the game state that remembers when the last disaster
was triggered.
Add assertion.

Add assertion that game state should only ever be serialised when
written to disk.
Check in Octave script for disaster probability.

Write a simple Octave script to play around with the formula to choose
for the disaster probability.
Move logic to kill characters into subroutine.

Move the logic that kills characters of killed players and removes all
killed players into a new subroutine.  This will be used also for
disaster victims in the future.

Also, introduce test-wise a condition that checks for disaster blocks.
They have no special behaviour for now, though.
Implement disaster in game engine.

Basic implementation of disaster in the game engine and with a proper
game tx.  It does not yet handle all cases well (for instance, banking
together with a disaster fails).
Allow paying bounties to dead players.

Rewrite the bounty generation code a bit so that a gametx can be
constructed also for dead players.  This enables correct handling of
banking during disasters.
Update gamestate's nDisasterHeight.

When a disaster happens, update the nDisasterHeight variable in the game
state accordingly.
Update disaster chance script.

Change the disaster chance Octave script to include the actually planned
probabilities for now.  (1/30k flat out, min. time 20k, max. time 100k.)
Print size of disaster tx to debug log.

When a disaster gametx is created, print its size to the debug log.
Implement "real" check for disaster.

Move the disaster logic to helper functions and implement a "real" check
for when a disaster happens.  The parameters are still set to testing
values.