grin/grin.toml
Yeastplume 26ce1d27d7 Updates to ensure multithreaded CI tests don't fail (#81)
Locks loading of miner plugins so it only ever happens once.
2017-07-19 16:40:57 +00:00

94 lines
2.5 KiB
TOML

# Sample Server Configuration File for Grin
#
# When running the grin executable without specifying any command line
# arguments, it will look for this file in three places, in the following
# order:
#
# -The working directory
# -The directory in which the executable resides
# -[user home]/.grin
#
#Server connection details
[server]
#the address on which services will listen, e.g. Transaction Pool
api_http_addr = "127.0.0.1:13413"
#the directory, relative to current, in which the grin blockchain
#is stored
db_root = ".grin"
#How to seed this server, can be None, List or WebStatic
seeding_type = "None"
#if seeding_type = List, the list of peers to connect to.
#seeds = ["192.168.0.1:8080","192.168.0.2:8080"]
#Whether to run in test mode. This affects the size of
#cuckoo graph.
#If this is true, CONSENSUS::TEST_SIZESHIFT is used
#If this is false, CONSENSUS::DEFAULT_SIZESHIFT is used
test_mode = true
#7 = Bit flags for FULL_NODE, this structure needs to be changed
#internally to make it more configurable
capabilities = [7]
#The P2P server details (i.e. the server that communicates with other
#grin server nodes
[server.p2p_config]
host = "127.0.0.1"
port = 13414
#Mining details. This section is optional. If it's not here, the server
#will default to not mining.
[mining]
#flag whether mining is enabled
enable_mining = true
#Whether to use cuckoo-miner, and related parameters
use_cuckoo_miner = true
#If using cuckoo_miner, the directory in which plugins are installed
#if not specified, grin will look in the directory /deps relative
#to the executable
#cuckoo_miner_plugin_dir = "target/debug/deps"
#if using cuckoo_miner, the implementation to use.. currently
#just filters for this word in the filenames in the plugin
#directory
#Plugins currently included are:
#"simple" : the basic cuckoo algorithm
#"edgetrim" : an algorithm trading speed for a much lower memory footprint
#"tomato" : Time memory-tradeoff... low memory but very slow
#Not included but verified working:
#"cuda" a gpu miner - which currently needs to bebuilt and installed
#separately from#the cuckoo-miner repository. Instructions found there
cuckoo_miner_plugin_type = "simple"
#the list of parameters if you're using "edgetrim"
#cuckoo_miner_parameter_list = {NUM_THREADS=4, NUM_TRIMS=7}
#the wallet reciever to which coinbase rewards will be sent
wallet_receiver_url = "http://127.0.0.1:13415"
#whether to ignore the reward (mostly for testing)
burn_reward = true
#testing value, optional
#slow_down_in_millis = 30