mirror of
https://github.com/chainstacklabs/pumpfun-bonkfun-bot.git
synced 2026-07-27 15:27:44 +00:00
Merge pull request #118 from Bukhtiiarovv/main
chore: update generated protobuf files
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Carefully review and adjust values to match your trading strategy and risk tolerance.
|
||||
|
||||
# Bot identification and connection settings
|
||||
name: "bot-sniper-2"
|
||||
name: "bot-sniper-3"
|
||||
env_file: ".env"
|
||||
rpc_endpoint: "${SOLANA_NODE_RPC_ENDPOINT}"
|
||||
wss_endpoint: "${SOLANA_NODE_WSS_ENDPOINT}"
|
||||
|
||||
+5
-1
@@ -101,6 +101,9 @@ async def start_bot(config_path: str):
|
||||
|
||||
await trader.start()
|
||||
|
||||
def run_bot_process(config_path):
|
||||
asyncio.run(start_bot(config_path))
|
||||
|
||||
def run_all_bots():
|
||||
"""
|
||||
Run all bots defined in YAML files in the 'bots' directory.
|
||||
@@ -136,7 +139,8 @@ def run_all_bots():
|
||||
if cfg.get("separate_process", False):
|
||||
logging.info(f"Starting bot '{bot_name}' in separate process")
|
||||
p = multiprocessing.Process(
|
||||
target=lambda path=str(file): asyncio.run(start_bot(path)),
|
||||
target=run_bot_process,
|
||||
args=(str(file),),
|
||||
name=f"bot-{bot_name}"
|
||||
)
|
||||
p.start()
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# NO CHECKED-IN PROTOBUF GENCODE
|
||||
# source: geyser.proto
|
||||
# Protobuf Python Version: 5.29.0
|
||||
# Protobuf Python Version: 6.31.1
|
||||
"""Generated protocol buffer code."""
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import descriptor_pool as _descriptor_pool
|
||||
@@ -11,9 +11,9 @@ from google.protobuf.internal import builder as _builder
|
||||
|
||||
_runtime_version.ValidateProtobufRuntimeVersion(
|
||||
_runtime_version.Domain.PUBLIC,
|
||||
5,
|
||||
29,
|
||||
0,
|
||||
6,
|
||||
31,
|
||||
1,
|
||||
'',
|
||||
'geyser.proto'
|
||||
)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# NO CHECKED-IN PROTOBUF GENCODE
|
||||
# source: solana-storage.proto
|
||||
# Protobuf Python Version: 5.29.0
|
||||
# Protobuf Python Version: 6.31.1
|
||||
"""Generated protocol buffer code."""
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import descriptor_pool as _descriptor_pool
|
||||
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
||||
from google.protobuf.internal import builder as _builder
|
||||
_runtime_version.ValidateProtobufRuntimeVersion(
|
||||
_runtime_version.Domain.PUBLIC,
|
||||
5,
|
||||
29,
|
||||
0,
|
||||
6,
|
||||
31,
|
||||
1,
|
||||
'',
|
||||
'solana-storage.proto'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user