We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Peerstore does not implement report_disconnect method to adjust the reputation of peers when they disconnect.
report_disconnect
I am wondering what is the impact of not implementing this and if it may contain any side effects wrt connection stability.
polkadot-sdk/substrate/client/network/src/litep2p/peerstore.rs
Lines 190 to 192 in 1a701c9
In libp2p the reputation update happens on multiple code paths (disconnects / dial failures), via the protocol controller .dropped() calls:
.dropped()
polkadot-sdk/substrate/client/network/src/protocol/notifications/behaviour.rs
Line 1618 in 1a701c9
polkadot-sdk/substrate/client/network/src/protocol_controller.rs
Lines 454 to 456 in 1a701c9
cc @paritytech/networking
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Peerstore does not implement
report_disconnect
method to adjust the reputation of peers when they disconnect.I am wondering what is the impact of not implementing this and if it may contain any side effects wrt connection stability.
polkadot-sdk/substrate/client/network/src/litep2p/peerstore.rs
Lines 190 to 192 in 1a701c9
libp2p
In libp2p the reputation update happens on multiple code paths (disconnects / dial failures), via the protocol controller
.dropped()
calls:polkadot-sdk/substrate/client/network/src/protocol/notifications/behaviour.rs
Line 1618 in 1a701c9
polkadot-sdk/substrate/client/network/src/protocol_controller.rs
Lines 454 to 456 in 1a701c9
cc @paritytech/networking
The text was updated successfully, but these errors were encountered: