mirror of https://github.com/waku-org/nwaku.git
14 lines
346 B
Nim
14 lines
346 B
Nim
type
|
|
PeerExchangePeerInfo* = object
|
|
enr*: seq[byte] # RLP encoded ENR: https://eips.ethereum.org/EIPS/eip-778
|
|
|
|
PeerExchangeRequest* = object
|
|
numPeers*: uint64
|
|
|
|
PeerExchangeResponse* = object
|
|
peerInfos*: seq[PeerExchangePeerInfo]
|
|
|
|
PeerExchangeRpc* = object
|
|
request*: PeerExchangeRequest
|
|
response*: PeerExchangeResponse
|