Commit Graph
10 Commits
Author SHA1 Message Date
chuan b9b157720d feat: implement BEP-51 InfoHash sampling and related metrics
- Added new metrics for BEP-51 InfoHash sampling in `metrics.md`.
- Enhanced logging in `main.rs` to include BEP-51 sampling statistics.
- Introduced new fields in `crawl_engine.rs` to manage sampling state.
- Implemented encoding for BEP-51 sampling queries in `krpc.rs`.
- Created a new module `sample_infohashes.rs` to handle BEP-51 sampling logic.
- Updated `peer_lookup.rs` to support requests for sampled InfoHashes.
- Modified `scheduler.rs` to send `PeerLookupRequest` instead of raw info hashes.
- Integrated BEP-51 sampling into the DHT server in `server.rs`.
- Added configuration options for BEP-51 sampling in `types.rs`.
- Updated runtime statistics to track BEP-51 sampling metrics in `runtime_stats.rs`.
2026-08-05 23:28:31 +08:00
桥下红药 7c79bff593 feat: 重构 DHT 爬取与可观测性 2026-07-19 15:26:04 +08:00
桥下红药 6e7c6f02e4 jni 2026-03-13 02:15:50 +08:00
桥下红药 2ab9103e5b 性能优化 2026-03-12 21:43:18 +08:00
桥下红药 d38cb835d4 优化部分语法警告 2026-01-18 17:33:29 +08:00
桥下红药 e89f814895 优化引入和文档 2026-01-18 17:00:10 +08:00
桥下红药 ab4247a6e8 update 2026-01-17 17:27:36 +08:00
桥下红药 eeb39cf7a0 update 2026-01-17 17:27:14 +08:00
桥下红药 192dad7519 update 2026-01-17 17:25:22 +08:00
桥下红药 c356926d69 Prepare for crates.io release v0.0.1 2026-01-16 19:46:51 +08:00