mailchuck
cdaedaac0b
Unified code for finding source code location
...
It is already used in 3 places so I put it into a function
2015-11-13 12:26:02 +01:00
mailchuck
e5d6da2ec1
Fix Py2Exe / Py2App
...
Fixes the C PoW loading in frozen apps (Windows and OSX)
Cleaner fallback in PoW if something goes wrong
2015-11-09 17:15:27 +01:00
mailchuck
90db7c9ef1
Missing library fix
...
Missing library error wasn't handled correctly.
2015-11-08 11:44:34 +01:00
mailchuck
1721231484
C PoW updates
...
- move to subdirectory
- get rid of compile warnings on windows
- get number of threads from affinity (Windows, Linux) or core count
(BSD/OSX)
2015-11-07 18:40:13 +01:00
mailchuck
c0351fe42f
Support for PoW from an external library
...
This will attempt to include a PoW library (.so on Unix, .dll on
windows) to do PoW. This is done in a safe way and clean fallback to
normal PoW. The code for the library will be in another commit. The code
is take from https://github.com/bm-robertwhite/bitmessage-powfaster ,
with minor modifications.
This patch also includes code to make GPU PoW have a safer fallback.
2015-11-05 20:42:12 +01:00
mailchuck
4ab255d430
OpenCL Fixes
...
Still not fully working and hardcoded device number
2015-10-02 15:04:16 +02:00
mailchuck
42b63da7a2
Fix: UI
2015-09-30 10:22:41 +02:00
Peter Surda
9d7bec58d1
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
src/proofofwork.py
2015-06-20 09:58:08 +02:00
Peter Surda
b6a91ed4b3
Minor changes in cli, PoW, and a couple of new api calls.
2015-06-20 09:54:15 +02:00
Jonathan Warren
5b87bc26ec
Fix #758
2015-01-21 12:38:25 -05:00
3fd77ce214
Merge OpenCL code and make OpenCL auto-detectable
2015-01-19 18:39:02 +01:00
Jonathan Warren
c306062282
Bitmessage Protocol Version Three
2014-08-27 03:14:32 -04:00
Jonathan Warren
df7116bd72
on close, save objectProcessorQueue to disk
2013-12-02 01:35:34 -05:00
Grant T. Olson
5eba4e6442
Merge branch 'master' into Fast_PoW_unless_frozen
2013-08-29 11:42:10 -04:00
Grant T. Olson
bd489408c7
Actually OSX app maded with py2app can parallelize just fine
2013-08-23 16:10:57 -04:00
Grant T. Olson
a20213f1e8
Use fast PoW unless we're explicitly a frozen (binary) version of the code
2013-08-23 13:24:38 -04:00
Tim van Werkhoven
16ff6e883a
Use 'inf' as large value instead of 1e20
...
'inf' is always bigger than any number, 1e20 is not.
2013-08-20 10:43:30 +02:00
Jordan Hall
2eb6558cf1
Added a number of missing imports fixing several issues (thank you PyDev)
2013-06-23 20:52:39 +01:00
Jonathan Warren
9d7a869cb9
Prevent proofOfWork pool threads from returning any data if shut down before finished with a POW
2013-06-19 00:51:31 -04:00
Jonathan Warren
9ff2c9568f
adjust code formatting
2013-06-18 12:56:03 -04:00
Arceliar
30d829d0d4
Wait for PoW processes to exit before returning a result. Hopefully not needed.
2013-06-06 19:30:57 +02:00
Arceliar
7f4fee40fb
Removed an extraneous conditional import.
2013-06-05 23:29:40 +02:00
Arceliar
279f38ff97
Trying to enable multicore PoW with single core as a fallback when it's a problem.
2013-06-05 23:20:34 +02:00
Jonathan Warren
21559e09f1
Remove multi-core POW support
2013-06-03 23:14:24 -04:00
Jonathan Warren
32efdca33c
Emergency fix for 64-bit Windows systems
2013-06-03 20:41:39 -04:00
Jonathan Warren
433d55d351
Low priority POW threads
2013-06-03 01:04:22 -04:00
Jonathan Warren
a99e3d7780
Multi-core POW
2013-05-30 16:42:24 -04:00
Jonathan Warren
ad2457361f
Multi-core POW
2013-05-30 16:25:42 -04:00
Arceliar
42a446748d
Consistent use of i as an iterator.
2013-05-29 23:10:30 +02:00
Arceliar
128c6916af
Moved proof of work to child processes.
2013-05-29 22:01:12 +02:00