Post
Topic
Board Altcoin Discussion
Re: *** Official: masterchain.info testing thread
by
fthoughts
on 23/01/2014, 19:12:27 UTC
Is /wallet/send /wallet/pushtx and wallet/* implemented somewhere? I'm unable to locate the server code that handles these POST requests. Thanks Graz

edit with reply from Grazcoin:

Quote
oh. server.py is *very* old code. It was the development server on the
first few days of development (last timestamp early October), and it is
deprecated. I will remove to avoid further mistakes.
I simply use nginx.

The web apps you can find on:
https://github.com/grazcoin/mastercoin-tools/tree/master/apps
currently there are 4 active apps:
/wallet/validateaddr which runs validateaddr.py
/wallet/send which runs send.py
/wallet/sell which runs sell.py
/wallet/accept which runs accept.py

The way to use those apps - check:

for validateaddr:
https://github.com/grazcoin/mastercoin-tools/blob/master/www/sendform.js#L105

for send:
https://github.com/grazcoin/mastercoin-tools/blob/master/www/sendform.js#L268


Graz I'm then wondering, is there no reason to run server.py? Which .py file handles GET requests then?