Move API code to api.py #609

Merged
Atheros1 merged 7 commits from master into master 2014-01-13 01:58:07 +01:00
2 changed files with 913 additions and 912 deletions
Showing only changes of commit 0b81e9b206 - Show all commits

View File

@ -2,7 +2,8 @@
# Copyright (c) 2012-2014 The Bitmessage developers # Copyright (c) 2012-2014 The Bitmessage developers
comment= """ comment= """
This is not what you run to run the Bitmessage API. Instead, enable daemon mode This is not what you run to run the Bitmessage API. Instead, enable the API
( https://bitmessage.org/wiki/API ) and optionally enable daemon mode
( https://bitmessage.org/wiki/Daemon ) then run bitmessagemain.py. ( https://bitmessage.org/wiki/Daemon ) then run bitmessagemain.py.
""" """

View File

@ -15,7 +15,7 @@ import singleton
import os import os
from SimpleXMLRPCServer import SimpleXMLRPCServer from SimpleXMLRPCServer import SimpleXMLRPCServer
from bitmessageapi import MySimpleXMLRPCRequestHandler from api import MySimpleXMLRPCRequestHandler
import shared import shared
from helper_sql import sqlQuery from helper_sql import sqlQuery