wkk -> waku rlpx based on discussion

This commit is contained in:
Oskar Thoren 2019-11-19 11:14:43 +08:00 committed by zah
parent 4be5382a15
commit b4638a5867
1 changed files with 2 additions and 2 deletions

View File

@ -522,7 +522,7 @@ proc initMessage*(env: Envelope, powCalc = true): Message =
proc hash*(msg: Message): hashes.Hash = hash(msg.hash.data)
proc allowed*(msg: Message, config: WakuConfig): bool =
# Check max msg size, already happens in RLPx but there is a specific wkk
# Check max msg size, already happens in RLPx but there is a specific waku
# max msg size which should always be < RLPx max msg size
if msg.size > config.maxMsgSize:
warn "Message size too large", size = msg.size
@ -748,7 +748,7 @@ proc initProtocolState*(network: WakuNetwork, node: EthereumNode) {.gcsafe.} =
asyncCheck node.run(network)
p2pProtocol Waku(version = wakuVersion,
rlpxName = "wkk",
rlpxName = "waku",
peerState = WakuPeer,
networkState = WakuNetwork):