Remove multi-core POW support #188

Merged
Atheros1 merged 3 commits from master into master 2013-06-04 05:40:30 +02:00
Showing only changes of commit 55de3ad9c7 - Show all commits

View File

@ -47,7 +47,6 @@ import json
from subprocess import call #used when the API must execute an outside program
import singleton
import proofofwork
import multiprocessing.forking
#For each stream to which we connect, several outgoingSynSender threads will exist and will collectively create 8 connections with peers.
class outgoingSynSender(threading.Thread):
@ -3940,7 +3939,6 @@ if useVeryEasyProofOfWorkForTesting:
shared.networkDefaultProofOfWorkNonceTrialsPerByte = int(shared.networkDefaultProofOfWorkNonceTrialsPerByte / 16)
shared.networkDefaultPayloadLengthExtraBytes = int(shared.networkDefaultPayloadLengthExtraBytes / 7000)
if __name__ == "__main__":
# is the application already running? If yes then exit.
thisapp = singleton.singleinstance()