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

Threshold to main #38

Merged
merged 54 commits into from
Nov 29, 2022
Merged

Threshold to main #38

merged 54 commits into from
Nov 29, 2022

Conversation

nitronit
Copy link
Owner

@nitronit nitronit commented Nov 7, 2022

No description provided.

nitronit and others added 30 commits September 16, 2022 17:27
* Update raft-grpc-transport to fix close connections issue

* Bump raft to v1.3.10

* Reset counter if block is signed to make test less flaky
DavidNix and others added 23 commits October 2, 2022 10:06
Merge pull request strangelove-ventures#93 from chillyvee/add_prometheus
Co-authored-by: Andrew Gouin <andrew@gouin.io>
Fix: typos

Co-authored-by: Andrew Gouin <andrew@gouin.io>
* Add tests for leader election and cleanup related code

* lint fix

* Show container logs for failed tests

* Add retries for privval timeout

* Add cmd to get current leader from CLI

* wait for signed blocks after electing leader before checking leader among cluster

* Make client package for address utils. Don't swallow errors

* Simplify sanitize address
* Add assertions for t > n/2 for both key sharding and cosigner daemon start

* Show container logs for failed tests

* Update tests

* Fix set state test

* Prefer t.Setenv in tests. Fix error message
…trangelove-ventures#118)

* Add signature and timestamp to log for adjusted timestamp visibility

* Reduce line length

* Handle empty Signature
* Threshold signer interface

* local cosigner fix

* fixed some minor renaming package

* fix switch to casting

* remove scope introducing block

* fixed: TODO check true here is correct for async

* Removed scope-introducing blocks

* go lint fix

* not all is fixed but most.

* Fix the unreadabillity setting slots.

* Update threshold_signer_soft.go

* lint fix

* Minor corrections and fixes

* Variable cleaning up.
@nitronit nitronit marked this pull request as ready for review November 22, 2022 21:51
CosignerEphemeralSecretPart, error) {

res := CosignerEphemeralSecretPart{}

// protects the meta map
m.LastSignStateMutex.Lock()
defer m.LastSignStateMutex.Unlock()
m.lastSignStateMutex.Lock()
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be a wrapper?

@nitronit nitronit merged commit fbb8464 into main Nov 29, 2022
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

Successfully merging this pull request may close these issues.

5 participants