mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 09:37:38 +00:00
add net namespace (#974)
This commit is contained in:
parent
c61f8a5bdb
commit
325785aba4
@ -110,7 +110,7 @@ it can run from a snapshot of a database for read-only calls.
|
||||
|
||||
```
|
||||
> make rpcdaemon
|
||||
> ./build/bin/rpcdaemon --chaindata ~/Library/TurboGeth/tg/chaindata --http.api=eth,debug
|
||||
> ./build/bin/rpcdaemon --chaindata ~/Library/TurboGeth/tg/chaindata --http.api=eth,debug,net
|
||||
```
|
||||
**For remote DB**
|
||||
|
||||
|
@ -8,7 +8,7 @@ it can run from a snapshot of a database for read-only calls. [Docs](./cmd/rpcda
|
||||
|
||||
```
|
||||
> make rpcdaemon
|
||||
> ./build/bin/rpcdaemon --chaindata ~/Library/TurboGeth/tg/chaindata --http.api=eth,debug
|
||||
> ./build/bin/rpcdaemon --chaindata ~/Library/TurboGeth/tg/chaindata --http.api=eth,debug,net
|
||||
```
|
||||
**For remote DB**
|
||||
|
||||
|
@ -31,8 +31,8 @@ open plot.html
|
||||
### Results from my Macbook:
|
||||
start rpcdaemon with turbo_geth:
|
||||
```
|
||||
GODEBUG=remotedb.debug=1 go run ./cmd/tg --private.api.addr localhost:9997 --rpcport 8545 --rpc --rpcapi eth,debug --nodiscover
|
||||
GODEBUG=remotedb.debug=1 go run ./cmd/rpcdaemon --rpcapi eth,debug --rpcport 9545 --private.api.addr 127.0.0.1:9997
|
||||
GODEBUG=remotedb.debug=1 go run ./cmd/tg --private.api.addr localhost:9997 --rpcport 8545 --rpc --rpcapi eth,debug,net --nodiscover
|
||||
GODEBUG=remotedb.debug=1 go run ./cmd/rpcdaemon --rpcapi eth,debug,net --rpcport 9545 --private.api.addr 127.0.0.1:9997
|
||||
```
|
||||
|
||||
On simple requests `eth_getBlockByNumber` RPC Daemon looks well:
|
||||
|
@ -38,7 +38,7 @@ services:
|
||||
|
||||
rpcdaemon:
|
||||
image: turbo-geth:latest
|
||||
command: rpcdaemon --private.api.addr="turbo-geth:9090" --http.addr="0.0.0.0" --http.vhosts="*" --http.corsdomain="*" --http.api="eth,debug"
|
||||
command: rpcdaemon --private.api.addr="turbo-geth:9090" --http.addr="0.0.0.0" --http.vhosts="*" --http.corsdomain="*" --http.api="eth,debug,net"
|
||||
ports:
|
||||
- 8545:8545
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user