mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-09 14:26:27 +00:00
b9d5d28af5
* chore: remove references to v2 * fix: lingering rln-relay import path
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
|