Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Add ability to specify initial bets #161

Closed
naterush opened this issue Dec 20, 2017 · 2 comments
Closed

Add ability to specify initial bets #161

naterush opened this issue Dec 20, 2017 · 2 comments

Comments

@naterush
Copy link
Contributor

naterush commented Dec 20, 2017

Issue

Currently, for some protocols, each validator is randomly assigned an initial starting estimate. For example, in Binary consensus, each validator is randomly assigned an initial estimate. Ideally, we would be able to control these initial estimates.

Proposed Implementation

Protocols can store a dictionary from validator name => initial estimate, in the protocols that it makes sense. Some function can populate this dictionary with initial estimates.

If some initial messages are specific, the validators should use these in their first bet. Otherwise, they can choose a random estimate, as they do currently.

@djrtwo
Copy link
Contributor

djrtwo commented Dec 21, 2017

Seems reasonable.

@naterush naterush changed the title Specifying Initial Bets Add ability to specify initial bets Feb 23, 2018
@naterush
Copy link
Contributor Author

Addressed #175

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants