rust-libp2p
rust-libp2p copied to clipboard
feat(kad): configurable bucket size
Description
Making bucket size configurable. Currently K_VALUE
is used by default, and the only way to change the bucket size is to edit the const.
Resolves https://github.com/libp2p/rust-libp2p/issues/5389
Change checklist
- [x] I have performed a self-review of my own code
- [x] I have made corresponding changes to the documentation
- [x] I have added tests that prove my fix is effective or that my feature works
- [x] A changelog entry has been made in the appropriate crates