dashevo / dashmate

DEPRECATED Distribution package for Dash Masternode installation
MIT License
11 stars 12 forks source link

evonet requires EXTERNAL_IP & CORE_MASTERNODE_BLS_PRIV_KEY env vars to start #8

Closed cloudwheels closed 4 years ago

cloudwheels commented 4 years ago

recreate error:

cp .env.evonet .env

docker-compose up

ERROR: Missing mandatory value for "command" option interpolating ['dashd', '-conf=/dashd.conf', '-datadir=/data', '-masternodeblsprivkey=${CORE_MASTERNODE_BLS_PRIV_KEY:?err}', '-externalip=${CORE_EXTERNAL_IP:?err}'] in service "core": err

issue: CORE_MASTERNODE_BLS_PRIV_KEY & CORE_EXTERNAL_IP need to be specified in .env file. CORE_EXTERNAL_IP : not a problem! CORE_MASTERNODE_BLS_PRIV_KEY & CORE_EXTERNAL_IP: requires masternode registration

thephez commented 4 years ago

It does not actually require mn registration. You can run bls generate on the CLI of any Dash Core node to get valid BLS keys (they are not stored in the Dash Core wallet of the node they are generated on, so any node will do).

shumkov commented 4 years ago

Maybe we need to provide some helper scripts?

shumkov commented 4 years ago

@cloudwheels You don't need to deal with env using "start" command.

cloudwheels commented 4 years ago

@shumkov great! So we can close this. Closing - no longer an issue due to release of CLI.