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

Update private testnet doc #1861

Closed
abitmore opened this issue Jul 20, 2019 · 5 comments
Closed

Update private testnet doc #1861

abitmore opened this issue Jul 20, 2019 · 5 comments
Labels
5a Docs Needed Status specific to Documentation indicating the need for proper documentation to be added

Comments

@abitmore
Copy link
Member

The default value of required-participation parameter in witness plugin is 33, with this number, when starting a private testnet, the node won't produce blocks.

@abitmore abitmore added the 5a Docs Needed Status specific to Documentation indicating the need for proper documentation to be added label Jul 20, 2019
@cedar-book
Copy link

cedar-book commented Jul 21, 2019

===============================================
-witness plugin options
===============================================
Enable block production, even if the chain is stale.
-enable-stale-production = false
Percent of witnesses (0-100) that must be participating in order to produce blocks
-required-participation = 33
ID of witness controlled by this node (e.g. "1.6.5", quotes are required, may specify multiple times)
-witness-id =
Tuple of [PublicKey, WIF private key] (may specify multiple times)
-private-key = .....
//---------- (the above is from current config.ini)----------------

Why the default value is 33?

What would be a recommendation for people who want to start a private testnet?

  • enable-stale-production = false
  • required-participation = 33 -->1? Can they start with 0 first time?
    //-----------------

Currently, Private Testnet - setup section says this. And Note: It’s important to activate a 2/3 majority of the witnesses defined in the genesis file.
If so, required-participation would depend on how many witnesses have been activated in thrie private testnet genesis file ?

@abitmore
Copy link
Member Author

Yes, need to change required-participation to 0.

@cedar-book
Copy link

As a quick note. Updated the information on this page's example Configuration for Private Testnets and added a warning.

@abitmore abitmore added this to the 3.3.0 - Feature Release milestone Jul 22, 2019
@abitmore
Copy link
Member Author

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5a Docs Needed Status specific to Documentation indicating the need for proper documentation to be added
Projects
None yet
Development

No branches or pull requests

3 participants