remove useless methods
This commit is contained in:
parent
4edd2c9f8a
commit
40e75a7635
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue