mirror of https://github.com/waku-org/nwaku.git
18 lines
443 B
Nim
18 lines
443 B
Nim
#
|
|
# Waku - Whisper Bridge
|
|
# (c) Copyright 2019
|
|
# Status Research & Development GmbH
|
|
#
|
|
# Licensed under either of
|
|
# Apache License, version 2.0, (LICENSE-APACHEv2)
|
|
# MIT license (LICENSE-MIT)
|
|
#
|
|
|
|
import
|
|
eth/p2p,
|
|
eth/p2p/rlpx_protocols/whisper_protocol,
|
|
./waku_protocol
|
|
|
|
proc shareMessageQueue*(node: EthereumNode) =
|
|
node.protocolState(Waku).queue = node.protocolState(Whisper).queue
|