added support for difficulty and blockreward