<commit_before>// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package version

// RPCVersion represents a version of the RPC protocol.
type RPCVersion uint32

const (
	// UnknownRPCVersion is used for Min/MaxRPCVersion in an Endpoint when
	// we don't know the relevant version numbers.  In this case the RPC
	// implementation will have to guess the correct values.
	UnknownRPCVersion RPCVersion = iota
	// Deprecated versions
	rpcVersion2
	rpcVersion3
	rpcDummyVersion3 // So that the numeric value of RPCVersion4 is 4
	rpcVersion4
	// TODO(ashankar): Unexport all versions except the last before release
	// RPCVersion5 uses the new security model (Principal and Blessings objects),
	// and sends discharges for third-party caveats on the server's blessings
	// during authentication.
	RPCVersion5

	// RPCVersion6 adds control channel encryption to RPCVersion5.
	RPCVersion6

	// RPCVersion7 uses concrete types for security.Discharge during VC
	// authentication.
	RPCVersion7
)<commit_msg>TBR: vom: enable separate vom type stream<commit_after>// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package version

// RPCVersion represents a version of the RPC protocol.
type RPCVersion uint32

const (
	// UnknownRPCVersion is used for Min/MaxRPCVersion in an Endpoint when
	// we don't know the relevant version numbers.  In this case the RPC
	// implementation will have to guess the correct values.
	UnknownRPCVersion RPCVersion = iota
	// Deprecated versions
	rpcVersion2
	rpcVersion3
	rpcDummyVersion3 // So that the numeric value of RPCVersion4 is 4
	rpcVersion4
	// TODO(ashankar): Unexport all versions except the last before release
	// RPCVersion5 uses the new security model (Principal and Blessings objects),
	// and sends discharges for third-party caveats on the server's blessings
	// during authentication.
	RPCVersion5

	// RPCVersion6 adds control channel encryption to RPCVersion5.
	RPCVersion6

	// RPCVersion7 uses concrete types for security.Discharge during VC
	// authentication.
	RPCVersion7

	// RPCVersion8 uses separate VOM type flow to share VOM types across all flows
	// in a VC.
	RPCVersion8
)
{'fraction_non_alphanumeric': 0.05289885738468049, 'fraction_numerical': 0.016927634363097757, 'mean_word_length': 3.8542094455852154, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5794582', 'n_tokens_mistral': 675, 'n_tokens_neox': 631, 'n_words': 301}