Description
GIWA currently enables more RPC namespaces than Reth's standard eth,net,web3 set:
--ws.api=web3,debug,eth,net,txpool
--http.api=web3,debug,eth,net,txpool,miner
The additional namespaces increase the exposed RPC surface:
debug methods can consume significant resources.
txpool exposes the node-local transaction pool.
miner allows changes to block-builder settings.
These APIs are not required for standard GIWA node operation.
Proposed change
Use a smaller default API set while allowing operators to enable additional namespaces through .env.{network}:
--http.api="${RETH_HTTP_API:-eth,net,web3}"
--ws.api="${RETH_WS_API:-eth,net,web3}"
Example:
RETH_HTTP_API=eth,net,web3,debug
RETH_WS_API=eth,net,web3,txpool
Reth also supports all and none.
Compatibility
This changes the default behavior. Existing users of debug, txpool, or miner must explicitly enable those namespaces after upgrading.
The README should document the new environment variables and include an upgrade note.
Description
GIWA currently enables more RPC namespaces than Reth's standard
eth,net,web3set:The additional namespaces increase the exposed RPC surface:
debugmethods can consume significant resources.txpoolexposes the node-local transaction pool.minerallows changes to block-builder settings.These APIs are not required for standard GIWA node operation.
Proposed change
Use a smaller default API set while allowing operators to enable additional namespaces through
.env.{network}:Example:
Reth also supports
allandnone.Compatibility
This changes the default behavior. Existing users of
debug,txpool, orminermust explicitly enable those namespaces after upgrading.The README should document the new environment variables and include an upgrade note.