web3labs / crux

Data Privacy for Quorum Blockchains
https://www.web3labs.com
Apache License 2.0
52 stars 28 forks source link

Issue creating node #35

Open akshitababel opened 6 years ago

akshitababel commented 6 years ago

When I am trying to :
crux --url=http://127.0.0.1:9001/ --port=9001 --workdir=crux --publickeys=tm.pub --privatekeys=tm.key--othernodes=https://127.0.0.1:9001/ I am getting the following error: FATA[0000] Unable to load public key files: [crux/tm.pub], error: open crux/tm.pub: no such file or directory How to resolve this and where to get this file tm.pub and tm.key

Puneetha17 commented 6 years ago

You need to specify the public and private keys with which you want to start the Crux node.

They can be generated using crux --generate-keys tm and it generates 2 files, tm.pub(public key) and tm.key(private key).

And the Crux command checks for the keys in the workdir which is the working directory, where you can mentioned the folder of the generated public and private keys.

akshitababel commented 6 years ago

Thanks I sort that out. But when I am running this command: ./bin/crux --url=http://127.0.0.1:9001/ --port=9001 --workdir=crux --publickeys=tm.pub --privatekeys=tm.key--othernodes=https://127.0.0.1:9001/ This command is taking really a very long time to run. I am trying from last 12 hours but it is not giving any output, though it is not giving any error, it is just running and not giving any output.

Puneetha17 commented 6 years ago

There is no error means the Crux node is running completely fine. There is no output expected unless there is an error, when Crux logs the issue.