codechain
codechain copied to clipboard
Check --notify-work values are URLs on start
Currently, the below command works without any error or warning.
./codechain --notify-work 127.0.0.1:3333 ...
But actually, it should be like:
./codechain --notify-work http://127.0.0.1:3333 ...
Should this work in the http protocol? Or is it a matter of not specifying the protocol?
@hea9549 Just http is ok to me. :)
@joojis What's about stratum?
@sgkim126 Is it different? I'm not sure. It seems that string is only used for HTTP request.
@joojis As far as I remember, stratum uses TCP socket directly. But I'm not sure stratum support for notify-work is done.
@kseo Do you know the current status of it?
@sgkim126 You are right, stratum is used TCP socket for notify-work and submitting a solution. so '--notify-work' arg isn't related to stratum.