nim-libp2p icon indicating copy to clipboard operation
nim-libp2p copied to clipboard

libp2p implementation in Nim

Results 155 nim-libp2p issues
Sort by recently updated
recently updated
newest added

This PR applies a behavior penalty to peers whose non-prio queue reaches the max limit configured, instead of the previous strategy of disconnecting the peer. A conservative penalty of `0.0001`...

- remove unnecessary `returnedEoF` field - don't set isEoF when the local peer half closes the stream - add more logs - add test that closes the stream for writing...

This PR tries to use a faster and non-secure number generation for tests. It currently doesn't work as the key generation hangs when calling the mock vtable. I don't know...

`nim-libp2p` provides non-usable multiaddresses via `switch.peerInfo`. This method is used in `nimbus-eth2` to report locally bound addresses to remote caller (Original issue is https://github.com/status-im/nimbus-eth2/issues/6060). But there should be a way...

Peer kept trying to graft during the backing-off period. It was thus penalized and received a very negative score. Both peers were Nimbus. See log below: DBG 2024-04-10 20:54:23.082+02:00 pruning...

Setting up a 3 node network (nodes A,B,C) and a single GS topic. When A is sending a message to B and C, these are then relayed between them, finally...

Experimental PR (for discussion only) 1) On receiving message/IDontWant, we send IMReceiving message to peers (these peers can defer sending same message to us for some time) 2) We send...

factored out from: https://github.com/vacp2p/nim-libp2p/pull/1092 * add some docs * add missing penalty for invalid messages * simplify code * remove unused gossipsub fields

This PR is more or less a rewrite of the TCP transport to fix several race conditions and leaks that can happen during startup / shutdown as well as spurious...

Add a line on small PRs to the contribute section of the README.