@@ -58,25 +58,34 @@ const (
58
58
ipcDeprecationMsg = "IPC API is deprecated"
59
59
keystoreDeprecationMsg = "keystore API is deprecated"
60
60
acceptedFrontierGossipDeprecationMsg = "push-based accepted frontier gossip is deprecated"
61
+ peerListPushGossipDeprecationMsg = "push-based peer list gossip is deprecated"
61
62
)
62
63
63
64
var (
64
65
// Deprecated key --> deprecation message (i.e. which key replaces it)
65
66
// TODO: deprecate "BootstrapIDsKey" and "BootstrapIPsKey"
66
- deprecatedKeys = map [string ]string {
67
- IpcAPIEnabledKey : ipcDeprecationMsg ,
68
- IpcsChainIDsKey : ipcDeprecationMsg ,
69
- IpcsPathKey : ipcDeprecationMsg ,
67
+ commitThresholdDeprecationMsg = fmt .Sprintf ("use --%s instead" , SnowCommitThresholdKey )
68
+ deprecatedKeys = map [string ]string {
69
+ IpcAPIEnabledKey : ipcDeprecationMsg ,
70
+ IpcsChainIDsKey : ipcDeprecationMsg ,
71
+ IpcsPathKey : ipcDeprecationMsg ,
72
+
70
73
KeystoreAPIEnabledKey : keystoreDeprecationMsg ,
74
+
71
75
ConsensusGossipAcceptedFrontierValidatorSizeKey : acceptedFrontierGossipDeprecationMsg ,
72
76
ConsensusGossipAcceptedFrontierNonValidatorSizeKey : acceptedFrontierGossipDeprecationMsg ,
73
77
ConsensusGossipAcceptedFrontierPeerSizeKey : acceptedFrontierGossipDeprecationMsg ,
74
78
ConsensusGossipOnAcceptValidatorSizeKey : acceptedFrontierGossipDeprecationMsg ,
75
79
ConsensusGossipOnAcceptNonValidatorSizeKey : acceptedFrontierGossipDeprecationMsg ,
76
80
ConsensusGossipOnAcceptPeerSizeKey : acceptedFrontierGossipDeprecationMsg ,
77
81
78
- SnowRogueCommitThresholdKey : fmt .Sprintf ("use --%s instead" , SnowCommitThresholdKey ),
79
- SnowVirtuousCommitThresholdKey : fmt .Sprintf ("use --%s instead" , SnowCommitThresholdKey ),
82
+ NetworkPeerListValidatorGossipSizeKey : peerListPushGossipDeprecationMsg ,
83
+ NetworkPeerListNonValidatorGossipSizeKey : peerListPushGossipDeprecationMsg ,
84
+ NetworkPeerListPeersGossipSizeKey : peerListPushGossipDeprecationMsg ,
85
+ NetworkPeerListGossipFreqKey : peerListPushGossipDeprecationMsg ,
86
+
87
+ SnowRogueCommitThresholdKey : commitThresholdDeprecationMsg ,
88
+ SnowVirtuousCommitThresholdKey : commitThresholdDeprecationMsg ,
80
89
}
81
90
82
91
errConflictingACPOpinion = errors .New ("supporting and objecting to the same ACP" )
0 commit comments