watercompany / chiapos

Chia Proof of Space library
Apache License 2.0
4 stars 4 forks source link

Document Starting Docker For Testing in Readme.md #18

Open SkycoinSynth opened 3 years ago

SkycoinSynth commented 3 years ago
docker pull debian
docker run -it debian /bin/bash

apt-get update
apt-get install -y ssh git gcc cmake
git clone https://github.com/skycoinsynth/chiapos
cd chiapos

mkdir -p build && cd build
cmake ../
cmake --build . -- -j 6

./ProofOfSpace -k 21 -f "plot.dat" -i "7e1392f6b7a2d113f8fb685a7409c81211748c335e87decf348a4345e07dcb2b" create

md5sum ./plot.dat
4c881491d57d0b8817302cb6ce23ff52 ./plot.dat

The target output should be "4c881491d57d0b8817302cb6ce23ff52" and if not, there is an error.

Sameeranjoshi commented 3 years ago

Issue fixed, please close.

Sameeranjoshi commented 3 years ago

Close this