From 7efb942a968dd99c228f7283b6c8b6905df6a039 Mon Sep 17 00:00:00 2001 From: moneromooo Date: Sun, 28 Dec 2014 10:27:31 +0000 Subject: [PATCH] s/bitmonerod/daemon/ --- tipbot.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tipbot.py b/tipbot.py index 384ab98..ff8c74c 100644 --- a/tipbot.py +++ b/tipbot.py @@ -44,8 +44,8 @@ irc_timeout_seconds = 600 redis_host="127.0.0.1" redis_port=7777 -bitmonerod_host = 'testfull.monero.cc' # '127.0.0.1' -bitmonerod_port = 28081 # 6060 +daemon_host = 'testfull.monero.cc' # '127.0.0.1' +daemon_port = 28081 # 6060 wallet_host = '127.0.0.1' wallet_port = 6061 wallet_update_time = 30 # seconds @@ -670,16 +670,16 @@ def SendHTMLCommand(host,port,method): def SendWalletJSONRPCCommand(method,params): return SendJSONRPCCommand(wallet_host,wallet_port,method,params) -def SendBitmonerodJSONRPCCommand(method,params): - return SendJSONRPCCommand(bitmonerod_host,bitmonerod_port,method,params) +def SendDaemonJSONRPCCommand(method,params): + return SendJSONRPCCommand(daemon_host,daemon_port,method,params) -def SendBitmonerodHTMLCommand(method): - return SendHTMLCommand(bitmonerod_host,bitmonerod_port,method) +def SendDaemonHTMLCommand(method): + return SendHTMLCommand(daemon_host,daemon_port,method) def GetHeight(nick,data): log_info('GetHeight: %s wants to know block height' % nick) try: - j = SendBitmonerodHTMLCommand("getheight") + j = SendDaemonHTMLCommand("getheight") except Exception,e: log_error('GetHeight: error: %s' % str(e)) SendTo(nick,"An error has occured")