Commit Graph

838 Commits (ced463bf232abe5f8b5109bddc31d3a421ee2f93)

Author SHA1 Message Date
Jonathan Warren 713ed89467 Bugfix: infinite loop if our max acceptable difficulty is too low 9 years ago
Jonathan Warren fdb0d1e776 Merge branch 'master' into ProtoV3 9 years ago
Jonathan Warren 61653bdc0d Revert "Catch the standard Unix SIGTERM kill signal and do a graceful shutdown" 9 years ago
Jonathan Warren e096c37f7e save debug.log in correct directory 9 years ago
Jonathan Warren b6e0396333 resolve minor merge conflict with master 9 years ago
Jonathan Warren 6e9f6d54d2 Merge pull request #709 from JonathanCoe/master
Catch the standard Unix SIGTERM kill signal and do a graceful shutdown
9 years ago
Jonathan Warren bcb05419db updated defaultKnownNodes 9 years ago
Jonathan Warren a480fd4f3d After upgrade period, also support old v2 addresses 9 years ago
Jonathan Warren 0865e863ec Added ability to limit network transfer rate 9 years ago
Michael Ford 6273ec6444 Increment version number to 0.4.3 9 years ago
Jonathan Warren c84cdecba4 Normalize the noncetrialsperbyte and payloadlengthextrabytes for each of the user's existing addresses 9 years ago
Benoît HERVIER 388bc6ba04 #708 : Use default locale encoding
Use locale endoding else this generate error in GU : as default time format can have non ascii char on non english locale, but using ascii in locale can generate UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 :

In PyBitmessage/src/bitmessageqt/__init__.py"
    l10n.formatTimestamp())

In PyBitmessage/src/l10n.py", line 81, in formatTimestamp
    return unicode(timestring, encoding)
9 years ago
Jonathan Warren 90800af729 very minor improvements to ProtoV3 9 years ago
Jonathan Warren c306062282 Bitmessage Protocol Version Three 9 years ago
JonathanCoe 3b42805efc Catch the standard Unix SIGTERM kill signal and do a graceful shutdown of PyBitmessage.
We already do this for the SIGINT kill signal. The change allows us to do a clean
shutdown of PyBitmessage when its process has been separated from the terminal.
9 years ago
bmng-dev 33800064c7 Update l10n to ensure decoding actually works
Fix for encoding issue in #706
9 years ago
bmng-dev 0a2fb54f78 Fix l10n.formatTimestamp so it accepts strings 9 years ago
bmng-dev 0d2c94f060 Fix l10n so getTranslationLanguage always returns a string 9 years ago
Jonathan Warren e58ac560de Merge pull request #701 from bmng-dev/Issue-#691
Fixes issue #691
9 years ago
Jonathan Warren ea6f34ade6 removed use of memoryview so that we can support python 2.7.3 9 years ago
bmng-dev 269506ff8f New localization module (l10n)
Resolves #691
9 years ago
Jonathan Warren d2f988e7ac Merge pull request #700 from Atheros1/master
increment version number to 0.4.3
9 years ago
Jonathan Warren 807f2fee8a increment version number to 0.4.3 9 years ago
Jonathan Warren 51d73f0eba Merge pull request #694 from antius/master
Change decodeBase58
9 years ago
Jonathan Warren 9e16e81283 resolve merge conflict and show transfer rate 9 years ago
Jonathan Warren 0820578452 Merge pull request #696 from bmng-dev/Issue-#689
Improve version check.
9 years ago
Jonathan Warren fbfbbf68b5 support pyelliptic's updated HMAC algorithm 9 years ago
bmng-dev 4430ed0cb5 Improve version check
Move version check so it is the very first thing we do.
Perform version check for all platforms
Ensure backwards and forwards compatibility
9 years ago
The Antius 6a68a0c8b6 Change decodeBase58 9 years ago
Jonathan Warren b41fb616ae ignore duplicate messages 9 years ago
Ruben de Vries c8bf3ccc63 moved the check for PyQt so that we don't need to install it when running -c 9 years ago
Jonathan Warren 82fd241450 Merge pull request #681 from sandakersmann/patch-1
Bug fix for bitmessage_no.ts
9 years ago
Jonathan Warren ce62294975 Merge pull request #679 from enikesha/htmlfix
Fix unicode handling in 'View HTML code as formated text'. Fixes #667
9 years ago
Jonathan Warren a2a7edc9be resolve merge conflict 9 years ago
Jonathan Warren 254bac6b32 minor change to 'addDataPadding' commit 9 years ago
Jonathan Warren f6bab3918c Merge pull request #668 from antius/master
Make addDataPadding method to avoid clutter.
9 years ago
Jonathan Warren e3124e1b2c Merge pull request #666 from piluke/master
Add a curses terminal interface as an alternative to QT
9 years ago
Yuri f05bcdb829 Made sent/received byte counts to be in human readable format. 9 years ago
Yuri f107b0fbd9 Addition of bytes received/sent counts on the network information tab. 9 years ago
sandakersmann bf7f58efd5 Bug fix for bitmessage_no.ts
Bug fix for bitmessage_no.ts ("nb" corrected to "no")
9 years ago
bmng-dev be5ab22d16 Fix name error 9 years ago
bmng-dev 1f9991bcd0 Fix syntax error 9 years ago
Innocenty Enikeew 51b9a59719 Optimizations and better newlines handling 9 years ago
Innocenty Enikeew c848d55462 Fix unicode handling in 'View HTML code as formated text'. Fixes #667 9 years ago
bmng-dev 97647f23a6 Refactor header generation
Modify generateFullAckMessage to use shared.CreatePacket
9 years ago
bmng-dev 1f75047223 Refactor generation of packet headers 9 years ago
bmng-dev 0f9625aac7 Refactor packet header extraction and generation
Demote payloadLength from class instance variable to processData local variable as no other function was using it
Improve processData:
 -Utilise shared.Header
 -Use a memoryview to reduce memory overhead
 -Clean up variables before a recursive call
 -Strip null bytes from command
Refactor sendData
Various functions:
 -Use shared.CreatePacket to generate packets
Fix typo in _checkIPv4Address
9 years ago
bmng-dev ccfbe8da47 Refactor handling of packet headers
Refactored ackDataHasAVaildHeader:
 -shared.Header is used as necessary
 -avoided slicing wherever possible
 -remove trailing null characters when comparing command strings
 -don't calculate the checksum of a large payload
9 years ago
bmng-dev 947f7655ab Refactor generation of packet headers
Added global variable Header - a compiled Struct to pack/unpack headers so as to avoid repeatedly compiling the same format string
Add a new method CreatePacket to simply and efficiently construct a packet that is ready to be sent
Modify assembleVersionMessage to use CreatePacket
9 years ago
bmng-dev 9b40838f25 Use pointMult instead of arithmetic.privtopub
pointMult is faster than the pure python arithmetic.privtopub

Additionally in makeCryptor the call to a.privtopub could have just simply be changed to call the local privToPub but then privkey would have been dehexified twice (once in makeCryptor, then again in privToPub) and privToPub would have hexified its result only for makeCryptor to immediately dehexify it. This sort of unnecessary hexifying/dehexifying seems to occur throughout PyBitmessage.
9 years ago