stratum-mining-litecoin icon indicating copy to clipboard operation
stratum-mining-litecoin copied to clipboard

Remote blocknotify scripts result in RPC call not allowed from your IP.

Open nutnut opened this issue 11 years ago • 3 comments

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

nutnut avatar Oct 15 '13 16:10 nutnut

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.

nutnut avatar Oct 21 '13 08:10 nutnut

add this to your config file:

ADMIN_RESTRICT_INTERFACE = None

feeleep75 avatar Oct 24 '13 05:10 feeleep75

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

ahmedbodi avatar Oct 27 '13 23:10 ahmedbodi