-
Notifications
You must be signed in to change notification settings - Fork 12
Config
Zane Witherspoon edited this page Aug 11, 2018
·
5 revisions
Your disgo client come ready to connect to the most recent version on the Dispatch network. If you want to connect to a different network or change some of the specific functionality of your node, you can make changes in your nodes configuration. When you first launch a disgo node, a config folder will be generated in the main repo. This folder contains:
- config.json - Configurable information about your disgo node. More details below.
- account.json - Basic information about your address
- key.pem - Your auto-generated private key file
The config file itself contains quite a few fields that lets you do things like update your address, connect to another network, and configure how much work your node does. The config.json fields are:
- httpEndpoint - Defines the user facing endpoints for things like querying the seed for delegate addresses and sending transactions to delegates.
- grpcEndpoint - Reserved for inter-delegate communication.
- grpcTimeout - The timeout for how long you as a delegate will wait for other delegate responses.
- seedAddresses - Defaults to "seed.dispatchlabs.io". Change to connect to the seed node of another network.
- seedEndpoints - Defaults to 1973. Change to connect to a different port on the seed node of the network.
- isBookkeeper - (true/false) Defaults to true. Determines if your node executes transactions it receives or if they wait for a receipt/result from a Bookkeeper.
- useQuantumEntropy - (true/false) Added to be forward compatible with planned quantum functionality.
- genesis Transaction - Used by delegates to define a deterministic balance with which to start the ledger.