Can decode extended messages now
This commit is contained in:
parent
5f60f9e1b4
commit
e666f063ff
7 changed files with 248 additions and 23 deletions
|
|
@ -40,7 +40,7 @@ pub struct LivePeerState {
|
|||
impl LivePeerState {
|
||||
pub fn new(peer_id: [u8; 20]) -> Self {
|
||||
LivePeerState {
|
||||
peer_id: peer_id,
|
||||
peer_id,
|
||||
i_am_choked: true,
|
||||
peer_interested: false,
|
||||
bitfield: None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue