File tree 3 files changed +15
-2
lines changed
substrate/client/network/src/litep2p
3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -830,7 +830,7 @@ linked-hash-map = { version = "0.5.4" }
830
830
linked_hash_set = { version = " 0.1.4" }
831
831
linregress = { version = " 0.5.1" }
832
832
lite-json = { version = " 0.2.0" , default-features = false }
833
- litep2p = { version = " 0.7 .0" , features = [" websocket" ] }
833
+ litep2p = { version = " 0.8 .0" , features = [" websocket" ] }
834
834
log = { version = " 0.4.22" , default-features = false }
835
835
macro_magic = { version = " 0.5.1" }
836
836
maplit = { version = " 1.0.2" }
Original file line number Diff line number Diff line change
1
+ title: Update litep2p network backend to version 0.8.0
2
+
3
+ doc:
4
+ - audience: [ Node Dev, Node Operator ]
5
+ description: |
6
+ Release 0.8.0 of litep2p includes several improvements and memory leak fixes enhancing the stability and performance of the litep2p network backend.
7
+
8
+ crates:
9
+ - name: sc-network
10
+ bump: patch
Original file line number Diff line number Diff line change @@ -562,7 +562,7 @@ impl Stream for Discovery {
562
562
563
563
return Poll :: Ready ( Some ( DiscoveryEvent :: GetRecordSuccess { query_id, records } ) ) ;
564
564
} ,
565
- Poll :: Ready ( Some ( KademliaEvent :: PutRecordSucess { query_id, key : _ } ) ) =>
565
+ Poll :: Ready ( Some ( KademliaEvent :: PutRecordSuccess { query_id, key : _ } ) ) =>
566
566
return Poll :: Ready ( Some ( DiscoveryEvent :: PutRecordSuccess { query_id } ) ) ,
567
567
Poll :: Ready ( Some ( KademliaEvent :: QueryFailed { query_id } ) ) => {
568
568
match this. find_node_query_id == Some ( query_id) {
@@ -585,6 +585,9 @@ impl Stream for Discovery {
585
585
586
586
return Poll :: Ready ( Some ( DiscoveryEvent :: IncomingRecord { record } ) )
587
587
} ,
588
+ // Content provider events are ignored for now.
589
+ Poll :: Ready ( Some ( KademliaEvent :: GetProvidersSuccess { .. } ) ) |
590
+ Poll :: Ready ( Some ( KademliaEvent :: IncomingProvider { .. } ) ) => { } ,
588
591
}
589
592
590
593
match Pin :: new ( & mut this. identify_event_stream ) . poll_next ( cx) {
You can’t perform that action at this time.
0 commit comments