Canaan-Creative / avalon10-docs

Avalon 10 documents for developers.
12 stars 11 forks source link

setpool is not working as expected #2

Open x1unix opened 4 years ago

x1unix commented 4 years ago

Hello, looks like setpool command requires some additional arguments.

Provided command in example doesn't work:

> echo -n "ascset|0,setpool,root,root,stratum+tcp://btc.ss.poolin.com:443,cctrix001,123" | socat -t 30 stdio tcp:XXX.XXX.XXX.XXX:4028,shut-none && echo

STATUS=E,When=164745,Code=120,Msg=ASC 0 set failed: we need 6 arguments\, your input is 2 arguments.,Description=cgminer 4.11.1|

Adding some other arguments after pool password doesn't work also

byang14 commented 2 years ago

Any resolution on this? setpool still seems to be broken.

x1unix commented 2 years ago

@byang14 I found a workaround by managing pools by sending request to cgi-bin script /cgconf.cgi.

Also, you need to reboot miner to apply changes by sending ascset|0,reboot,0 payload to cgminer port.