2020-05-01 12:43:25 +00:00
|
|
|
#
|
|
|
|
# Waku - Whisper Bridge
|
2021-07-16 21:13:04 +00:00
|
|
|
# (c) Copyright 2018-2021
|
2020-05-01 12:43:25 +00:00
|
|
|
# Status Research & Development GmbH
|
|
|
|
#
|
|
|
|
# Licensed under either of
|
|
|
|
# Apache License, version 2.0, (LICENSE-APACHEv2)
|
|
|
|
# MIT license (LICENSE-MIT)
|
|
|
|
#
|
|
|
|
|
2021-07-16 21:13:04 +00:00
|
|
|
{.push raises: [Defect].}
|
|
|
|
|
2020-05-01 12:43:25 +00:00
|
|
|
import
|
|
|
|
eth/p2p,
|
2021-07-19 08:14:37 +00:00
|
|
|
../../whisper/whisper_protocol,
|
2020-05-01 12:43:25 +00:00
|
|
|
./waku_protocol
|
|
|
|
|
|
|
|
proc shareMessageQueue*(node: EthereumNode) =
|
|
|
|
node.protocolState(Waku).queue = node.protocolState(Whisper).queue
|