-
Notifications
You must be signed in to change notification settings - Fork 90
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
*: update v0.17 branch with latest code for release #2528
Commits on Aug 9, 2023
-
dkg: increase bcast receive timeout (#2490)
Makes DKG P2P receive timeout configurable and increases it from the default 5s to 1min allowing peers to broadcast messages much earlier and having them wait longer for the receiver to handle to properly. This was encountered in large DKG where some peers are much slower than others, still doing key generation even though others are already sharing node sigs and erroring after 5s since the slow peer doensn't have a lock hash yet to verify the received node sigs. category: refactor ticket: none
Configuration menu - View commit details
-
Copy full SHA for 279223a - Browse repository at this point
Copy the full SHA 279223aView commit details -
p2p: set default send timeout (#2494)
We didn't actually set timeouts when sending libp2p messages, only when receiving message. Not setting timeouts is bad practice. See more info on this [here](https://dev.to/bearer/the-importance-of-request-timeouts-l3n) and [here](https://medium.com/booking-com-development/io-socket-timeout-socket-timeout-made-easy-4dfd43e777f7). This sets the send timeout equivalent to the read timeout, allowing up to 1s latency between nodes, so read timeout+2s. category: misc ticket: none
Configuration menu - View commit details
-
Copy full SHA for db87f30 - Browse repository at this point
Copy the full SHA db87f30View commit details -
dkg: exchange sigTypes concurrently (#2496)
Before this commit, calling `exchange()` would listen for new incoming messages and discard everything that didn't carry the expected `sigType`. In a DKG one node might fall behind the others (for example, while DKG'ing 3000 validator keys) and send `sigTypes` that the other peers have already received threshold for. This PR makes sure a given instance of `exchanger` will hold onto all messages whose `sigTypes` are specified during its initialization phase. Calling `exchange()` will return as soon as there are enough messages for the specified `sigType`, but different `sigType`s messages will still be stored and will be returned when requested by means of another `exchange()` call, with a different `sigType` argument. category: bug ticket: #2491 Closes #2491.
Configuration menu - View commit details
-
Copy full SHA for 4c32aa8 - Browse repository at this point
Copy the full SHA 4c32aa8View commit details -
dkg/sync: introduce explicit sync steps (#2509)
Introduces explicit sync steps in DKG, allowing all peers to wait for other to complete each step before continuing to next step. This prevents fast peers timing out sending stuff to slow peers. It also mitigates against shutdown races. category: bug ticket: #887
Configuration menu - View commit details
-
Copy full SHA for 694dda5 - Browse repository at this point
Copy the full SHA 694dda5View commit details -
dkg: wait for all validator key sigs (#2510)
Wait until all peer's validator signatures over exchanger-handled data. This should fix nightly test. category: bug ticket: none
Configuration menu - View commit details
-
Copy full SHA for 6c30a76 - Browse repository at this point
Copy the full SHA 6c30a76View commit details -
testutil/compose: integrate p2p fuzz to compose (#2504)
Integrates p2p fuzz to compose. category: test ticket: #2375
Configuration menu - View commit details
-
Copy full SHA for 2a9e2a6 - Browse repository at this point
Copy the full SHA 2a9e2a6View commit details -
*: bump go version to
1.20.7
(#2511)Also fixes latest `govulncheck` issues. category: misc ticket: none
Configuration menu - View commit details
-
Copy full SHA for 45783e4 - Browse repository at this point
Copy the full SHA 45783e4View commit details -
dkg: lockstep success message (#2514)
Make every peer participating in the DKG wait for the "slow" one, and synchronize the `Successfully completed DKG ceremony 🎉` message output. category: misc ticket: none
Configuration menu - View commit details
-
Copy full SHA for 2998ce3 - Browse repository at this point
Copy the full SHA 2998ce3View commit details -
core/validatorapi: close proxy requests on shutdown (#2516)
Fixes soft shutdown by cancelling long running proxied requests. This is because long lived connections are not interrupted by `http.Server.Shutdown`: ``` // Shutdown gracefully shuts down the server without interrupting any // active connections. Shutdown works by first closing all open // listeners, then closing all idle connections, and then waiting // indefinitely for connections to return to idle and then shut down... ``` category: bug ticket: #2435
Configuration menu - View commit details
-
Copy full SHA for 805e0aa - Browse repository at this point
Copy the full SHA 805e0aaView commit details -
app/obolapi: create cluster launchpad URL (#2518)
Add the `LaunchpadURLForLock` method, which generates a Launchpad cluster dashboard URL for a given cluster lock. Reference this method in `dkg` and `create cluster` commands so that at the end of those processes, if the user has specified `--publish`, the Launchpad dashboard URL will be printed on the console. category: feature ticket: #2423 Closes #2423.
Configuration menu - View commit details
-
Copy full SHA for 7352fde - Browse repository at this point
Copy the full SHA 7352fdeView commit details