From 55de3ad9c7e695dd8d92f42af1b376c6c45f300a Mon Sep 17 00:00:00 2001 From: Jonathan Warren Date: Mon, 3 Jun 2013 23:38:10 -0400 Subject: [PATCH] Remove multi-core POW support --- src/bitmessagemain.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/bitmessagemain.py b/src/bitmessagemain.py index df36dfc1..c12be4d3 100755 --- a/src/bitmessagemain.py +++ b/src/bitmessagemain.py @@ -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()