Create hash onions to be used by the forger.
Create hash onions to be used by the forger.
USAGE
$ lisk-core hash-onion
OPTIONS
-c, --count=count [default: 1000000] Total number of hashes to produce
-d, --distance=distance [default: 1000] Distance between each hash
-o, --output=output Output file path
--pretty Prints JSON in pretty format rather than condensed.
EXAMPLES
hash-onion --count=1000000 --distance=2000 --pretty
hash-onion --count=1000000 --distance=2000 --output ~/my_onion.json
See code: dist/commands/hash-onion.ts