Skip to content

Utility for manage chia plot with web interface and restart

Notifications You must be signed in to change notification settings

FairWindCo/start_chia

Repository files navigation

Chia Plotter Control Utility

This utility for control process creation chia plot

  • Web Interface for utility
  • Automatically restart
  • Internal task query with manage
  • Plot statistics
  • Chia farm/wallet info

##Configuration For start configuration use "config.ini" file in same directory.

###Configuration parameters:

Section "default" is template and global parameters

[default]
chia_path - path for chia.exe cli utulity (if empty, program try fint utility automaticaly)

thread_per_plot - number of thread per plot process

parallel_plot - if parallel_plot > 1 then create paralel process with same configs

temp_dir - temp dir for ploting

work_dir - dir where complete file 

memory - memory limit in mb for one process

bucket - number ob backet

k_size - K size

plots_count - number of plots for creation

auto_restart - true/false restart process when plots_count riched, default = False 

auto_find_exe - true/false automaticaly find chia cli util, default = True 

pause_before_start - true/false pause before first plot creation start, default = 0 

recheck_work_dir - true/false if set true add dir to farmer, default = False 

fingerprint - chia wallet fingerprint

pool_pub_key - chia pool public key

farmer_pub_key - chia wallet public key

start_node - true/false if true start node (chia start node)

set_peer_address - if not empty exec command "chia configuration --set_peer_address <address:port>"

start_shell - true/false exec command in shell proess

shell_name - shell name, default 'powershell'

p_open_shell true/false parameters for subprocess command, default = False 

code_page - console code page, default cp1251

bitfield_disable true/false - use bitfield options default = False


###Other default options for configuration utility


api_id - Telegram application id 
api_hash - Telegram application id
send_to - list of recipient for send info message
short_message - true/false - send short message
telegram_time - interal sending message about state of work
info_update_time - refresh interal wallet/farm information 
for Release after 0.1
local_nodes - list full node in form <ip>:<port>, <ip>:<port>    
search_nodes_site - url with node list, default is "https://chia.keva.app/"
search_nodes - true/false exec site search 
chia_config_path - path to chia config dir, if not set program try find himself 
chia_farm_rpc - rpc tcp port of farm process, default 8555
chia_wallet_rpc - rpc tcp port of wallet process, default 9256
chia_farm_host - host of farm and wallet process, default localhost

###Task configuration For every process need create section with any name (not default) like [pool-1] in this section your may redefine global options

##Example

[default]
chia_path=
thread_per_plot=2
parallel_plot=2
temp_dir=D:\
work_dir=F:\
memory=4608
bucket=128
k_size=32
bitfield_disable=False
farmer_pub_key=
pool_pub_key=
fingerprint=
plots_count=1
api_id=
api_hash=
send_to=

[pool_1]
temp_dir=d:\tmp
work_dir=d:\safe
pause_before_start=1