Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Containerized Chia Node

Features:

  • Fork of official Chia node
  • Includes madMAx plotter
  • Includes official chia PoS plot validator

Usage

Pulling the image

docker pull ghcr.io/xorde-nodes/chia-node:latest

Running

Quick start simple setup

docker run -d --name chia-node \
	ghcr.io/xorde-nodes/chia-node:latest

Node with external plots

Please replace /slow-disk/chia-plots with some path on a host server where you plan to keep chia plots

docker run -d --name chia-node \
    -v /{slow-disk}/chia-plots:/plots \
	ghcr.io/xorde-nodes/chia-node:latest

Update running node

docker pull ghcr.io/xorde-nodes/chia-node:latest
docker restart chia-node

Using madMAx plotter

1. Create RAM disk

Please note that you will need to re-create it after each reboot.

You need at least 128Gb RAM available for RAM drive to operate.

mkdir -p /tmp/ram-disk
sudo mount -t tmpfs -o size=110G tmpfs /tmp/ram-disk/

2. Run chia-node docker container

We need to run chia-node with all required disks mounted inside:

  • Slow persistent plot storage
  • Fast plotting disk
  • RAM disk
docker run -d --name chia-node \
    -v /{slow-disk}/chia-node/plots:/plots \
    -v /{fast-dist}/chia-node:/tmp/plots \
    -v /tmp/ram-disk:/tmp/ram-disk \
    -v chia-node-mainnet:/root/.chia/mainnet/ \
	ghcr.io/xorde-nodes/chia-node:latest

3. Run chia plot

Minimal run:

docker exec -it chia-node chia_plot \
  -n <plot-count> \
  -t /tmp/plots/ \
  -2 /tmp/ram-disk \
  -d /plots/ \
  -c <pool-contract-address> \
  -f <farmer-public-key> 
  • Plot count: use -1 for plotting indefinitely, plot size is roughly 100Gb, so you can calculate how many plots your storage can handle.
  • Pool contract address can be found with chia plotnft show in "Pool contract address" value
  • Farmer public key can be found with chia keys show in "Farmer public key" value

More info: https://github.com/madMAx43v3r/chia-plotter

Using Chia plot verifier

### TODO

More info: https://github.com/Chia-Network/chiapos

Troubleshooting

TODO

About

Dockerized Chia node with madMAx plotter and official chia PoS plot validator

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages