aboutsummaryrefslogtreecommitdiffstats
path: root/src/peer.rs
blob: 5535b0914a57406594c86e295cf6265f2a622886 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//use errors::*;

// DatPeer
//  connection (thread?)
//  last_sent_ts
//  last_received_ts
//  has_messages
//  registers: vec? map?
//
// fn has(reg, u64)
// fn has_intersection(reg, bitfield)