Giter VIP home page Giter VIP logo

plotng's Introduction

PlotNG - plotting utility for Chia.Net

This utility consisted of server backend and UI which manages the chia plot creation.
It uses the chia command line interface to start the plot.
It will schedule new plots when a plot finishes as specified by the configuration file. The server backend does a cycle every minute and check if the configuration file has been changed, if it detects that it has been changed then it reloads the configuration file. Once a valid configuration file has been loaded then it will start one new plot per cycle.

Installation

Please download the latest release Pre-built binaries available for 64-bits Linux, Windows and MacOS (I've only tested Linux version, although other users confirmed it is working on Windows and MacOS)

Advance Installation from Source Code

go get github.com/maded2/plotng
cd plotng
go install plotng/cmd/plotng

Running Server (runs on the plotter)

plotng -config <json config file> -port <plotter port number, default: 8484>

Please note: chia enviornment should be activated before starting plotng

Running Monitoring UI (run anywhere)

PlotNG UI

The UI can run on any host and point back to the server using the host and port parameter

plotng -ui -host <plotter host name or IP> -port <plotter port number, default: 8484>

Configuration File (JSON format)

{
    "Fingerprint": "",
    "FarmerPublicKey": "",
    "PoolPublicKey": "",
    "Threads": 0,
    "Buffers": 0,
    "NumberOfParallelPlots": 0,
    "TempDirectory": ["/media/eddie/tmp1", "/media/eddie/tmp2", "/media/eddie/tmp3"],
    "TargetDirectory": ["/media/eddie/target1", "/media/eddie/target2"],
    "StaggeringDelay": 5,
    "ShowPlotLog": false,
    "DiskSpaceCheck": false,
    "DelaysBetweenPlot": 0,
    "MaxActivePlotPerTarget": 0
}

Settings

  • Fingerprint : fingerprint passed to the chia command line tool (you can either use the fingerprint if the private has been installed on the plotter or use the following farmer/pool public key instead)
  • FarmerPublicKey : Farmer Public Key passed to the chia command line tool
  • PoolPublicKey : Pool Public Key passed to the chia command line tool
  • Threads : number of threads use by the chia command line tool. If the value is zero or missing then chia will use the default
  • Buffers : number of buffers use by the chia command line tool. If the value is zero or missing then chia will use the default
  • DisableBitField : With BitField your plotting almost always gets faster. Set true if your CPU designed before 2010.
  • NumberOfParallelPlots : number of parallel plots to create. Set to zero for orderly shutdown
  • TempDirectory : list of plot directories / drives. The server process will choose the next directory path on the list and wraps to the beginning when it reaches the end.
  • TargetDirectory : list destination directories / drives. The server process will choose the next directory path on the list and wraps to the beginning when it reaches the end.
  • StaggeringDelay : when the TargetDirectory wraps to the beginning, it will delays the next plot create by the specified minutes.
  • ShowPlotLog : shows the last 10 lines of the plot logs in the server log output.
  • DiskSpaceCheck : check if destination directories have enough disk space to hold a new plot (only tested on Linux, may not work on MacOS / Windows)
  • DelaysBetweenPlot : Delays in mins between starting a new plot (minimum is 1 min)
  • MaxActivePlotPerTarget : Maximum active plots per target directory (default: 0 - no limit)

Please note PlotNG now skips any destination directory which have less than 105GB is space, if you set DiskSpaceCheck to true.

plotng's People

Contributors

maded2 avatar lutwidse avatar bitners avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.