Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Create tool to extract network snapshot #1135

Open
nonsense opened this issue Jan 18, 2019 · 0 comments
Open

Create tool to extract network snapshot #1135

nonsense opened this issue Jan 18, 2019 · 0 comments
Milestone

Comments

@nonsense
Copy link
Contributor

nonsense commented Jan 18, 2019

Once we hit a bug in a private deployment, we should have a way to extract the network topology, maybe in terms of a snapshot JSON, so that we can reproduce the bug in a test environment with the Simulation framework.

screen shot 2019-01-17 at 18 57 56

screen shot 2019-01-17 at 18 58 06


  1. Create a binary that takes the following params (assume that kubectl proxy is running on the local machine, so you can target http://localhost:8001):
./extract_network_topology --namespace=staging --deployment=swarm-private --nodes=30 > snapshot.json
  1. You can add the binary under github.com/ethereum/go-ethereum/cmd/swarm/extract_network_topology
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants