Removed unused imports from bitmessagemain

This commit is contained in:
Jordan Hall 2013-06-23 21:30:16 +01:00
parent 01e20177bc
commit 9925d55df2

View File

@ -22,32 +22,12 @@ alreadyAttemptedConnectionsList = {
numberOfObjectsThatWeHaveYetToCheckAndSeeWhetherWeAlreadyHavePerPeer = {} numberOfObjectsThatWeHaveYetToCheckAndSeeWhetherWeAlreadyHavePerPeer = {}
neededPubkeys = {} neededPubkeys = {}
import sys
import Queue
from addresses import *
import shared
from defaultKnownNodes import *
import time
import socket
import threading
import hashlib
from struct import *
import pickle
import random
import sqlite3
from time import strftime, localtime, gmtime
import string
import socks
import highlevelcrypto
from pyelliptic.openssl import OpenSSL
#import ctypes #import ctypes
import signal # Used to capture a Ctrl-C keypress so that Bitmessage can shutdown gracefully. import signal # Used to capture a Ctrl-C keypress so that Bitmessage can shutdown gracefully.
# The next 3 are used for the API # The next 3 are used for the API
from SimpleXMLRPCServer import * from SimpleXMLRPCServer import *
import json import json
from subprocess import call # used when the API must execute an outside program
import singleton import singleton
import proofofwork
# Classes # Classes
from class_sqlThread import * from class_sqlThread import *
@ -60,10 +40,6 @@ from class_addressGenerator import *
# Helper Functions # Helper Functions
import helper_startup import helper_startup
import helper_bootstrap import helper_bootstrap
import helper_inbox
import helper_sent
import helper_generic
import helper_bitcoin
def isInSqlInventory(hash): def isInSqlInventory(hash):
t = (hash,) t = (hash,)