Skip to content

Commit 0d01f21

Browse files
authored
clients/besu, clients/reth: enable txpool RPC namespace (#1393)
1 parent 817522e commit 0d01f21

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

clients/besu/besu.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,13 @@ FLAGS="$FLAGS --snapsync-server-enabled"
152152
# Configure RPC.
153153
RPCFLAGS="--host-allowlist=*"
154154
if [ "$HIVE_GRAPHQL_ENABLED" == "" ]; then
155-
RPCFLAGS="$RPCFLAGS --rpc-http-enabled --rpc-http-api=DEBUG,TRACE,ETH,NET,WEB3,ADMIN --rpc-http-host=0.0.0.0"
155+
RPCFLAGS="$RPCFLAGS --rpc-http-enabled --rpc-http-api=DEBUG,TRACE,ETH,NET,TXPOOL,WEB3,ADMIN --rpc-http-host=0.0.0.0"
156156
else
157157
RPCFLAGS="$RPCFLAGS --graphql-http-enabled --graphql-http-host=0.0.0.0 --graphql-http-port=8545"
158158
fi
159159

160160
# Enable WebSocket.
161-
RPCFLAGS="$RPCFLAGS --rpc-ws-enabled --rpc-ws-api=DEBUG,TRACE,ETH,NET,WEB3,ADMIN --rpc-ws-host=0.0.0.0"
161+
RPCFLAGS="$RPCFLAGS --rpc-ws-enabled --rpc-ws-api=DEBUG,TRACE,ETH,NET,TXPOOL,WEB3,ADMIN --rpc-ws-host=0.0.0.0"
162162

163163
# Enable merge support if needed
164164
if [ "$HIVE_TERMINAL_TOTAL_DIFFICULTY" != "" ]; then

clients/reth/reth.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ if [ -n "${HIVE_CLIQUE_PRIVATEKEY}" ] || [ -n "${HIVE_CLIQUE_PERIOD}" ]; then
153153
fi
154154

155155
# Configure RPC.
156-
FLAGS="$FLAGS --http --http.addr=0.0.0.0 --http.api=admin,debug,trace,eth,net,web3"
157-
FLAGS="$FLAGS --ws --ws.addr=0.0.0.0 --ws.api=admin,debug,trace,eth,net,web3"
156+
FLAGS="$FLAGS --http --http.addr=0.0.0.0 --http.api=admin,debug,trace,eth,net,txpool,web3"
157+
FLAGS="$FLAGS --ws --ws.addr=0.0.0.0 --ws.api=admin,debug,trace,eth,net,txpool,web3"
158158

159159
if [ "$HIVE_TERMINAL_TOTAL_DIFFICULTY" != "" ]; then
160160
JWT_SECRET="7365637265747365637265747365637265747365637265747365637265747365"

0 commit comments

Comments
 (0)