Added genjix server which uses libbitcoin (python-bitcoin bindings) backend.
[electrum-server.git] / server-genjix.py
1 import stratum
2
3 class LibbitcoinProcessor(stratum.Processor):
4
5     def process(self, session):
6         request = session.pop_request()
7         print "New request (lib)", request
8         # Execute and when ready, you call
9         # session.push_response(response)
10
11 if __name__ == "__main__":
12     processor = LibbitcoinProcessor()
13     app = stratum.Stratum()
14     app.start(processor)
15