Post
Topic
Board Mining (Altcoins)
Re: Need Help Solo Mining To My Fucking DigiByte Wallet! Somebody Please Help Me?
by
ReSl
on 09/06/2017, 18:52:59 UTC
Hi, use old wallet 4.0.3 as server or try to use new rpc auth!


We already had this discussion early on Telegram.
You need new rpcauth method!


https://github.com/digibyte/digibyte/tree/6.14.0/share/rpcuser



Quote
Gary Mckee, [25.03.17 16:06]
that branch is ahead of 5.4.2

Gary Mckee, [25.03.17 16:06]
rpcuser/rpcpassword should still work

twebit, [25.03.17 16:06]
the thing is I mine with the old deamon no problem but the new way of mining has changed something and rpcuser/rpcpassword doesn't work now

Gary Mckee, [25.03.17 16:06]
https://github.com/digibyte/digibyte/tree/6.14.0/share/rpcuser

Gary Mckee, [25.03.17 16:07]
so ./rpcuser user

Gary Mckee, [25.03.17 16:07]
will generate an auth for you to put in your digibyte.conf

twebit, [25.03.17 16:07]
I generated the .cookie file and put it in my config

twebit, [25.03.17 16:08]
already

twebit, [25.03.17 16:08]
rpcauth=_cookie_:numbers

Gary Mckee, [25.03.17 16:08]
whats your digibyte.conf look like

twebit, [25.03.17 16:09]
server=1
listen=1
deamon=1
algo=sha256d
rpcauth=__cookie__:thenumber

rpcpassword=thepw
rpcallowip=192.168.1.12/24
rpcport=14022
port=12024
maxconnections=10
addnode=46.4.66.6

Gary Mckee, [25.03.17 16:10]
what are you using for bfgminer password

Gary Mckee, [25.03.17 16:10]
should be no need for rpcpassword

Gary Mckee, [25.03.17 16:11]
if you have rpcauth

twebit, [25.03.17 16:11]
thepw (its a long number)

Gary Mckee, [25.03.17 16:11]
so if you run the script i linked before

Gary Mckee, [25.03.17 16:11]
the output is

Gary Mckee, [25.03.17 16:11]
String to be appended to digibyte.conf:
rpcauth=user:5958c94d2bfd7eca2db5cfd126fc7eb1$2b2b0f060afc89ce848d7a9a006eecbe4776e3271d533665e1504f3236ea20ef
Your password:
C-lqqs6x3gayJwBqPr_wxjAoQ3Gm82L45HQ6zN6l6d8=

Gary Mckee, [25.03.17 16:11]
rpcauth=user:5958c94d2bfd7eca2db5cfd126fc7eb1$2b2b0f060afc89ce848d7a9a006eecbe4776e3271d533665e1504f3236ea20ef

Gary Mckee, [25.03.17 16:11]
is what you would put in digibyte.conf

Gary Mckee, [25.03.17 16:11]
but

Gary Mckee, [25.03.17 16:11]
C-lqqs6x3gayJwBqPr_wxjAoQ3Gm82L45HQ6zN6l6d8=

Gary Mckee, [25.03.17 16:11]
is what you would use for bfgminer

twebit, [25.03.17 16:12]
oh no I copied it from the text file cookie eg; __cookie__:the long number

Gary Mckee, [25.03.17 16:12]
yeah that's probably why

Gary Mckee, [25.03.17 16:12]
try adding the rpcauth command i just posted into digibyte.conf

Gary Mckee, [25.03.17 16:13]
close/restart wallet

Gary Mckee, [25.03.17 16:13]
and use C-lqqs6x3gayJwBqPr_wxjAoQ3Gm82L45HQ6zN6l6d8= as your bfgminer password

twebit, [25.03.17 16:13]
ok so user:longnumber into the config ah ok and the pw for bfgminer OK I'll be back in 10 minutes while I startup again

Gary Mckee, [25.03.17 16:14]
also remove rpcpassword

twebit, [25.03.17 16:15]
what about the bfgminer user still the same I have digibyterpc as the user now

twebit, [25.03.17 16:15]
ok

Gary Mckee, [25.03.17 16:15]
user will be 'user'

twebit, [25.03.17 16:15]
ok

twebit, [25.03.17 16:21]
and then that same long number in my bfgminer for pw?

twebit, [25.03.17 16:22]
starting now will be 10 miutes

Gary Mckee, [25.03.17 16:22]
nah

Gary Mckee, [25.03.17 16:22]
gonna PM you

twebit, [25.03.17 16:22]
ok

Mike Jumbley, [25.03.17 16:50]
Don’t forget to document it all twe. 😊

twebit, [25.03.17 16:50]
I won't 😊