Geth additions
This commit is contained in:
parent
22d98afa1c
commit
1873712c03
4
listener
4
listener
@ -18,7 +18,7 @@ case "$1" in
|
||||
--quiet \
|
||||
--pidfile $PIDFILE \
|
||||
--make-pidfile \
|
||||
--startas /bin/bash -- -c "poetry run python listener.py"
|
||||
--startas /bin/bash -- -c "poetry run python listener.py $2"
|
||||
echo "."
|
||||
;;
|
||||
stop)
|
||||
@ -42,7 +42,7 @@ case "$1" in
|
||||
--quiet \
|
||||
--pidfile $PIDFILE \
|
||||
--make-pidfile \
|
||||
--startas /bin/bash -- -c "poetry run python listener.py"
|
||||
--startas /bin/bash -- -c "poetry run python listener.py $2"
|
||||
echo "."
|
||||
;;
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
import asyncio
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
|
||||
import dramatiq
|
||||
from aiohttp_retry import ExponentialRetry, RetryClient
|
||||
@ -52,7 +53,7 @@ async def run():
|
||||
priority=HIGH_PRIORITY,
|
||||
)
|
||||
|
||||
inspector = MEVInspector(rpc)
|
||||
inspector = MEVInspector(rpc, type=sys.argv[1])
|
||||
base_provider = get_base_provider(rpc)
|
||||
|
||||
while not killer.kill_now:
|
||||
|
Loading…
x
Reference in New Issue
Block a user