stratum-mining-litecoin
stratum-mining-litecoin copied to clipboard
Remote blocknotify scripts result in RPC call not allowed from your IP.
Hi,
I have a central db/wallet server that runs blocknotify scripts to notify the remote stratum servers of new blocks but i receive the following errors.
"blocknotify: Error during request: RPC call not allowed from your IP"
Any suggestions appreciated.
Nut
Found the code in here, just commenting it out fixes it or editing to put your IP's in there...
/usr/local/lib/python2.7/dist-packages/stratum-0.2.12-py2.7.egg/stratum/services.py
Seems to ignore the settings in the configs but been too busy to work it out why.
add this to your config file:
ADMIN_RESTRICT_INTERFACE = None
removed the limitation in my version i'll upload it soon, just a side warning to u guys vardiff is even more flawed than originally thought from what i heard i'll get back to u when i've found out more about it