File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -4333,6 +4333,9 @@ impl AuthorityState {
43334333 Some ( res)
43344334 }
43354335
4336+ /// Returns the new protocol version and system packages that the network
4337+ /// has voted to upgrade to. If the proposed protocol version is not
4338+ /// supported, None is returned.
43364339 fn is_protocol_version_supported_v1 (
43374340 current_protocol_version : ProtocolVersion ,
43384341 proposed_protocol_version : ProtocolVersion ,
@@ -4422,6 +4425,9 @@ impl AuthorityState {
44224425 } )
44234426 }
44244427
4428+ /// Selects the highest supported protocol version and system packages that
4429+ /// the network has voted to upgrade to. If no upgrade is supported,
4430+ /// returns the current protocol version and system packages.
44254431 fn choose_protocol_version_and_system_packages_v1 (
44264432 current_protocol_version : ProtocolVersion ,
44274433 protocol_config : & ProtocolConfig ,
You can’t perform that action at this time.
0 commit comments