handshake-org / hs-miner

Mining infrastructure for handshake
Other
74 stars 19 forks source link

Error: No addresses available for coinbase #3

Closed gavinmcdermott closed 6 years ago

gavinmcdermott commented 6 years ago

Hey folks,

So I have hskd running and now when firing up hsk-miner with the correct port, etc. I'm coming across the error in the photo below.

Starting miner...
Error: No addresses available for coinbase. -1
    at Miner.execute (/home/mining/hsk-miner/bin/miner.js:354:13)
    at <anonymous>
screen shot 2018-04-03 at 5 15 45 pm

Is there some init step I missed? Any pointers are appreciated :) Thank you in advance.

hschoenburg commented 6 years ago

Dont have the miner set up locally so i can't verify, but maybe try passing it

  --coinbase-address=ss1qnwxzkgfymaz84k7wwf8v009nuqjf90vx2zfmts

Similar to hnsd. https://github.com/handshakecompany/hnsd/wiki/Testing-HNSD

chjj commented 6 years ago

@hschoenburg that's right. You need to add a coinbase addr. Usually you'll want to grab one from your wallet ($ hwallet-cli account default get).

chjj commented 6 years ago

HSD handles this automatically now on boot. Closing.