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

Add hard coded variables for registration into client conf #97

Open
mingyech opened this issue Sep 8, 2022 · 0 comments
Open

Add hard coded variables for registration into client conf #97

mingyech opened this issue Sep 8, 2022 · 0 comments

Comments

@mingyech
Copy link
Member

mingyech commented Sep 8, 2022

Currently, the client hard codes some variables in the registrars. Consider putting them in their respective protobuf messages in client conf.

variable current assignment usage
connection delay api bdapi dns bddns decoy Length of time (in ms) to delay after confirming successful registration before attempting a connection, allowing for propagation throughout the stations. The decoy registrar uses a interval to randomly select a value configured with min max, so we may need to two values for it.
maximum registration attempts api bdapi dns bddns Maximum registration attempts before giving up. Currently, api and bdapi keep maximum registration retries, whereas dns and bddns keep total attempts. Lets change one of them to match the other.
reg width decoy Number of decoy registrations to send simultaneously.
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

No branches or pull requests

1 participant