mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 10:15:31 +00:00
udp load test: store peer scrape_hash_indices as boxed slice
This commit is contained in:
parent
99791c7154
commit
55516956ca
2 changed files with 9 additions and 10 deletions
|
|
@ -7,7 +7,7 @@ use aquatic_udp_protocol::*;
|
|||
#[derive(PartialEq, Eq, Clone)]
|
||||
pub struct TorrentPeer {
|
||||
pub info_hash: InfoHash,
|
||||
pub scrape_hash_indeces: Vec<usize>,
|
||||
pub scrape_hash_indices: Box<[usize]>,
|
||||
pub connection_id: ConnectionId,
|
||||
pub peer_id: PeerId,
|
||||
pub port: Port,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue