remove references to generate_random_block and generate_random_transaction