chore: pointed all waku node imports to the barrel import

This commit is contained in:
Lorenzo Delgado 2023-04-05 11:58:59 +02:00 committed by GitHub
parent 139428883f
commit e8448dfdbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
36 changed files with 39 additions and 39 deletions

View File

@ -29,7 +29,7 @@ import
../../waku/v2/protocol/waku_filter,
../../waku/v2/protocol/waku_store,
../../waku/v2/protocol/waku_dnsdisc,
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/node/waku_metrics,
../../waku/v2/node/peer_manager,
../../waku/v2/utils/compat,

View File

@ -15,7 +15,7 @@ import
libp2p/crypto/crypto,
libp2p/errors,
../../../waku/v2/protocol/waku_message,
../../../waku/v2/node/waku_node,
../../../waku/v2/waku_node,
../../../waku/v2/utils/peers,
../../../waku/v2/node/peer_manager,
../../waku/v2/protocol/waku_filter,

View File

@ -29,7 +29,7 @@ import
../../waku/v2/protocol/waku_store,
../../waku/v2/protocol/waku_filter,
../../waku/v2/node/message_cache,
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/node/peer_manager,
../../waku/v2/node/jsonrpc/debug/handlers as debug_api,
../../waku/v2/node/jsonrpc/filter/handlers as filter_api,

View File

@ -8,7 +8,7 @@ import
chronicles,
presto
import
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/node/rest/server,
../../waku/v2/node/rest/debug/handlers as debug_api,
../../waku/v2/node/rest/relay/handlers as relay_api,

View File

@ -9,7 +9,7 @@ import
json_rpc/rpcserver
import
../../waku/v2/node/message_cache,
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/node/jsonrpc/admin/handlers as admin_api,
../../waku/v2/node/jsonrpc/debug/handlers as debug_api,
../../waku/v2/node/jsonrpc/filter/handlers as filter_api,

View File

@ -12,7 +12,7 @@ import
import
../../../waku/common/logging,
../../../waku/v2/node/peer_manager,
../../../waku/v2/node/waku_node,
../../../waku/v2/waku_node,
../../../waku/v2/protocol/waku_message,
../../../waku/v2/protocol/waku_enr,
../../../waku/v2/protocol/waku_discv5,

View File

@ -12,7 +12,7 @@ import
import
../../../waku/common/logging,
../../../waku/v2/node/peer_manager,
../../../waku/v2/node/waku_node,
../../../waku/v2/waku_node,
../../../waku/v2/protocol/waku_message,
../../../waku/v2/protocol/waku_enr,
../../../waku/v2/protocol/waku_discv5

View File

@ -10,7 +10,7 @@ import
libp2p/crypto/crypto,
libp2p/protocols/pubsub/gossipsub
import
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/utils/peers,
./testlib/waku2

View File

@ -21,7 +21,7 @@ import
../../waku/common/sqlite,
../../waku/v2/node/peer_manager/peer_manager,
../../waku/v2/node/peer_manager/peer_store/waku_peer_storage,
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/protocol/waku_relay,
../../waku/v2/protocol/waku_store,
../../waku/v2/protocol/waku_filter,

View File

@ -11,7 +11,7 @@ import
import
../../waku/v2/node/peer_manager/peer_manager,
../../waku/v2/node/peer_manager/waku_peer_store,
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
./testlib/waku2

View File

@ -12,7 +12,7 @@ import
discovery/dnsdisc/builder
import
../../waku/v2/node/peer_manager,
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/protocol/waku_dnsdisc,
./testlib/common,
./testlib/waku2

View File

@ -12,7 +12,7 @@ import
libp2p/stream/connection,
libp2p/crypto/crypto
import
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/utils/peers,
./testlib/waku2

View File

@ -12,7 +12,7 @@ import
eth/keys,
eth/p2p/discoveryv5/enr
import
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/node/peer_manager,
../../waku/v2/protocol/waku_discv5,
../../waku/v2/protocol/waku_peer_exchange,

View File

@ -17,7 +17,7 @@ import
libp2p/nameresolving/mockresolver,
eth/p2p/discoveryv5/enr
import
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/node/peer_manager,
../../waku/v2/protocol/waku_message,
../../waku/v2/protocol/waku_relay,

View File

@ -8,7 +8,7 @@ import
libp2p/crypto/crypto
import
../../waku/v2/node/peer_manager,
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/protocol/waku_message,
../../waku/v2/utils/peers,
./testlib/common,

View File

@ -12,7 +12,7 @@ import
../../waku/v2/protocol/waku_lightpush,
../../waku/v2/node/peer_manager,
../../waku/v2/utils/peers,
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
./testlib/common,
./testlib/waku2

View File

@ -21,7 +21,7 @@ import
../../waku/v2/protocol/waku_message,
../../waku/v2/node/peer_manager,
../../waku/v2/utils/peers,
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/protocol/waku_relay,
../../waku/v2/protocol/waku_relay/validators,
../testlib/testutils,

View File

@ -14,7 +14,7 @@ import
libp2p/protocols/pubsub/pubsub,
eth/keys
import
../../../waku/v2/node/waku_node,
../../../waku/v2/waku_node,
../../../waku/v2/protocol/waku_message,
../../../waku/v2/protocol/waku_rln_relay,
../../../waku/v2/protocol/waku_keystore,

View File

@ -21,7 +21,7 @@ import
../../../waku/v2/protocol/waku_store,
../../../waku/v2/protocol/waku_filter,
../../../waku/v2/utils/peers,
../../../waku/v2/node/waku_node,
../../../waku/v2/waku_node,
../testlib/common,
../testlib/waku2

View File

