Commit Graph

26 Commits

Author SHA1 Message Date
5bd3bd4711
Make addresses module available for testing with python3:
- remove import from debug
 - use divmod and bytes
2021-02-18 17:12:42 +02:00
c5b77a08fa
Moved addresses demo script into tests.test_crypto 2020-05-05 17:30:31 +03:00
lakshyacis
6f35da4096
Imported packages sequencing and formatting 2020-01-30 12:14:40 +05:30
lakshyacis
3211fca953
formatting and shorten line length 2020-01-22 15:55:26 +05:30
lakshyacis
b6a81f1252
Formatting and fix License 2020-01-15 16:17:26 +05:30
a7da0c0eff
Fixed google style docstrings in addresses 2019-11-18 13:34:00 +02:00
0967f03b40
addresses: raise varintEncodeError in encodeVarint()
instead of SystemExit (looks like a bug)
2019-11-11 12:03:04 +02:00
f2d3b69bf8
Removed another copy of unused convertIntToString() from addresses 2019-03-11 16:08:41 +02:00
coffeedogs
78ddb2f2f2
Changes based on style and lint checks. (final_code_quality_12) 2018-10-31 16:20:42 +00:00
d447db907c
Address operations: simplified the code a bit 2018-03-22 12:13:47 +02:00
006b98389b
Address operations: flake8 2018-03-22 12:13:47 +02:00
2cc4435cfc
Imports, typos, syntax errors
- remove obsolete imports
- add missing imports
- fix typos
- fix syntax errors
- thanks to landscape.io for report
2017-02-08 14:19:02 +01:00
mirrorwish
a7ec4c0555 Some preparations for python 3 2016-05-02 15:00:25 +02:00
mailchuck
231219a193 Improved logging
Fixes #118

- changed almost all "print" into logger
- threads have nicer names
- logger can have configuration in "logger.dat" in the same directory as
"keys.dat", and the logger will pick the one named "default" to replace
the "console" and "file" that are in PyBitmessage otherwise

Example file for logging to syslog:

[loggers]
keys = root,syslog

[logger_root]
level=NOTSET
handlers=syslog

[logger_syslog]
level=DEBUG
handlers=syslog
qualname=default

[handlers]
keys = syslog

[handler_syslog]
class = handlers.SysLogHandler
formatter = syslog
level = DEBUG
args=(('localhost', handlers.SYSLOG_UDP_PORT),
handlers.SysLogHandler.LOG_LOCAL7)

[formatters]
keys = syslog

[formatter_syslog]
format=%(asctime)s %(threadName)s %(filename)s@%(lineno)d %(message)s
datefmt=%b %d %H:%M:%S
2016-05-02 15:00:21 +02:00
Jonathan Warren
c84cdecba4 Normalize the noncetrialsperbyte and payloadlengthextrabytes for each of the user's existing addresses 2014-09-02 19:25:03 -04:00
Jonathan Warren
c306062282 Bitmessage Protocol Version Three 2014-08-27 03:14:32 -04:00
The Antius
6a68a0c8b6 Change decodeBase58 2014-07-27 03:31:45 +02:00
Jonathan Warren
4ec91b6ed0 modified addresses.decodeAddress so that API decodeAddress works properly 2013-10-25 19:57:06 -04:00
Jonathan Warren
56168e82b5 most initial work on v4 pubkeys completed 2013-09-13 00:27:34 -04:00
Adam Fontenot
f3e8ce3b82 Made changes suggested by nimdahk 2013-08-12 20:59:38 -05:00
Adam Fontenot
f6a07a374a Add backend ability to understand shorter addresses.
Introduces addresses version 4.
2013-08-12 18:13:28 -05:00
Jonathan Warren
0bc4712063 Continued daemon mode implementation 2013-05-02 11:53:54 -04:00
Jonathan Warren
9bac0b5311 First bit of code necessary for version 3 addresses 2013-04-24 15:48:46 -04:00
fuzzgun
0ca3f600cc Merge branch 'master' of https://github.com/Atheros1/PyBitmessage 2013-04-07 22:06:26 +01:00
fuzzgun
cb96f840a0 Merge branch 'master' of https://github.com/Atheros1/PyBitmessage 2013-04-05 23:13:20 +01:00
fuzzgun
b79d1e93f5 Debian packaging 2013-04-01 20:23:32 +01:00