Commit Graph

182 Commits

Author SHA1 Message Date
Dmitri Bogomolov 30a8a32c92
Lower the level of most log messages, but add exc_info for some
- log info on disconnect, debug on disconnected locally
  - don't log connections failed because of obvious resons
2022-09-10 19:30:39 +03:00
Dmitri Bogomolov 60dc1b9d08
Lower connection limit on windows 2022-09-10 18:08:17 +03:00
Dmitri Bogomolov b2722acdf7
Add some tests for message 2022-09-10 18:08:16 +03:00
Dmitri Bogomolov 4d67881576
Add some tests for structure 2022-09-10 18:07:45 +03:00
Lee Miller 066557741b
Add minimal buildbot testing scenario 2022-05-01 18:12:22 +03:00
Lee Miller 1602964b1c
Update tox.ini: adjust py envs for Ubuntu Bionic,
separate basic linting and lint depends.
2022-05-01 18:11:51 +03:00
Dmitri Bogomolov a132556233
Change github test workflow: add coverage and bandit 2021-08-05 16:58:23 +03:00
Dmitri Bogomolov 737b529298
Add bandit linting to tox.ini 2021-08-05 16:58:23 +03:00
Dmitri Bogomolov 03d6361a3d
Disable pylint unused-argumet warning on the signal handler 2021-08-02 20:06:55 +03:00
Dmitri Bogomolov a93c0f8417
Rename pow module to proofofwork 2021-08-02 20:06:50 +03:00
Dmitri Bogomolov 23d305bf15
Mark random.uniform() in manager for skipping by bandit 2021-08-02 19:48:15 +03:00
Dmitri Bogomolov f5ea771ed6
Removed obsolete .travis.yml 2021-08-01 19:06:44 +03:00
Dmitri Bogomolov ba4bbd4129
Lint fixes:
- split the last long line in the connection module
  - resolved pylint useless-object-inheritance and unused-variable
2021-08-01 19:06:44 +03:00
Dmitri Bogomolov 4b0424807e
Fixed formatting pattern for addr in listener 2021-08-01 19:06:44 +03:00
Dmitri Bogomolov c5096db0f5
Add linting to tox.ini:
use tox.ini as pylintrc, disable invalid-name warning
2021-08-01 18:53:07 +03:00
Dmitri Bogomolov addc742832
Add status badge 2021-08-01 18:53:07 +03:00
Dmitri Bogomolov 334ce9dad8
Basic workflow for the blind tests + linting
flake8 errors on both passes on ubuntu-latest, python3.8,
pylintrc is tox.ini
2021-08-01 18:52:09 +03:00
Dmitri Bogomolov 385590a2f4
Don't install tests 2021-03-12 14:18:02 +02:00
Dmitri Bogomolov 20d2e919d9
Updated README: replaced URL and contact 2021-03-10 23:27:46 +02:00
Dmitri Bogomolov e77f59154c
Bump version to 0.3.1 2021-03-09 19:40:22 +02:00
Dmitri Bogomolov fc877d708c
Add tests requirements and tox.ini 2021-03-09 18:35:07 +02:00
Dmitri Bogomolov 070541922b
Add minimal process tests based on pybitmessage and a test script 2021-03-09 18:35:07 +02:00
Dmitri Bogomolov 7cd3269f16
Add simple Travis CI configuration 2021-03-09 18:35:07 +02:00
Dmitri Bogomolov 3fa84d1f4b
Formatted the code with flake8 2021-03-09 18:35:03 +02:00
Dmitri Bogomolov 66b0f43f08
Set executable flag on start.sh, use python3 -m in scripts 2021-03-09 18:31:23 +02:00
Dmitri Bogomolov 83c2e48fe5
Use dotted imports 2021-03-09 18:31:20 +02:00
Dmitri Bogomolov 6b63f8fbea
Added minimal setup script and MANIFEST.in for packaging 2021-03-09 18:25:32 +02:00
TheKysek f0f277f731
Add new I2P bootstrap nodes 2018-02-04 14:59:03 +01:00
TheKysek 2d2b7503d5
Bump version to 0.3.0 2017-08-23 19:30:09 +02:00
TheKysek e83fc0d838
Change logging messages 2017-08-23 19:03:13 +02:00
TheKysek 5e949d0e01
Validate objects loaded from disk 2017-08-23 18:51:33 +02:00
TheKysek 9c73986e2a
Reject objects with end of life set too far into the future 2017-08-23 18:35:48 +02:00
TheKysek 05d3b4244d
Retry connections to SAM bridge
Remove unnecessary debug logging
2017-08-23 18:29:07 +02:00
TheKysek b38d5f8054
Added a few more bootstrap nodes 2017-08-23 18:03:04 +02:00
TheKysek 6a78dd0490
Handle OSError exception during data sending 2017-08-21 11:21:45 +02:00
TheKysek f74cb829fc
Reject duplicate I2P connections and do not connect to ourselves 2017-07-30 09:26:16 +02:00
TheKysek 7ff7a16470
Do not publish transient I2P destinations 2017-07-23 20:58:00 +02:00
TheKysek 2085f01281
Code cleanup 2017-07-20 18:22:59 +02:00
TheKysek ae799c295c
Add an option to generate new I2P destination on every start 2017-07-20 16:12:32 +02:00
TheKysek b41606ad1f
Add a few I2P bootstrap nodes 2017-07-20 15:52:27 +02:00
TheKysek 593bae59cb
OpenSSL 1.1 support 2017-07-12 09:53:20 +02:00
TheKysek 708e2db22c
Do not advertise our IP address after incoming I2P connection 2017-07-12 09:12:18 +02:00
TheKysek ca5a489d2c
Do not crash when receiving an object we no longer need 2017-07-12 08:31:08 +02:00
TheKysek ef2b3bba0a
Do not re-request invalid objects 2017-07-11 13:04:51 +02:00
TheKysek df665813ac
Object requesting tweaks
- re-request objects after 10 minutes

- better spread object requests between dfferent peers
2017-07-11 12:49:14 +02:00
TheKysek 974568164f
Destination sharing tweaks 2017-07-03 09:23:02 +02:00
TheKysek 1d4d92c931
And again 2017-07-01 17:21:02 +02:00
TheKysek 912d5331b9
Python 3.4 fixes 2017-07-01 17:05:39 +02:00
TheKysek 57fffaafc0
Python 3.4 TLS fix 2017-07-01 16:50:08 +02:00
TheKysek 0b6bb7f932
POW tweaks 2017-07-01 16:14:31 +02:00