You are viewing a single comment's thread from:

RE: How to build and run a hive node - witness/seed/consensus and account history nodes

in HiveDevs2 years ago (edited)

@mahdiyari I am trying out your guide, though I seem to be hung up at the "Run cli_wallet in offline mode and generate a pair of keys" part.

When I run cli_wallet -o it comes back with unrecognised option.

Below is the full error:

cli_wallet -o terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::program_options::unknown_option> >' what(): unrecognised option '-o'

Sort:  
 2 years ago  

Can you run cli_wallet at all?

when I run it without the -o switch I get this:

Logging RPC to file: logs/rpc/rpc.log
Starting a new wallet
2849297ms main.cpp:170 main ] wdata.ws_server: ws://localhost:8090
0 exception: unspecified
Underlying Transport Error
{"message":"Underlying Transport Error"}
websocket.cpp:444 operator()

{"uri":"ws://localhost:8090"}
websocket.cpp:673 connect
 2 years ago  

I think the offline mode is added only in the master branch. You could build from master or just use a web wallet like https://hive.ausbit.dev/witness to setup the witness params. Also, https://hivetasks.com/key-generator can help generate a pair of keys.

I can rebuild from master, do I just follow the guide again but this time rerun git checkout v1.25.0 but with master at the end?

Or do I need to delete everything first, all the folders and files (except the blockchain).

 2 years ago  

I would say clone in another folder and build only cli_wallet. Yes, git checkout master should do it.