EspressoSystems / HotShot

http://hotshot.docs.espressosys.com/
MIT License
122 stars 31 forks source link

[LIBP2P] Parameterize the DHT timeout #2088

Closed rob-maron closed 1 month ago

rob-maron commented 11 months ago

Describe the task

Right now, the DHT timeout as specified in the Libp2p network is hardcoded and optimal for 10-30 nodes. We want to parameterize this so we can change it based on the number of actual nodes in the run. This is especially helpful for testing purposes.

To complete this task, we will need to

  1. Add the DHT timeout to the testing metadata.
  2. Add the DHT timeout to the example parameters

Both of these just require adding and using a simple parameter. May require working a bit through the codebase to chase down anything.

Acceptance Criteria

Describe the acceptance criteria needed for this task to be closed

Checklist

bfish713 commented 8 months ago

We set this pretty high during investigations, we should work it down to something more reasonable now that the issues are resolved.