Inv messages monitore

Hi, how can looking to monitor inv messages?

I used in our system a inventory messages via bitcore-p2p follows ՝
pool.on(‘peerinv’, function(peer, message) {
message.inventory.forEach(function (inv) {
console.log(inv);
};
});
How I can get a same info in Your bitcore-node Services?
or how can I use bitcore-p2p, if I create my bitcoin node via bitcore-node?
thanks.

1 Like