madMAx plotter win v0.1.5のGUI PlotManager.exeを使う記述にするため時間かかりました。申し訳ありません。より初心者向けになったと思います。
すみません。contract addressを設定するところを間違ってLauncher ID入れてました。修正済みです@2021/08/22
今回は最終回で、Chia Pool向けに高速な madMAx plotterでplotしていくところを説明します。
madMAx plotter windows のインストール

ここからダウンロードしてください。
現在、madMAx plotterは v0.1.6-chivesが最新ですが、updateはChives対応のみで、さらにPlotManger.exeが付属していません。最初はv0.1.5を使うのが良いでしょう。
v0.1.6-Chivesを使う場合には、chia_ploterフォルダ下のchia_plot.exeを入れ替えれば良いようです。

ダウンロードが終わったら「C:\」で解答してください。説明しやすいように「C:\」としましたがどこでも大丈夫です。

作業フォルダを決めましょう


ここでは
【テンポラリフォルダ名】 D:\tmp
【最終Plotフォルダ】 E:\Corel-Fish
を使います。最終Plotフォルダ名の一部にPlot NFTの名前のを使うと、紐付けを確認しやすくて便利です。
ここではわかりやすさと、Core i7+Gen4 SSDではテンポラリディレクトリ二つの恩恵が得られなかったため、テンポラリディレクトリはD:\tmpの一つにしています。二つ使う場合には下記の説明を参考にしてください。
tmpdirは約220GiBのスペースを必要とし、すべての書き込みの約25%を処理します。 (例: ‘./’、’/ mnt / tmp /’)
tmpdir2は約110GiBのスペースを必要とし、理想的にはRAMドライブであり、すべての書き込みの約75%を処理します。
合計(tmpdir + tmpdir2)のピークディスク使用量は256GiB未満です。
D:\tmpの使用量は256GiB未満となるようです。
忘れずに Chia 側で「耕地ディレクトリを追加」しておきましょう。ChiaアプリケーションでPlotすると自動で耕地ディレクトリ追加されますが、madMAxでPlotするため自分で追加する必要があります。
初期状態ではここから追加。

Plotがすでにいくつかある場合には、ここから追加します。

Farmer key、Contract Address、Launcher IDの確認
実際にmadMAx PlotManeger.exeを動かす前に Farmer keyとプール Contract Address、 Launcher IDを確認しておきましょう。



PlotManeger.exeの実行
いよいよ PlotManeger.exeをダブルクリックして起動です。

Farmer Key, Launcher ID, フォルダ設定、パラメータ設定を行います。

最終Plotフォルダを指定して、Plot数を指定したら「Start」です。

これでPlotがスループット35分くらいで増えていくはずです。
Plot確認

プール側urlでも確認しましょう。
HDDMiningPool.jpではここです。

PoolChiaではMY PLOTSにLauncher IDいれて確認してください。
うまくいっていればどんどん入金されてくるはずです。

CLIコマンド、バッチファイル例
CLIとして使う場合は下記オプションで指定して実行です。
Usage:
chia_plot [OPTION…]
-n, –count arg Number of plots to create (default = 1, -1 = infinite)
-r, –threads arg Number of threads (default = 4)
-u, –buckets arg Number of buckets (default = 256)
-v, –buckets3 arg Number of buckets for phase 3+4 (default = buckets)
-t, –tmpdir arg Temporary directory, needs ~220 GiB (default = $PWD)
-2, –tmpdir2 arg Temporary directory 2, needs ~110 GiB [RAM] (default =<tmpdir>)
-d, –finaldir arg Final directory (default = <tmpdir>)
-w, –waitforcopy Wait for copy to start next plot
-p, –poolkey arg Pool Public Key (48 bytes)
-c, –contract arg Pool Contract Address (62 chars)
-f, –farmerkey arg Farmer Public Key (48 bytes)
-G, –tmptoggle Alternate tmpdir/tmpdir2
-K, –rmulti2 arg Thread multiplier for P2 (default = 1)
–help Print help
今回、PlotManagerで実行したのと同じように動作させるには下記のコマンドとなります。
1 |
> chia_plot.exe -n 73 -r 16 -K 16 -u 256 -t D:\tmp\ -d E:\Coral-Fish\ -c <Launcher ID> -f <Farmer key> |
菜園の柱では下記のバッチファイルをよく使っています。ご参考です。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
@echo off if "%1" == "" goto PARAM_ERROR rem ### 1コマンドplotする連続plot数。1以上なら最終Copyはplotの裏に隠れます! set n=%1 echo %1回 Plot します。 rem ドライブとディレクトリ名を間違えないように rem エクスプローラーからコピペした方がいい set ssdpart=CFD-1 rem ディレクトリ名は最後'\'で終わること rem メインtemp : 75% or 100% アクセス set chiatemp=D:\chia-tmp-%ssdpart%\ rem 2nd temp : 25%アクセス rem set slowtemp=E:\chia-tmp-pro1-1\ rem ファイナルディレクトリ set chiaplot=N:\nft-bc-m-CFD\ if NOT EXIST %chiatemp% goto NOT_FOUND_ERROR_TEMP if NOT EXIST %chiaplot% goto NOT_FOUND_ERROR_PLOT echo 一時ファイルを消しています: %chiatemp% del /q %chiatemp%\* rem ファイルからchia versionを取得 for /f %%i in ('type c:\bat\key-farmer.txt') do set key_farmer=%%i echo public farmer key: %key_farmer% set contract_file=c:\bat\contract-bc.txt for /f %%i in ('type %contract_file%') do set contract=%%i echo contract addr : %contract_file% : %contract% for /f %%i in ('type c:\bat\version.txt') do set chia_ver=%%i echo chia ver: %chia_ver% for /f %%i in ('type c:\bat\version-plotter.txt') do set plotter_ver=%%i echo chia-plotter ver: %plotter_ver% c: cd C:\chia-plotter\win_v%plotter_ver% rem 1時間 ... 3600 rem echo 30分まちます rem timeout /t 1800 setlocal ENABLEDELAYEDEXPANSION rem for /l %%n in (1,1,%n%) do ( #このような指定でループにできる for /l %%n in (1,1,1) do ( set time2=!time: =0! set datetime=!date:~0,4!!date:~5,2!!date:~8,2!-!time2:~0,2!!time:~3,2!!time:~6,2! echo !datetime! echo ---------- echo chia-plotterで %n% 回連続Plotします set logfile=C:\chia-plotter\logs-plotter\%ssdpart%-n%n%-!datetime!.log echo logfile = !logfile! powershell ".\chia_plot.exe -n %n% -r 16 -u 256 -K 16 -t %chiatemp% -d %chiaplot% -c %contract% -f %key_farmer% | tee '!logfile!' rem あまり速く回りすぎないように1秒待つ timeout /t 1 ) endlocal echo 完了! exit /b :PARAM_ERROR echo パラメーターエラー:Plot回数を指定してください exit /B :NOT_FOUND_ERROR_TEMP echo %chiatemp%が存在しません。 exit /B :NOT_FOUND_ERROR_PLOT echo %chiaplot%が存在しません。 exit /B |