Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--maxpeers 0 should be considered valid input. #510

Closed
AFDudley opened this issue Mar 17, 2015 · 2 comments
Closed

--maxpeers 0 should be considered valid input. #510

AFDudley opened this issue Mar 17, 2015 · 2 comments

Comments

@AFDudley
Copy link

Ideally, this could be used to indicate a local testnet, instead this is the error:
$ docker run -it ethereum/client-go --maxpeers 0
Welcome to the FRONTIER
2015/03/17 08:46:04 [CHAIN] Last block (#0) fd4af92a79c7fc2fd8bf0d342f2e832e1d4f485c85b9152d2039e03bc604fdca TD=0
2015/03/17 08:46:04 [POW] Making Cache
2015/03/17 08:46:06 [POW] Took: 1.639890298s
2015/03/17 08:46:06 [CLI] Starting Ethereum(G)/v0.9.0/linux/go1.4.2
2015/03/17 08:46:06 [P2P Server] Starting Server
Fatal: Server.MaxPeers must be > 0

@zelig
Copy link
Contributor

zelig commented Mar 17, 2015

will fix as part of #485

@AFDudley
Copy link
Author

Thanks.

nolash pushed a commit to nolash/go-ethereum that referenced this issue May 8, 2018
swarm/network: debug high disk utilisation
tanishqjasoria pushed a commit to tanishqjasoria/go-ethereum that referenced this issue Oct 31, 2023
* p2p: move ping handling into pingLoop goroutine (ethereum#27887)

Moving the response sending there allows tracking all peer goroutines
in the peer WaitGroup.

* bump version

---------

Co-authored-by: Felix Lange <[email protected]>
s1na pushed a commit to s1na/go-ethereum that referenced this issue Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants