vdev mix knot.ensure_sanity
A task used to verify the runtime environment.
Use it like this:
mix knot.ensure_sanity
You should then see a bunch of hashes. Those are in fact blocks being mined using a very low difficulty. After mining 128 blocks on top of the genesis sample block, you should see a message saying something like this:
20:41:46.889 [info] All test passed.
This means that the 129th block in the chain has the expected properties and fields, and a node running on this machine would behave correctly.
Link to this section Summary
Link to this section Functions
A task needs to implement run
which receives
a list of command line args.
Callback implementation for Mix.Task.run/1
.