mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-26 14:51:49 +00:00
refactor(protocols): decouple protocol rpc types from api types
This commit is contained in:
parent
e2a2ea6477
commit
39bf289f43
@ -24,7 +24,7 @@ import libp2p/[switch, # manage transports, a single entry poi
|
||||
nameresolving/dnsresolver]# define DNS resolution
|
||||
import
|
||||
../../waku/v2/protocol/waku_message,
|
||||
../../waku/v2/protocol/waku_lightpush,
|
||||
../../waku/v2/protocol/waku_lightpush/rpc,
|
||||
../../waku/v2/protocol/waku_filter,
|
||||
../../waku/v2/protocol/waku_store,
|
||||
../../waku/v2/node/[waku_node, waku_payload, waku_metrics],
|
||||
|
@ -28,6 +28,7 @@ import
|
||||
../../waku/v2/protocol/waku_store/rpc,
|
||||
../../waku/v2/protocol/waku_swap/waku_swap,
|
||||
../../waku/v2/protocol/waku_filter,
|
||||
../../waku/v2/protocol/waku_filter/rpc,
|
||||
../../waku/v2/protocol/waku_filter/client,
|
||||
../../waku/v2/utils/peers,
|
||||
../../waku/v2/utils/time,
|
||||
|
@ -15,6 +15,8 @@ import
|
||||
../../waku/v2/node/peer_manager/peer_manager,
|
||||
../../waku/v2/node/discv5/waku_discv5,
|
||||
../../waku/v2/protocol/waku_peer_exchange,
|
||||
../../waku/v2/protocol/waku_peer_exchange/rpc,
|
||||
../../waku/v2/protocol/waku_peer_exchange/rpc_codec,
|
||||
../test_helpers,
|
||||
./utils
|
||||
|
||||
|
@ -6,7 +6,7 @@ import
|
||||
json_rpc/[rpcclient, rpcserver],
|
||||
libp2p/protobuf/minprotobuf
|
||||
import
|
||||
../../waku/v2/protocol/waku_filter,
|
||||
../../waku/v2/protocol/waku_filter/rpc,
|
||||
../../waku/v2/protocol/waku_store/rpc,
|
||||
../../waku/v2/protocol/waku_message,
|
||||
../../waku/v2/utils/time,
|
||||
|
@ -10,6 +10,7 @@ import
|
||||
import
|
||||
../../protocol/waku_message,
|
||||
../../protocol/waku_filter,
|
||||
../../protocol/waku_filter/rpc,
|
||||
../../protocol/waku_filter/client,
|
||||
../waku_node,
|
||||
./jsonrpc_types
|
||||
|
@ -4,11 +4,7 @@ else:
|
||||
{.push raises: [].}
|
||||
|
||||
import
|
||||
./waku_filter/rpc,
|
||||
./waku_filter/rpc_codec,
|
||||
./waku_filter/protocol
|
||||
|
||||
export
|
||||
rpc,
|
||||
rpc_codec,
|
||||
protocol
|
||||
|
@ -1,9 +1,5 @@
|
||||
import
|
||||
./waku_lightpush/protocol,
|
||||
./waku_lightpush/rpc,
|
||||
./waku_lightpush/rpc_codec
|
||||
./waku_lightpush/protocol
|
||||
|
||||
export
|
||||
protocol,
|
||||
rpc,
|
||||
rpc_codec
|
||||
protocol
|
@ -4,10 +4,7 @@ else:
|
||||
{.push raises: [].}
|
||||
|
||||
import
|
||||
./waku_peer_exchange/rpc,
|
||||
./waku_peer_exchange/rpc_codec,
|
||||
./waku_peer_exchange/protocol
|
||||
|
||||
export
|
||||
rpc,
|
||||
rpc_codec,
|
||||
protocol
|
||||
|
Loading…
x
Reference in New Issue
Block a user