-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
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
Pull configuration values to ouroboros-network #4805
Comments
As of implementation it might be good idea to group all the |
There's possibly one more config value which goes into the |
Peer sharing configuration values than could be moved too, ref (it's a link to a PR currently in review). |
will do |
There are various default configuration values defined in different places. I suggest we provide:
module in
ouroboros-network
which provides them. Some of the defaults are defined inpncProtocolIdleTimeout
pncTimeWaitTimeout
pncAcceptedConnectionsLimit
pncTargetNumberOfRootPeers
pncTargetNumberOfKnownPeers
pncTargetNumberOfEstablishedPeers
pncTargetNumberOfActivePeers
pncTargetNumberOfKnownBigLedgerPeers
pncTargetNumberOfEstablishedBigLedgerPeers
pncTargetNumberOfActiveBigLedgerPeers
pncEnableP2P
pncPeerSharing
from
ouroboros-network
:Ouroboros.Network.NodeToNode.defaultMiniProtocolParameters
which is used inminiProtocolParameters
Ouroboros.Network.Diffusion.Policies
should be moved to the new module:deactivateTimeout
closeConnectionTimeout
peerMetricsConfiguration
from
ouroboros-consensus
:defaultBlockFetchConfiguration
stdChainSyncTimeout
The text was updated successfully, but these errors were encountered: