Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

v0.2.7

Compare
Choose a tag to compare
@raulk raulk released this 05 Jun 11:47
· 185 commits to master since this release
7ada4e5

This release incorporates interface change introduced in network.Conn and network.Stream by go-libp2p-core v0.6.0.

It adds an ID() string method to both structs:

  • Conn#ID() returns a string of format <peerid[0:10]>-<unique, incrementing ordinal>.
  • Stream#ID() returns a string of format <conn_id-<unique, incrementing ordinal>.

We now also record the opening timestamp of connections and streams under the network.Stat struct.