Remove multi-core POW support

master
Jonathan Warren 11 years ago
parent 884a4120d6
commit 55de3ad9c7

@ -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()

Loading…
Cancel
Save