secure random check and wallet_get_info command #21