63141d36c1
Add caching objects in a dict
2024-10-31 04:48:40 +02:00
735bd17982
Take into account pending objects in Inventory.cleanup()
2024-10-31 04:48:39 +02:00
a7716991f3
A rough implementation of the objects stored in sqlite db;
...
structure.Object was rewritten, to store the object data.
2024-10-31 04:46:20 +02:00
70f059d9b1
Removed unneeded objects validation in Manager.clean_objects()
Testing / default (push) Successful in 8m1s
2024-10-23 01:37:32 +03:00
ce8bef45b8
Reduce number of simultaneous bootstrappers, refill the bootstrap pool
2024-09-23 04:33:22 +03:00
05fcbdb45c
A rough implementation of proper bootstrapping:
...
added a Bootstrapper connection class, connect() and bootstrap() closures
in Manager.manage_connections(). The later is called while
shared.unchecked_node_pool is empty.
2024-09-23 04:28:33 +03:00
7719de5338
Define a static method network_group() in NetAddrNoPrefix
...
and use it in manager.
2024-06-25 19:55:28 +03:00
740654b563
Make tuples from sets before taking random samples
2024-05-07 19:15:36 +03:00
9bcaea12cf
Specifically skip B311 in manager by bandit
2023-10-14 01:06:31 +03:00
e4c2c1be16
Make load_data a static method in manager,
...
use ascii while loading nodes csv.
2023-10-14 01:06:31 +03:00
7812e4bbc2
Use shared.stream when assembling i2p_dest object instead of hardcoded 1
2023-10-12 19:49:32 +03:00
8755e56167
Replace Manager.clean_objects() by the extended version from main
...
and call it upon the Manager start.
2023-08-20 01:14:17 +03:00
e95f2b522a
Add basic docstrings
2023-07-30 03:45:59 +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
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
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
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
974568164f
Destination sharing tweaks
2017-07-03 09:23:02 +02:00
TheKysek
47fd7a4c44
First publish I2P destination earlier after start
2017-07-01 16:00:35 +02:00
TheKysek
057b25a812
I2P improvements
...
- local destination publishing
- destination gathering
2017-07-01 15:05:06 +02:00
TheKysek
918a926c88
I2P tweaks
2017-06-11 07:55:53 +02:00
TheKysek
1a3e340537
Experimental I2P support
2017-06-09 20:41:33 +02:00