100字范文,内容丰富有趣,生活中的好帮手!
100字范文 > chia苹果电脑命令行挖矿

chia苹果电脑命令行挖矿

时间:2022-02-06 18:37:23

相关推荐

chia苹果电脑命令行挖矿

官方说明:

git clone /Chia-Network/chia-blockchain.git -b latest

cd chia-blockchain

sh install.sh

. ./activate

sh install-gui.sh

cd chia-blockchain-gui

npm run electron &

安装并启动钱包

关闭钱包后命令行如下:

cd chia-blockchain/venv/bin

ls

Activate.ps1 chia_harvester opd

activate chia_introducer pip

activate.csh chia_timelord pip3

activate.fish chia_timelord_launcher pip3.9

brun chia_wallet python

chardetect cryptfile-convert python3

chia easy_install python3.9

chia_farmer easy_install-3.9 read_ir

chia_full_node keyring run

chia_full_node_simulator opc wheel

这里启动chia_farmer chia_havester

localhost:bin gary$ ./chia_farmer &

[1] 3603

localhost:bin gary$ ./chia_harvester &

[2] 3605

执行命令

./chia plots create -k32 -n1 -t/Users/gary/Downloads/farm -2/Users/gary/Downloads/farm -d/Users/gary/Downloads/final_farm -b4000 -u63 -r2 -a761481125

就可以挖矿了。参数k默认为32 可以填写更高的。参数t是缓存目录,参数-2为第二缓存目录。-n为一次挑战田的快数。-d为p盘目标位置。-b为内存 -u为缓存块。

-a为钱包 fingerprint,-r为线程数。

详细参数如下:

localhost:bin gary$ ./chia plots create --help

Usage: chia plots create [OPTIONS]

Options:

-k, --size INTEGER Plot size [default: 32]

--override-kForce size smaller than 32 [default: False]

-n, --num INTEGER Number of plots or challenges [default: 1]

-b, --buffer INTEGERMegabytes for sort/plot buffer [default:

3389]

-r, --num_threads INTEGER Number of threads to use [default: 2]

-u, --buckets INTEGERNumber of buckets [default: 128]

-a, --alt_fingerprint INTEGER Enter the alternative fingerprint of the key

you want to use

-c, --pool_contract_address TEXT

Address of where the pool reward will be

sent to. Only used if alt_fingerprint and

pool public key are None

-f, --farmer_public_key TEXT Hex farmer public key

-p, --pool_public_key TEXT Hex public key of pool

-t, --tmp_dir PATH Temporary directory for plotting files

[default: .]

-2, --tmp2_dir PATH Second temporary directory for plotting

files

-d, --final_dir PATHFinal directory for plots (relative or

absolute) [default: .]

-i, --plotid TEXT PlotID in hex for reproducing plots

(debugging only)

-m, --memo TEXT Memo in hex for reproducing plots (debugging

only)

-e, --nobitfield Disable bitfield

-x, --exclude_final_dirSkips adding [final dir] to harvester for

farming

-h, --help Show this message and exit.

p盘可以一次多个哦,考虑下自己的缓存硬盘空间

够不够,内存够不够。32g内存可以考虑7p。需要2t ssd。cpu肯定是 7*2 核心以上了。

欢迎感兴趣的朋友交流。

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。