Skip to content

Commit

Permalink
chore: enable libp2p logs in relay
Browse files Browse the repository at this point in the history
  • Loading branch information
mkermani144 committed Jun 28, 2024
1 parent 2aa4234 commit 06c90c1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/scaling-large-messages/src/relay/relay.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
import { createRoseNetRelay } from '@rosen-bridge/rosenet-relay';

const node = await createRoseNetRelay({
logger: console,
logger: {
...console,
debug: () => {},
},
privateKey: process.env.PRIVATE_KEY!,
listen: {
host: '0.0.0.0',
port: Number(process.env.LISTEN_PORT),
},
whitelist: process.env.WHITELIST!.split(','),
maxReservations: 40,
debug: {
libp2pComponents: ['libp2p:*'],
},
});

node.start();

0 comments on commit 06c90c1

Please sign in to comment.