changed GetBlockValue method, similar to dogecoin