Commit Graph

12 Commits

Author SHA1 Message Date
8105453861
Implement decoding and connection to onion peer:
make a separate a bit controversial class structure.OnionPeer(),
having .from_object() and .to_object() instead of .from_bytes() etc.
2024-06-26 00:03:34 +03:00
ddf07fd506
Set object tag for object types supporting it 2023-10-12 19:50:18 +03:00
399fc6f21f
Improve structure.Object:
- use shared.stream instead of hardcoded 1;
  - reuse pow_initial_hash() in is_valid().
2023-10-12 19:49:31 +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
e83fc0d838
Change logging messages 2017-08-23 19:03:13 +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
057b25a812
I2P improvements
- local destination publishing

- destination gathering
2017-07-01 15:05:06 +02:00
TheKysek
1a3e340537
Experimental I2P support 2017-06-09 20:41:33 +02:00