For connections in NetworkController, lastSeen (in peer info) contains time of last message got from a peer. In opposite, lastSeen in peer info in PeerDatabase implementation (InMemoryPeerDatabase) contains time when last connection with a peer was established (or 0 if never).
It makes sense to have two fields for these two different use cases.
For connections in NetworkController, lastSeen (in peer info) contains time of last message got from a peer. In opposite, lastSeen in peer info in PeerDatabase implementation (InMemoryPeerDatabase) contains time when last connection with a peer was established (or 0 if never).
It makes sense to have two fields for these two different use cases.