mirror of
https://github.com/chainstacklabs/pumpfun-bonkfun-bot.git
synced 2026-08-18 09:48:05 +00:00
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.
|
# Carefully review and adjust values to match your trading strategy and risk tolerance.
|
||||||
|
|
||||||
# Bot identification and connection settings
|
# Bot identification and connection settings
|
||||||
name: "bot-sniper-2"
|
name: "bot-sniper-3"
|
||||||
env_file: ".env"
|
env_file: ".env"
|
||||||
rpc_endpoint: "${SOLANA_NODE_RPC_ENDPOINT}"
|
rpc_endpoint: "${SOLANA_NODE_RPC_ENDPOINT}"
|
||||||
wss_endpoint: "${SOLANA_NODE_WSS_ENDPOINT}"
|
wss_endpoint: "${SOLANA_NODE_WSS_ENDPOINT}"
|
||||||
|
|||||||
+5
-1
@@ -101,6 +101,9 @@ async def start_bot(config_path: str):
|
|||||||
|
|
||||||
await trader.start()
|
await trader.start()
|
||||||
|
|
||||||
|
def run_bot_process(config_path):
|
||||||
|
asyncio.run(start_bot(config_path))
|
||||||
|
|
||||||
def run_all_bots():
|
def run_all_bots():
|
||||||
"""
|
"""
|
||||||
Run all bots defined in YAML files in the 'bots' directory.
|
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):
|
if cfg.get("separate_process", False):
|
||||||
logging.info(f"Starting bot '{bot_name}' in separate process")
|
logging.info(f"Starting bot '{bot_name}' in separate process")
|
||||||
p = multiprocessing.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}"
|
name=f"bot-{bot_name}"
|
||||||
)
|
)
|
||||||
p.start()
|
p.start()
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
# NO CHECKED-IN PROTOBUF GENCODE
|
# NO CHECKED-IN PROTOBUF GENCODE
|
||||||
# source: geyser.proto
|
# source: geyser.proto
|
||||||
# Protobuf Python Version: 5.29.0
|
# Protobuf Python Version: 6.31.1
|
||||||
"""Generated protocol buffer code."""
|
"""Generated protocol buffer code."""
|
||||||
from google.protobuf import descriptor as _descriptor
|
from google.protobuf import descriptor as _descriptor
|
||||||
from google.protobuf import descriptor_pool as _descriptor_pool
|
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.ValidateProtobufRuntimeVersion(
|
||||||
_runtime_version.Domain.PUBLIC,
|
_runtime_version.Domain.PUBLIC,
|
||||||
5,
|
6,
|
||||||
29,
|
31,
|
||||||
0,
|
1,
|
||||||
'',
|
'',
|
||||||
'geyser.proto'
|
'geyser.proto'
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||||
# NO CHECKED-IN PROTOBUF GENCODE
|
# NO CHECKED-IN PROTOBUF GENCODE
|
||||||
# source: solana-storage.proto
|
# source: solana-storage.proto
|
||||||
# Protobuf Python Version: 5.29.0
|
# Protobuf Python Version: 6.31.1
|
||||||
"""Generated protocol buffer code."""
|
"""Generated protocol buffer code."""
|
||||||
from google.protobuf import descriptor as _descriptor
|
from google.protobuf import descriptor as _descriptor
|
||||||
from google.protobuf import descriptor_pool as _descriptor_pool
|
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
|
from google.protobuf.internal import builder as _builder
|
||||||
_runtime_version.ValidateProtobufRuntimeVersion(
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
||||||
_runtime_version.Domain.PUBLIC,
|
_runtime_version.Domain.PUBLIC,
|
||||||
5,
|
6,
|
||||||
29,
|
31,
|
||||||
0,
|
1,
|
||||||
'',
|
'',
|
||||||
'solana-storage.proto'
|
'solana-storage.proto'
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user