remove useless methods

This commit is contained in:
Dmitriy Ryajov 2019-09-02 21:14:09 -06:00
parent 4edd2c9f8a
commit 40e75a7635
1 changed files with 3 additions and 6 deletions

View File

@ -8,7 +8,9 @@
## those terms.
import chronos
import peerinfo, multiaddress, stream/lpstream, peerinfo, varint, vbuffer
import peerinfo, multiaddress,
stream/lpstream, peerinfo,
varint, vbuffer
const DefaultReadSize: uint = 64 * 1024
@ -103,11 +105,6 @@ proc writeLp*(s: Connection, msg: string | seq[byte]) {.async, gcsafe.} =
buf.finish()
result = s.write(buf.buffer)
method getPeerInfo*(c: Connection): Future[PeerInfo] {.base, async, gcsafe.} =
## get up to date peer info
## TODO: implement PeerInfo refresh over identify
discard
method getObservedAddrs*(c: Connection): Future[MultiAddress] {.base, async, gcsafe.} =
## get resolved multiaddresses for the connection
discard