further appeasement

This commit is contained in:
whyrusleeping 2020-09-02 16:42:55 -07:00
parent 0e39d62c9d
commit da7fc8dbb3
2 changed files with 2 additions and 3 deletions

View File

@ -136,7 +136,7 @@ func init() {
}, },
}) })
addExample(map[string]metrics.Stats{ addExample(map[string]metrics.Stats{
"12D3KooWSXmXLJmBR1M7i9RW9GQPNUhZSzXKzxDHWtAgNuJAbyEJ": metrics.Stats{ "12D3KooWSXmXLJmBR1M7i9RW9GQPNUhZSzXKzxDHWtAgNuJAbyEJ": {
RateIn: 100, RateIn: 100,
RateOut: 50, RateOut: 50,
TotalIn: 174000, TotalIn: 174000,
@ -144,7 +144,7 @@ func init() {
}, },
}) })
addExample(map[protocol.ID]metrics.Stats{ addExample(map[protocol.ID]metrics.Stats{
"/fil/hello/1.0.0": metrics.Stats{ "/fil/hello/1.0.0": {
RateIn: 100, RateIn: 100,
RateOut: 50, RateOut: 50,
TotalIn: 174000, TotalIn: 174000,

1
go.mod
View File

@ -91,7 +91,6 @@ require (
github.com/libp2p/go-libp2p-mplex v0.2.4 github.com/libp2p/go-libp2p-mplex v0.2.4
github.com/libp2p/go-libp2p-noise v0.1.1 github.com/libp2p/go-libp2p-noise v0.1.1
github.com/libp2p/go-libp2p-peerstore v0.2.6 github.com/libp2p/go-libp2p-peerstore v0.2.6
github.com/libp2p/go-libp2p-protocol v0.1.0
github.com/libp2p/go-libp2p-pubsub v0.3.6-0.20200901174250-06a12f17b7de github.com/libp2p/go-libp2p-pubsub v0.3.6-0.20200901174250-06a12f17b7de
github.com/libp2p/go-libp2p-quic-transport v0.8.0 github.com/libp2p/go-libp2p-quic-transport v0.8.0
github.com/libp2p/go-libp2p-record v0.1.3 github.com/libp2p/go-libp2p-record v0.1.3