ValidatorCredentials
ValidatorCredentials
struct ValidatorCredentials
The credentials related fields associated with a validator.
init(authorityPubKey:networkPubKey:protocolPubKey:proofOfPossession:netAddress:p2pAddress:primaryAddress:)
init(authorityPubKey: Base64? = nil, networkPubKey: Base64? = nil, protocolPubKey: Base64? = nil, proofOfPossession: Base64? = nil, netAddress: String? = nil, p2pAddress: String? = nil, primaryAddress: String? = nil)
authorityPubKey
var authorityPubKey: Base64?
netAddress
var netAddress: String?
networkPubKey
var networkPubKey: Base64?
p2pAddress
var p2pAddress: String?
primaryAddress
var primaryAddress: String?
proofOfPossession
var proofOfPossession: Base64?
protocolPubKey
var protocolPubKey: Base64?
!=(_:_:)
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
Inequality is the inverse of equality. For any values a and b, a != b
implies that a == b is false.
This is the default implementation of the not-equal-to operator (!=)
for any type that conforms to Equatable.
- Parameters:
- lhs: A value to compare.
- rhs: Another value to compare.