Update to go-libp2p v0.21-RC

This commit is contained in:
Marco Munizaga
2022-08-11 11:15:20 -07:00
parent 0b5e27d3de
commit 766d809f0c
5 changed files with 206 additions and 170 deletions
-6
View File
@@ -134,13 +134,7 @@ type NetStat struct {
}
type NetLimit struct {
Dynamic bool `json:",omitempty"`
// set if Dynamic is false
Memory int64 `json:",omitempty"`
// set if Dynamic is true
MemoryFraction float64 `json:",omitempty"`
MinMemory int64 `json:",omitempty"`
MaxMemory int64 `json:",omitempty"`
Streams, StreamsInbound, StreamsOutbound int
Conns, ConnsInbound, ConnsOutbound int