good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 325785ab authored by Alex Sharov's avatar Alex Sharov Committed by GitHub
Browse files

add net namespace (#974)

parent c61f8a5b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment