Relative Content

Tag Archive for node.jsp2pdecentralized-applicationslibp2p

libp2p share metadata in peer:discover event

The goal is to add a new metadata field available to all other peers during the peer:discovery event. I want to use peerStore.merge, but I can’t seem to get it to work correctly.
Has anyone experienced something similar or have any suggestions on how to resolve this issue? Any advice would be greatly appreciated also in other languages.. unfortunately, the library’s documentation is not very clear on these details