go-ethereum/p2p/simulations/adapters
gary rong c52dfd55fb
p2p/simulations/adapters/exec: fix some issues (#21801)
- Remove the ws:// prefix from the status endpoint since
  the ws:// is already included in the stack.WSEndpoint().
- Don't register the services again in the node start.
  Registration is already done in the initialization stage.
- Expose admin namespace via websocket.
  This namespace is necessary for connecting the peers via websocket.
- Offer logging relevant options for exec adapter.
  It's really painful to mix all log output in the single console. So
  this PR offers two additional options for exec adapter in this case
  testers can config the log output(e.g. file output) and log level
  for each p2p node.
2020-11-10 14:19:44 +01:00
..
exec.go p2p/simulations/adapters/exec: fix some issues (#21801) 2020-11-10 14:19:44 +01:00
inproc.go les, p2p/simulations/adapters: fix issues found while simulating les (#21761) 2020-10-30 18:04:38 +01:00
inproc_test.go p2p/simulations: fix staticcheck warnings (#20322) 2019-11-19 17:16:42 +01:00
types.go p2p/simulations/adapters/exec: fix some issues (#21801) 2020-11-10 14:19:44 +01:00