From 9e990e3dae0eaa382a56d0b9c49dc1b123fc80c1 Mon Sep 17 00:00:00 2001 From: 27942 Date: Thu, 27 Nov 2025 10:30:37 +0800 Subject: [PATCH] fewfefw --- ton 优化速度版本.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ton 优化速度版本.py b/ton 优化速度版本.py index 7328e8c0d..4da8b45bd 100644 --- a/ton 优化速度版本.py +++ b/ton 优化速度版本.py @@ -76,13 +76,18 @@ async def main(i) -> None: else: print( - f"余额:{balance} Address: {wallet.address.to_str(is_user_friendly=True, is_url_safe=True, is_bounceable=False, is_test_only=False)},D:{' '.join(mnemonic)},") + f"{i},余额:{balance} Address: {wallet.address.to_str(is_user_friendly=True, is_url_safe=True, is_bounceable=False, is_test_only=False)},D:{' '.join(mnemonic)},") async def run_tasks(): tasks = [] + + n = 0 while True: - task = asyncio.create_task(main("grfreg")) + + n += 1 + + task = asyncio.create_task(main(i=n)) tasks.append(task) await asyncio.sleep(random.random()) # 可以根据实际情况设置任务数量上限,避免创建过多任务