Average generate (local solo mining) hash rate over 30 seconds for more stable measurements.
(cherry picked from commit 0305f9402abea85c276739c629d02ed42ca78b89)

Conflicts:
	src/main.cpp