Commit Graph

204 Commits

Author SHA1 Message Date
6558245a32
Minimal implementation of anti-intersection delay to wait before getdata 2023-08-12 06:35:15 +03:00
1dfe98cf1f
Test shutting down minode --i2p if there is no running i2pd 2023-08-10 03:55:48 +03:00
e8dc62f08b
Allow shutting down while starting I2P listener 2023-08-10 03:52:16 +03:00
761c95d561
Fix SSLError in incoming connection with python 3.10 2023-08-04 00:27:38 +03:00
42995c5ca7
Check host and port of I2P connections 2023-08-02 23:02:21 +03:00
c6d0160001
Move s and state into the base 2023-08-02 05:23:33 +03:00
82c4062325
Inherit I2P classes from base util.I2PThread() 2023-08-02 05:23:33 +03:00
0584956d13
Install and start i2pd in buildbot 2023-08-02 05:23:33 +03:00
7113916347
Try to test with i2pd:
- TestProcessI2P runs minode with i2p args with _connection_limit = 4
 - TestProcess waits for connections _wait_time sec (120 for TestProcessI2P)
2023-08-02 05:23:33 +03:00
1d82774c96
Fix unused variable in test_process 2023-08-02 05:17:58 +03:00
5abaa94d42
Rename pylint section in tox.ini, suppress f-string suggestion for now 2023-08-02 05:11:59 +03:00
1a1db393c1
Fix some pylint warnings in the tests 2023-08-02 00:17:06 +03:00
5fc10563f6
Update command line dump 2023-07-30 03:46:04 +03:00
e95f2b522a
Add basic docstrings 2023-07-30 03:45:59 +03:00
5a4d6b686e
Replace contact and URLs 2023-07-28 00:11:30 +03:00
ae727a8327
Don't check for overlimit connections in test_process,
leaving the buggy logic as a separate function.
2023-01-23 02:37:04 +02:00
23769a8bf3
Fix logic in test_process 2023-01-22 23:57:46 +02:00
d145143e4b
Fix a mistake in Listener.run() 2022-09-23 08:44:55 +03:00
5462e990dc
Don't log FileNotFoundError while loading I2P destination private key 2022-09-23 08:16:49 +03:00
140e0139ef
Don't use exc_info if found that IPv6 is not supported while starting listener 2022-09-23 08:11:07 +03:00
313160aac5
Update tox config: add py310, use requirements in reset to avoid import error 2022-09-23 02:28:58 +03:00
1e14916355
Update buildbot Dockerfile to focal 2022-09-23 02:15:49 +03:00
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
60dc1b9d08
Lower connection limit on windows 2022-09-10 18:08:17 +03:00
b2722acdf7
Add some tests for message 2022-09-10 18:08:16 +03:00
4d67881576
Add some tests for structure 2022-09-10 18:07:45 +03:00
066557741b
Add minimal buildbot testing scenario 2022-05-01 18:12:22 +03:00
1602964b1c
Update tox.ini: adjust py envs for Ubuntu Bionic,
separate basic linting and lint depends.
2022-05-01 18:11:51 +03:00
a132556233
Change github test workflow: add coverage and bandit 2021-08-05 16:58:23 +03:00
737b529298
Add bandit linting to tox.ini 2021-08-05 16:58:23 +03:00
03d6361a3d
Disable pylint unused-argumet warning on the signal handler 2021-08-02 20:06:55 +03:00
a93c0f8417
Rename pow module to proofofwork 2021-08-02 20:06:50 +03:00
23d305bf15
Mark random.uniform() in manager for skipping by bandit 2021-08-02 19:48:15 +03:00
f5ea771ed6
Removed obsolete .travis.yml 2021-08-01 19:06:44 +03:00
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
4b0424807e
Fixed formatting pattern for addr in listener 2021-08-01 19:06:44 +03:00
c5096db0f5
Add linting to tox.ini:
use tox.ini as pylintrc, disable invalid-name warning
2021-08-01 18:53:07 +03:00
addc742832
Add status badge 2021-08-01 18:53:07 +03:00
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
385590a2f4
Don't install tests 2021-03-12 14:18:02 +02:00
20d2e919d9
Updated README: replaced URL and contact 2021-03-10 23:27:46 +02:00
e77f59154c
Bump version to 0.3.1 2021-03-09 19:40:22 +02:00
fc877d708c
Add tests requirements and tox.ini 2021-03-09 18:35:07 +02:00
070541922b
Add minimal process tests based on pybitmessage and a test script 2021-03-09 18:35:07 +02:00
7cd3269f16
Add simple Travis CI configuration 2021-03-09 18:35:07 +02:00
3fa84d1f4b
Formatted the code with flake8 2021-03-09 18:35:03 +02:00
66b0f43f08
Set executable flag on start.sh, use python3 -m in scripts 2021-03-09 18:31:23 +02:00
83c2e48fe5
Use dotted imports 2021-03-09 18:31:20 +02:00
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