git://git.novaco.in
/
electrum-server.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Abe module stub
[electrum-server.git]
/
modules
/
abe
/
__init__.py
1
import stratum
2
3
class AbeProcessor(stratum.Processor):
4
5
def __init__(self):
6
stratum.Processor.__init__(self)
7
8
def stop(self):
9
pass
10
11
def process(self, session):
12
request = session.pop_request()
13
print request
14
# session.push_response(response)
15
16
def run(stratum):
17
processor = AbeProcessor()
18
stratum.start(processor)
19