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