def get_block_statistics(cls, block_id):
        """
        Get block statistics.
        Only works in test mode.
        """
        if not os.environ.get("BLOCKSTACK_TEST"):
            raise Exception("This method is only available in the test framework")

        global STATISTICS
        return STATISTICS.get(block_id)