mirror of
https://github.com/PeernetOfficial/core.git
synced 2026-07-17 02:47:51 +01:00
VirtualPacketConn: New Stats field maintained by caller. This allows insight into active transfers.
New FileTransferStats and BlockTransferStats structures.
This commit is contained in:
@@ -87,3 +87,8 @@ func (backend *Backend) firewallDetectIndicatorFile() {
|
||||
os.Remove(firewallIndicatorFile)
|
||||
}
|
||||
}
|
||||
|
||||
// List of all lite sessions
|
||||
func (backend *Backend) LiteSessions() (sessions []*protocol.LiteID) {
|
||||
return backend.networks.LiteRouter.All()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user