@ -11,7 +11,7 @@ import
json_rpc/[rpcserver, rpcclient]
import
../../../waku/v2/node/peer_manager,
../../../waku/v2/node/waku_node,
../../../waku/v2/waku_node,
../../../waku/v2/node/jsonrpc/admin/handlers as admin_api,
../../../waku/v2/node/jsonrpc/admin/client as admin_api_client,
../../../waku/v2/protocol/waku_relay,

View File

@ -10,7 +10,7 @@ import
json_rpc/[rpcserver, rpcclient]
import
../../../waku/v2/node/peer_manager,
../../../waku/v2/node/waku_node,
../../../waku/v2/waku_node,
../../../waku/v2/node/jsonrpc/debug/handlers as debug_api,
../../../waku/v2/node/jsonrpc/debug/client as debug_api_client,
../testlib/waku2

View File

@ -9,7 +9,7 @@ import
json_rpc/[rpcserver, rpcclient]
import
../../../waku/v2/node/peer_manager,
../../../waku/v2/node/waku_node,
../../../waku/v2/waku_node,
../../../waku/v2/node/message_cache,
../../../waku/v2/node/jsonrpc/filter/handlers as filter_api,
../../../waku/v2/node/jsonrpc/filter/client as filter_api_client,

View File

@ -11,7 +11,7 @@ import
../../../waku/common/base64,
../../../waku/v2/node/peer_manager,
../../../waku/v2/node/message_cache,
../../../waku/v2/node/waku_node,
../../../waku/v2/waku_node,
../../../waku/v2/node/jsonrpc/relay/handlers as relay_api,
../../../waku/v2/node/jsonrpc/relay/client as relay_api_client,
../../../waku/v2/protocol/waku_message,

View File

@ -10,7 +10,7 @@ import
json_rpc/[rpcserver, rpcclient]
import
../../../waku/v2/node/peer_manager,
../../../waku/v2/node/waku_node,
../../../waku/v2/waku_node,
../../../waku/v2/node/jsonrpc/store/handlers as store_api,
../../../waku/v2/node/jsonrpc/store/client as store_api_client,
../../../waku/v2/protocol/waku_message,

View File

@ -9,7 +9,7 @@ import
libp2p/multiaddress,
libp2p/crypto/crypto
import
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/node/rest/server,
../../waku/v2/node/rest/client,
../../waku/v2/node/rest/responses,

View File

@ -9,7 +9,7 @@ import
libp2p/crypto/crypto
import
../../waku/common/base64,
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/node/rest/server,
../../waku/v2/node/rest/client,
../../waku/v2/node/rest/responses,

View File

@ -18,7 +18,7 @@ import
import
../../waku/v1/protocol/waku_protocol,
../../waku/v2/protocol/waku_message,
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/utils/compat,
../../waku/v2/utils/peers,
../test_helpers

View File

@ -21,7 +21,7 @@ import
import
../../apps/wakunode2/wakunode2,
../../waku/v2/node/peer_manager,
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/protocol/waku_message,
../../waku/v2/protocol/waku_enr,
../../waku/v2/protocol/waku_discv5,

View File

@ -6,7 +6,7 @@ import
system,
options
import
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/node/waku_payload,
../../waku/v2/node/jsonrpc/jsonrpc_types,
../../waku/v2/protocol/waku_filter,

View File

@ -6,7 +6,7 @@ import
system,
options
import
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/node/waku_payload,
../../waku/v2/node/jsonrpc/jsonrpc_types,
../../waku/v2/protocol/waku_filter,

View File

@ -6,7 +6,7 @@ import
system,
options
import
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/node/waku_payload,
../../waku/v2/node/jsonrpc/jsonrpc_types,
../../waku/v2/protocol/waku_filter,

View File

@ -5,7 +5,7 @@ import
system,
options
import
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/node/waku_payload,
../../waku/v2/node/jsonrpc/jsonrpc_types,
../../waku/v2/protocol/waku_filter,

View File

@ -6,7 +6,7 @@ import
system,
options
import
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/node/waku_payload,
../../waku/v2/node/jsonrpc/jsonrpc_types,
../../waku/v2/protocol/waku_filter,

View File

@ -1,7 +1,7 @@
import
std/[os, strutils, times, options], #options as what # TODO: Huh? Redefinition?
chronicles,
eth/common as eth_common,
chronicles,
eth/common as eth_common,
eth/keys,
json_rpc/[rpcclient, rpcserver],
libp2p/protobuf/minprotobuf
@ -10,10 +10,10 @@ import
../../waku/v2/protocol/waku_store/rpc,
../../waku/v2/protocol/waku_message,
../../waku/v2/utils/time,
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/node/waku_payload,
../../waku/v2/node/jsonrpc/[jsonrpc_types,jsonrpc_utils]
from strutils import rsplit
template sourceDir: string = currentSourcePath.rsplit(DirSep, 1)[0]

View File

@ -10,7 +10,7 @@ import
libp2p/nameresolving/dnsresolver
import
../../waku/v2/node/peer_manager,
../../waku/v2/node/waku_node,
../../waku/v2/waku_node,
../../waku/v2/utils/peers
# protocols and their tag

View File

@ -5,6 +5,6 @@
# - APACHEv2 ([LICENSE-APACHEv2](../LICENSE-APACHEv2) or https://www.apache.org/licenses/LICENSE-2.0)
## An implementation of the [Waku v1](https://specs.vac.dev/specs/waku/waku.html) and [Waku v2](https://specs.vac.dev/specs/waku/v2/waku-v2.html) in nim.
import v2/node/waku_node as wakunode2, v1/node/wakunode1
import v2/waku_node as wakunode2, v1/node/wakunode1
export wakunode2
export wakunode1