_setupEventListeners() {
		// Peer discovery event
		this.node.addEventListener('peer:discovery', (evt) => {
			const peer = evt.detail;
			if (this.debug) {
				logT('p2p', 'Discovered peer:', peer.id.toString());
			}
			this._attemptConnection(peer);
		});

		// Peer connection event
		this.node.addEventListener('peer:connect', async (evt) => {
			const peer = evt.detail;
			this._onConnect(peer);
		});

		// Peer disconnection event
		this.node.addEventListener('peer:disconnect', (evt) => {
			const peer = evt.detail;
			this._onDisconnect(peer);
		});

		// PubSub message event
		this.node.services.pubsub.addEventListener('message', this._handlePubSubMessage.bind(this));
	}
Set up event listeners for the libp2p node