chore(peer_manager): added peer_manager barrel module

This commit is contained in:
Lorenzo Delgado 2023-02-06 10:03:30 +01:00 committed by GitHub
parent e56dbd06d8
commit 8ba36e2dfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
34 changed files with 37 additions and 33 deletions

View File

@ -29,7 +29,7 @@ import
../../waku/v2/protocol/waku_store,
../../waku/v2/node/[waku_node, waku_payload, waku_metrics],
../../waku/v2/node/dnsdisc/waku_dnsdisc,
../../waku/v2/node/peer_manager/peer_manager,
../../waku/v2/node/peer_manager,
../../waku/v2/utils/[peers, time],
../../waku/common/utils/nat,
./config_chat2

View File

@ -28,7 +28,7 @@ import
../../waku/v2/utils/time,
../../waku/v2/protocol/waku_message,
../../waku/v2/node/waku_node,
../../waku/v2/node/peer_manager/peer_manager,
../../waku/v2/node/peer_manager,
../../waku/v2/node/jsonrpc/[debug_api,
filter_api,
relay_api,

View File

@ -25,7 +25,7 @@ import
../../waku/common/sqlite,
../../waku/common/utils/nat,
../../waku/common/logging,
../../waku/v2/node/peer_manager/peer_manager,
../../waku/v2/node/peer_manager,
../../waku/v2/node/peer_manager/peer_store/waku_peer_storage,
../../waku/v2/node/peer_manager/peer_store/migrations as peer_store_sqlite_migrations,
../../waku/v2/node/dnsdisc/waku_dnsdisc,

View File

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

View File

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

View File

@ -14,7 +14,7 @@ import
libp2p/protocols/pubsub/rpc/message
import
../../waku/v1/node/rpc/hexstrings,
../../waku/v2/node/peer_manager/peer_manager,
../../waku/v2/node/peer_manager,
../../waku/v2/node/waku_node,
../../waku/v2/node/jsonrpc/[store_api,
relay_api,

View File

@ -11,7 +11,7 @@ import
eth/keys,
discovery/dnsdisc/builder
import
../../waku/v2/node/peer_manager/peer_manager,
../../waku/v2/node/peer_manager,
../../waku/v2/node/dnsdisc/waku_dnsdisc,
../../waku/v2/node/waku_node,
../test_helpers

View File

@ -7,7 +7,7 @@ import
chronos,
libp2p/crypto/crypto
import
../../waku/v2/node/peer_manager/peer_manager,
../../waku/v2/node/peer_manager,
../../waku/v2/protocol/waku_message,
../../waku/v2/protocol/waku_filter,
../../waku/v2/protocol/waku_filter/client,

View File

@ -6,7 +6,7 @@ import
chronos,
libp2p/crypto/crypto
import
../../waku/v2/node/peer_manager/peer_manager,
../../waku/v2/node/peer_manager,
../../waku/v2/protocol/waku_message,
../../waku/v2/protocol/waku_lightpush,
../../waku/v2/protocol/waku_lightpush/client,

View File

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

View File

@ -16,7 +16,7 @@ import
libp2p/nameresolving/mockresolver
import
../../waku/v2/node/waku_node,
../../waku/v2/node/peer_manager/peer_manager,
../../waku/v2/node/peer_manager,
../../waku/v2/protocol/waku_message,
../../waku/v2/protocol/waku_relay,
../../waku/v2/utils/peers

View File

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

View File

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

View File

@ -17,7 +17,7 @@ import
libp2p/protocols/pubsub/gossipsub
import
../../waku/v2/protocol/waku_message,
../../waku/v2/node/peer_manager/peer_manager,
../../waku/v2/node/peer_manager,
../../waku/v2/utils/peers,
../../waku/v2/node/waku_node

View File

@ -7,7 +7,6 @@ import
libp2p/crypto/crypto
import
../../../waku/common/sqlite,
../../../waku/v2/node/peer_manager/peer_manager,
../../../waku/v2/protocol/waku_message,
../../../waku/v2/protocol/waku_archive/driver/sqlite_driver,
../../../waku/v2/protocol/waku_archive,

View File

@ -9,7 +9,7 @@ import
import
../../waku/common/sqlite,
../../waku/v2/node/message_store/sqlite_store,
../../waku/v2/node/peer_manager/peer_manager,
../../waku/v2/node/peer_manager,
../../waku/v2/protocol/waku_message,
../../waku/v2/protocol/waku_store,
./testlib/common,

View File

@ -7,7 +7,7 @@ import
chronicles,
libp2p/crypto/crypto
import
../../../waku/v2/node/peer_manager/peer_manager,
../../../waku/v2/node/peer_manager,
../../../waku/v2/protocol/waku_message,
../../../waku/v2/protocol/waku_store,
../../../waku/v2/protocol/waku_store/client,

View File

@ -14,7 +14,7 @@ import
libp2p/protocols/pubsub/gossipsub
import
../../../waku/common/sqlite,
../../../waku/v2/node/peer_manager/peer_manager,
../../../waku/v2/node/peer_manager,
../../../waku/v2/protocol/waku_message,
../../../waku/v2/protocol/waku_archive,
../../../waku/v2/protocol/waku_archive/driver/sqlite_driver,

View File

@ -22,7 +22,7 @@ import
../../waku/v2/node/discv5/waku_discv5,
../../apps/wakunode2/wakunode2,
../../waku/v2/node/dnsdisc/waku_dnsdisc,
../../waku/v2/node/peer_manager/peer_manager,
../../waku/v2/node/peer_manager,
../../waku/v2/node/waku_node,
../../waku/v2/utils/wakuenr,
../../waku/v2/protocol/waku_message,

View File

@ -10,7 +10,7 @@ import
libp2p/nameresolving/nameresolver,
libp2p/nameresolving/dnsresolver
import
../../waku/v2/node/peer_manager/peer_manager,
../../waku/v2/node/peer_manager,
../../waku/v2/utils/peers,
../../waku/v2/node/waku_node,
../../waku/v2/node/waku_payload,

View File

@ -13,7 +13,7 @@ import
../../protocol/waku_filter,
../../protocol/waku_relay,
../../protocol/waku_swap/waku_swap,
../peer_manager/peer_manager,
../peer_manager,
../waku_node,
./jsonrpc_types

View File

@ -12,7 +12,7 @@ import
../../protocol/waku_store/rpc,
../../utils/time,
../waku_node,
../peer_manager/peer_manager,
../peer_manager,
./jsonrpc_types,
./jsonrpc_utils

View File

@ -0,0 +1,5 @@
import
./peer_manager/peer_manager
export
peer_manager

View File

@ -12,7 +12,7 @@ import
import
../protocol/waku_filter/protocol_metrics as filter_metrics,
../utils/collector,
./peer_manager/peer_manager,
./peer_manager,
./waku_node
when defined(rln):

View File

@ -39,7 +39,7 @@ import
../utils/peers,
../utils/wakuenr,
../utils/time,
./peer_manager/peer_manager,
./peer_manager,
./dnsdisc/waku_dnsdisc,
./discv5/waku_discv5,
./wakuswitch

View File

@ -13,7 +13,7 @@ import
libp2p/protocols/protocol as libp2p_protocol
import
../waku_message,
../../node/peer_manager/peer_manager,
../../node/peer_manager,
../../utils/requests,
./rpc,
./rpc_codec,

View File

@ -9,7 +9,7 @@ import
libp2p/crypto/crypto
import
../waku_message,
../../node/peer_manager/peer_manager,
../../node/peer_manager,
./rpc,
./rpc_codec,
./protocol_metrics

View File

@ -11,7 +11,7 @@ import
metrics,
bearssl/rand
import
../../node/peer_manager/peer_manager,
../../node/peer_manager,
../../utils/requests,
../waku_message,
./protocol,

View File

@ -11,7 +11,7 @@ import
metrics,
bearssl/rand
import
../../node/peer_manager/peer_manager,
../../node/peer_manager,
../waku_message,
./rpc,
./rpc_codec,

View File

@ -8,7 +8,7 @@ import
libp2p/crypto/crypto,
eth/p2p/discoveryv5/enr
import
../../node/peer_manager/peer_manager,
../../node/peer_manager,
../../node/discv5/waku_discv5,
../waku_message,
../waku_relay,

View File

@ -11,7 +11,7 @@ import
metrics,
bearssl/rand
import
../../node/peer_manager/peer_manager,
../../node/peer_manager,
../../utils/requests,
../../utils/time,
../waku_message,

View File

@ -18,7 +18,7 @@ import
libp2p/stream/connection,
metrics
import
../../node/peer_manager/peer_manager,
../../node/peer_manager,
../../utils/time,
../waku_message,
./common,

View File

@ -43,7 +43,7 @@ import
libp2p/protocols/protocol,
libp2p/protobuf/minprotobuf,
libp2p/stream/connection,
../../node/peer_manager/peer_manager,
../../node/peer_manager,
./waku_swap_types,
../../../common/protobuf,
../../waku/v2/protocol/waku_swap/waku_swap_contracts

View File

@ -7,7 +7,7 @@ import
std/tables,
bearssl/rand,
libp2p/protocols/protocol,
../../node/peer_manager/peer_manager
../../node/peer_manager
const
MaxChequeSize* = 64*1024 # Used for read buffers. 64kB should be more than enough for swap cheque