Commit Graph

9 Commits

Author SHA1 Message Date
b806906af4
Add Error message class, handle fatal 2023-10-12 19:49:32 +03:00
3f61bd694b
Define a helper function to read a varint and trim payload 2023-10-12 19:49:32 +03:00
fda6ecfe01
Unify and improve message.Version:
- from_message() decoding method as in other messages;
  - support multiple streams and move stream check to connection;
  - use shared.stream instead of hardcoded 1;
  - replace values from shared with the instance attributes in to_bytes(),
    put conventional 1 as services of a remote host.
2023-10-12 19:49:32 +03:00
dd2b0b89af
Improve docstrings in message and structure and add more 2023-08-14 05:15:08 +03:00
e95f2b522a
Add basic docstrings 2023-07-30 03:45:59 +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
3fa84d1f4b
Formatted the code with flake8 2021-03-09 18:35:03 +02:00
83c2e48fe5
Use dotted imports 2021-03-09 18:31:20 +02:00
TheKysek
1a3e340537
Experimental I2P support 2017-06-09 20:41:33 +02:00