zArchive~Gridcoinresearch Config File

NeuralMiner edited this page Oct 18, 2018 · 1 revision

Default gridcoinresearch.conf location

Windows:  %AppData%\GridcoinResearch\

Linux:    ~/.GridcoinResearch/

macOS:    /Users/USERNAME/Library/Application Support/GridcoinResearch/

Testnet

Note: It is not supported to enter testnet=1 flag into configuration file. It must be specified on the command line in the form of -testnet argument. Keyword testnet in configuration file has undefined behavior. See Testnet for more information.

Basic Configuration File

#############################################################################
#################### Example gridcoinresearch.conf file #####################
#############################################################################
##
## For further details on this configuration file please see [Testnet](Testnet "wikilink")
##
## Default gridcoinresearch.conf location:
##
##  Win:   %AppData%\GridcoinResearch\
##  Linux: ~/.GridcoinResearch/
##  macOS: /Users/USERNAME/Library/Application/Support/GridcoinResearch/
##
## Single # lines are commands, remove the # in Front of the Command to use it
## Double ## lines are comments
##
#############################################################################
####################### Required Settings (All OS's) ########################
#############################################################################

## Community provided list of addnodes available at [List of Addnodes](List-of-Addnodes "wikilink")
#~~~~~Copy & Paste Addnodes here~~~~~


#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

## BOINC account settings, i.e. your BOINC CPID & E-Mail
## Use INVESTOR for Investor or Pool Mining
PrimaryCPID=INVESTOR
email=INVESTOR

## Port 32749/TCP required for Inbound Connections
## (Not required but highly recommended)
listen=1

## Required for Headless set-ups
#daemon=1

#############################################################################
############# RPC Settings for Remote Access and Headless Users #############
############ Warning: Set a Good Password and Secure Your System ############
#############################################################################

#server=1
#rpcallowip=127.0.0.1
#rpcallowip=<IP Address of Remote System>
#rpcport=<Port for RPC Communication>
#rpcuser=<A Username for RPC>
#rpcpassword=<A GOOD Password for RPC>

#############################################################################
######################## Optional BOINC settings ############################
########### (Required if BOINC installed to non-default location) ###########
#############################################################################

## Windows (Note the double backslashes are necessary)
#boincdatadir=C:\\ProgramData\\BOINC\\
#boincappdir=C:\\Program Files\\BOINC\\

## Linux
#boincdatadir=/var/lib/boinc-client/

## macOS
#boincdatadir=/Library/Application Support/BOINC Data/

#############################################################################
######################## Optional Network settings ##########################
#############################################################################

## Maximum number of inbound+outbound connections.Default 125
maxconnections=125
## Maximum number of outbound connections.Default 8
maxoutboundconnections=8
## Manually Set-up Ports
#upnp=false
#externalip=<Your IP Address>
#port=32748

Addnodes

The list of addnodes you provide are the nodes that your client will attempt to establish outbound connections with. The basic configuration file does not include addnodes. A full current list of addnodes can be found List of Addnodes

If your system fails to sync, check your List of Addnodes against the current list.

Ensure you don't have an addnode=your own ip, or you will end up banning yourself (because when the node sends itself the first message, the local time is far enough off of the network time (which it does not know yet) so it will ban itself.

Other Entries

Most of Gridcoin's config file flags and command line arguments are taken directly from Bitcoin, and you can find a list which explains a lot of these options here: https://en.bitcoin.it/wiki/Running_Bitcoin

A few additions which are specific to Gridcoin are listed below:

Auto-unlock feature - use encrypted wallet for staking

See: Wallet_Auto-unlock_for_staking

exportmagnitude=true

GRC will export mags to CSV once per day.

suppressupgrade=true

Blocks client from upgrading on its own.

suppressban=true

Turns off DDOS security in GRC client. Not recommended.

debug=true

Let your node receive tons of extra messages in debug.log and debug2.log.

If you lose disk space you can set debug=false in the config file and delete your debug.log. After version 3.3.0.8 Gridcoin shrinks its debug logs every time you boot down to about 150k, so it should technically stay very manageable from this point forward.

debug2=true

A way for tester to focus on up to date issues in a succinct manner - but you don't have to set it as it will just wretch out a lot of stuff that Rob is working on...

reboot=1

On invalid checkpoints do not enter safemode, but retry.

showorphans=true

Option to let you decide if you want to see the orphaned transactions in your transaction list - helpful for debugging them. Usually, coinstake transactions that are not in the main chain are removed from the list.

suppressrestart=true

Stop client from automated restarting. Became default. If anyone wants the wallet to reboot after it reorganizes the chain they will have to add suppressreboot=false

suppressreboot=true

Seems to prevent crashes rather than supressreboot.

suppressvoice=true

Prevent wallet from talking to you. This feature was removed in wallet v3.5.9.4.

UpdatingLeaderboard=false

Don't update Neural Network while wallet is on.

poolmining=true

Tell the wallet you are in the pool.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.